mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Updater tests for path utils The updater now doesn't use splitpath on Windows (fixes problems with Windows XP) Fix up paths for the OSX updater - should now install the updates into the right place Fix translations install path - translation isntall and deploy should be fixed
24 lines
417 B
C++
24 lines
417 B
C++
#include "TestParseScript.h"
|
|
|
|
#include "TestUtils.h"
|
|
#include "UpdateScript.h"
|
|
|
|
#include <iostream>
|
|
#include <algorithm>
|
|
|
|
void TestParseScript::testParse()
|
|
{
|
|
UpdateScript script;
|
|
|
|
script.parse("mmc_updater/src/tests/file_list.xml");
|
|
|
|
TEST_COMPARE(script.isValid(),true);
|
|
}
|
|
|
|
int main(int,char**)
|
|
{
|
|
TestList<TestParseScript> tests;
|
|
tests.addTest(&TestParseScript::testParse);
|
|
return TestUtils::runTest(tests);
|
|
}
|
|
|