Commit Graph

9 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
ce25879be4 thermometer: Append version to Thermometer interfaces 2012-12-14 11:24:19 +02:00
Mikel Astiz
67dab2d2ae test: Avoid using Adapter.FindDevice()
The method is now deprecated and thus the replacement utility library
should be used in the test scripts.
2012-12-05 16:41:02 +02:00
Mikel Astiz
90e7850d95 test: Avoid using DefaultAdapter()
Call the utility library -which uses ObjectManager API- to avoid using
Manager.FindAdapter() and Manager.DefaultAdapter().
2012-12-05 16:39:34 +02:00
Johan Hedberg
ca2f14cd10 test: Check for correct interface in test-thermometer 2012-11-30 15:05:47 +02:00
Andrzej Kaczmarek
21589560a5 test: Update test-thermometer for DBus.Properties 2012-11-30 15:04:43 +02:00
Andrzej Kaczmarek
be551a275b thermometer: Update test script 2012-10-09 17:53:05 +02:00
Steve Langasek
ee56337e41 Update tests to be compatible with gi and python3
This patch makes the python tests source-compatible with python 3, while
leaving the interpreter at python 2 for now.

The tradeoff is that this source is no longer compatible with python
versions < 2.6, and requires gobject-introspection for the glib-based
tests.
2012-06-15 12:32:50 +03:00
Anderson Lizardo
dfa888e54f thermometer: Fix handling of missing Temperature Type
According to HTS 1.0 (Table 3.1, and Sections 3.1.1.4 and 3.2), the
Temperature Type Characteristic is optional. The only restriction is
that it shall not be present if the Temperature Type is non-static, for
which case the "Temperature Type" field shall be present on the
Temperature Measurement Characteristic value.

Given there is no default value specified when the Temperature Type is
static and unknown, the "Type" entry for MeasurementReceived() on the
Thermometer API was made optional.
2012-02-16 15:11:50 +02:00
Santiago Carot-Nemesio
2776a390de Add thermometer python test script 2011-11-22 14:29:22 +02:00