summaryrefslogtreecommitdiff
path: root/project2/sql/unittests/testCore.cpp
blob: ce921c2cef8b7107dd2e2bc67ea4bc52f853c6da (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(1430530593)),
	testInterval(boost::posix_time::time_duration(1, 2, 3))
{
	TestOptionsSource::LoadTestOptions({
			{ "common.datasourceRoot", (RootDir / "datasources").string() },
		});
}