summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/tests/TestParseScript.cpp
blob: f445395780bba5f7dd8804a682d93a09b2207cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "TestParseScript.h"

#include "TestUtils.h"
#include "UpdateScript.h"

#include <iostream>
#include <algorithm>

void TestParseScript::testParse()
{
	UpdateScript script;

	script.parse("file_list.xml");

	TEST_COMPARE(script.isValid(),true);
}

int main(int,char**)
{
	TestList<TestParseScript> tests;
	tests.addTest(&TestParseScript::testParse);
	return TestUtils::runTest(tests);
}