Skip to content

v0.2.53..v0.2.54 changeset BuildingPartMergeOpTest.cpp

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/ops/BuildingPartMergeOpTest.cpp b/hoot-core-test/src/test/cpp/hoot/core/ops/BuildingPartMergeOpTest.cpp
index 695ad2f..fb8e905 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/ops/BuildingPartMergeOpTest.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/ops/BuildingPartMergeOpTest.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2013, 2014, 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2013, 2014, 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 // Hoot
@@ -85,7 +85,7 @@ public:
     OsmXmlWriter writer;
     writer.write(map, _outputPath + "runToyTestOut.osm");
 
-    CPPUNIT_ASSERT_EQUAL(15L, uut.getNumAffected());
+    CPPUNIT_ASSERT_EQUAL(15L, uut.getNumFeaturesAffected());
     CPPUNIT_ASSERT_EQUAL(14, uut.getTotalBuildingGroupsProcessed());
     CPPUNIT_ASSERT_EQUAL(6, uut.getNumBuildingGroupsMerged());
     HOOT_FILE_EQUALS(_inputPath + "runToyTestOut.osm", _outputPath + "runToyTestOut.osm");
@@ -106,7 +106,7 @@ public:
     OsmXmlWriter writer;
     writer.write(map, _outputPath + "runToyMultithreadTestOut.osm");
 
-    CPPUNIT_ASSERT_EQUAL(15L, uut.getNumAffected());
+    CPPUNIT_ASSERT_EQUAL(15L, uut.getNumFeaturesAffected());
     CPPUNIT_ASSERT_EQUAL(14, uut.getTotalBuildingGroupsProcessed());
     CPPUNIT_ASSERT_EQUAL(6, uut.getNumBuildingGroupsMerged());
     HOOT_FILE_EQUALS(
@@ -136,7 +136,7 @@ public:
     OsmXmlWriter writer;
     writer.write(map, _outputPath + "runPreserveTypesTestOut.osm");
 
-    CPPUNIT_ASSERT_EQUAL(5L, uut.getNumAffected());
+    CPPUNIT_ASSERT_EQUAL(5L, uut.getNumFeaturesAffected());
     CPPUNIT_ASSERT_EQUAL(1, uut.getTotalBuildingGroupsProcessed());
     CPPUNIT_ASSERT_EQUAL(1, uut.getNumBuildingGroupsMerged());
     HOOT_FILE_EQUALS(
Clone this wiki locally