owlps/owlps-positioning/tests/configuration_test.hh

23 lines
507 B
C++

#include <cxxtest/TestSuite.h>
#include "configuration.hh"
class Configuration_test: public CxxTest::TestSuite
{
public:
void test_accessors(void)
{
// Non-configured values
TS_ASSERT(! Configuration::is_configured("miaou")) ;
TS_ASSERT(! Configuration::is_configured("ouaf")) ;
/*
* Due to the lack of direct variables_map manipulators, it is
* hard to manually add values in order to test them.
* Some other tests are done in userinterface_test.hh.
*/
}
} ;