Skip to content

v0.2.49..v0.2.50 changeset HasNameCriterionTest.cpp

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/criterion/HasNameCriterionTest.cpp b/hoot-core-test/src/test/cpp/hoot/core/criterion/HasNameCriterionTest.cpp
index 1ba43ea..785c2f0 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/criterion/HasNameCriterionTest.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/criterion/HasNameCriterionTest.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 // Hoot
@@ -51,6 +51,10 @@ public:
     NodePtr node2(new Node(Status::Unknown1, -1, geos::geom::Coordinate(0.0, 0.0), 15.0));
     node2->getTags().set("blah", "blah");
     CPPUNIT_ASSERT(!uut.isSatisfied(node2));
+
+    NodePtr node3(new Node(Status::Unknown1, -1, geos::geom::Coordinate(0.0, 0.0), 15.0));
+    node3->getTags().set("alt_name", "blah");
+    CPPUNIT_ASSERT(uut.isSatisfied(node3));
   }
 };
 
Clone this wiki locally