summaryrefslogtreecommitdiff
path: root/project2/sql/unittests/testCore.cpp
blob: 911eccbad2ff2976c405e2ef12aaa70156fdfb00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "testCore.h"
#include <testOptionsSource.h>
#include <definedDirs.h>

TestCore::TestCore() :
	testInt(43),
	testDouble(3.14),
	testString("Some C String"),
	testDateTime(boost::posix_time::from_time_t(time(NULL))),
	testInterval(boost::posix_time::time_duration(1, 2, 3))
{
	TestOptionsSource::LoadTestOptions({
			{ "common.datasourceRoot", (RootDir / "datasources").string() },
		});
}