v0.2.52..v0.2.53 changeset ScriptMatchTest.cpp
Garret Voltz edited this page Feb 12, 2020
·
1 revision
diff --git a/hoot-js/src/test/cpp/hoot/js/conflate/matching/ScriptMatchTest.cpp b/hoot-js/src/test/cpp/hoot/js/conflate/matching/ScriptMatchTest.cpp
index a5ed7d8..1afcbfc 100644
--- a/hoot-js/src/test/cpp/hoot/js/conflate/matching/ScriptMatchTest.cpp
+++ b/hoot-js/src/test/cpp/hoot/js/conflate/matching/ScriptMatchTest.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
// Hoot
@@ -51,8 +51,8 @@ namespace hoot
class ScriptMatchTest : public HootTestFixture
{
CPPUNIT_TEST_SUITE(ScriptMatchTest);
- CPPUNIT_TEST(cacheTest);
CPPUNIT_TEST(conflictTest);
+ CPPUNIT_TEST(cacheTest);
CPPUNIT_TEST_SUITE_END();
public:
@@ -69,8 +69,7 @@ public:
conf().set(co.getUuidHelperRepeatableKey(), true);
conf().set(co.getReaderUseFileStatusKey(), true);
OsmMapPtr map(new OsmMap());
- OsmMapReaderFactory::read(map, _inputPath + "ScriptMatchTest.osm",
- true);
+ OsmMapReaderFactory::read(map, _inputPath + "ScriptMatchTest.osm", true);
MapProjector::projectToPlanar(map);
// create the test scenario in ScriptMatchTest
@@ -79,7 +78,7 @@ public:
std::shared_ptr<const MatchThreshold> mt(new MatchThreshold(0.6, 0.6, 0.6));
ScriptMatchCreator smc;
- smc.setArguments(QStringList() << "LineStringGenericTest.js");
+ smc.setArguments(QStringList() << "test/LineTest.js");
vector<ConstMatchPtr> matches;
smc.createMatches(map, matches, mt);
HOOT_STR_EQUALS(2, matches.size());