30 #include <gtest/gtest.h> 35 TEST( Config, set_then_get )
47 EXPECT_EQ( aaa,
"1" );
50 TEST( Config, parse_floats )
64 TEST( Config, set_get_empty_value )
74 int main(
int argc,
char **argv){
75 testing::InitGoogleTest(&argc, argv);
76 return RUN_ALL_TESTS();
bool mapGetFloat(const QString &key, float *value_out) const
Convenience function for looking up a named float.
bool mapGetString(const QString &key, QString *value_out) const
Convenience function for looking up a named string.
void mapSetValue(const QString &key, QVariant value)
Set a named child to the given value.
Configuration data storage class.
int main(int argc, char **argv)
bool mapGetInt(const QString &key, int *value_out) const
Convenience function for looking up a named integer.
TEST(Config, set_then_get)