refs #386, further improvements on interpolation

* extended unit tests for interpolator / parts testing
* allow to skip sorting when splitting by time
* update ot aircraft to FSX in own member function
* Skip time sync parts (FSX) when disabled
This commit is contained in:
Klaus Basan
2015-03-03 00:45:38 +01:00
parent 5bad11dcca
commit f31445e873
18 changed files with 260 additions and 119 deletions

View File

@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
}
else if (i.startsWith("2"))
{
BlackSimTest::CSamplesFsx::samples(streamOut);
BlackSimTest::CSamplesFsx::samplesMisc(streamOut);
}
else if (i.startsWith("3"))
{

View File

@@ -20,7 +20,7 @@ namespace BlackSimTest
/*
* Samples
*/
int CSamplesFsx::samples(QTextStream &streamOut)
int CSamplesFsx::samplesMisc(QTextStream &streamOut)
{
BlackSim::registerMetadata();
streamOut << CSimConnectUtilities::simConnectExceptionToString(CSimConnectUtilities::SIMCONNECT_EXCEPTION_ALREADY_SUBSCRIBED) << endl;
@@ -29,4 +29,10 @@ namespace BlackSimTest
return 0;
}
int CSamplesFsx::driverTest(QTextStream &streamOut)
{
Q_UNUSED(streamOut);
return 0;
}
} // namespace

View File

@@ -20,8 +20,12 @@ namespace BlackSimTest
class CSamplesFsx
{
public:
//! Run the samples
static int samples(QTextStream &streamOut);
//! Run the misc. samples
static int samplesMisc(QTextStream &streamOut);
//! Driver test / SimConnect test
static int driverTest(QTextStream &streamOut);
};
} // namespace