Fix tests build
This commit is contained in:
parent
01216e4c19
commit
18e7bfc4b0
1 changed files with 5 additions and 5 deletions
|
@ -67,7 +67,7 @@ void OptionsTests::testLoadDefaultAircraft()
|
||||||
}
|
}
|
||||||
|
|
||||||
fgInitAircraftPaths(false);
|
fgInitAircraftPaths(false);
|
||||||
fgInitAircraft(false);
|
fgInitAircraft(false, false);
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft")});
|
CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft")});
|
||||||
CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft-id")});
|
CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft-id")});
|
||||||
|
@ -89,7 +89,7 @@ void OptionsTests::testOptionAircraftWithAircraftDir()
|
||||||
}
|
}
|
||||||
|
|
||||||
fgInitAircraftPaths(false);
|
fgInitAircraftPaths(false);
|
||||||
fgInitAircraft(false);
|
fgInitAircraft(false, false);
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")});
|
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")});
|
||||||
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")});
|
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")});
|
||||||
|
@ -111,7 +111,7 @@ void OptionsTests::testOptionAircraftWithFGAircraft()
|
||||||
}
|
}
|
||||||
|
|
||||||
fgInitAircraftPaths(false);
|
fgInitAircraftPaths(false);
|
||||||
fgInitAircraft(false);
|
fgInitAircraft(false, false);
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")});
|
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")});
|
||||||
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")});
|
CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")});
|
||||||
|
@ -136,7 +136,7 @@ void OptionsTests::testOptionAircraftUnqualified()
|
||||||
}
|
}
|
||||||
|
|
||||||
fgInitAircraftPaths(false);
|
fgInitAircraftPaths(false);
|
||||||
fgInitAircraft(false);
|
fgInitAircraft(false, false);
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")});
|
CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")});
|
||||||
CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")});
|
CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")});
|
||||||
|
@ -161,7 +161,7 @@ void OptionsTests::testOptionAircraftFullyQualified()
|
||||||
}
|
}
|
||||||
|
|
||||||
fgInitAircraftPaths(false);
|
fgInitAircraftPaths(false);
|
||||||
fgInitAircraft(false);
|
fgInitAircraft(false, false);
|
||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")});
|
CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")});
|
||||||
CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")});
|
CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")});
|
||||||
|
|
Loading…
Reference in a new issue