removing impossible test for intvervalstore containing a string
authorBobHanson <hansonr@stolaf.edu>
Thu, 28 May 2020 20:50:36 +0000 (15:50 -0500)
committerBobHanson <hansonr@stolaf.edu>
Thu, 28 May 2020 20:50:36 +0000 (15:50 -0500)
libjs/intervalstore-site.zip
test/intervalstore/nonc/IntervalStore0Test.java
test/intervalstore/nonc/IntervalStoreTest.java

index 60a44d3..a5851cd 100644 (file)
Binary files a/libjs/intervalstore-site.zip and b/libjs/intervalstore-site.zip differ
index c2d7864..c096f52 100644 (file)
@@ -199,13 +199,13 @@ public class IntervalStore0Test
     SimpleFeature sf1 = add(store, 10, 20);
     assertTrue(store.contains(sf1));
 
-    try
-    {
-      store.remove("what is this?");
-    } catch (ClassCastException e)
-    {
-      // expected;
-    }
+    // try
+    // {
+    // store.remove("what is this?");
+    // } catch (ClassCastException e)
+    // {
+    // // expected;
+    // }
     assertFalse(store.remove(null));
 
     /*
@@ -414,13 +414,13 @@ public class IntervalStore0Test
     assertTrue(store.contains(sf3));
 
     assertFalse(store.contains(null));
-    try
-    {
-      assertFalse(store.contains("junk"));
-    } catch (ClassCastException e)
-    {
-      // expected;
-    }
+    // try
+    // {
+    // assertFalse(store.contains("junk"));
+    // } catch (ClassCastException e)
+    // {
+    // // expected;
+    // }
   }
 
   @Test(groups = "Functional")
index 2c4e14b..0bf96bb 100644 (file)
@@ -198,14 +198,14 @@ public class IntervalStoreTest
     IntervalStore<SimpleFeature> store = new IntervalStore<>();
     SimpleFeature sf1 = add(store, 10, 20);
     assertTrue(store.contains(sf1));
-
-    try
-    {
-      store.remove("what is this?");
-    } catch (ClassCastException e)
-    {
-      // expected;
-    }
+    //
+    // try
+    // {
+    // store.remove("what is this?");
+    // } catch (ClassCastException e)
+    // {
+    // // expected;
+    // }
     assertFalse(store.remove(null));
 
     /*
@@ -414,13 +414,13 @@ public class IntervalStoreTest
     assertTrue(store.contains(sf3));
 
     assertFalse(store.contains(null));
-    try
-    {
-      assertFalse(store.contains("junk"));
-    } catch (ClassCastException e)
-    {
-      // expected;
-    }
+    // try
+    // {
+    // assertFalse(store.contains("junk"));
+    // } catch (ClassCastException e)
+    // {
+    // // expected;
+    // }
   }
 
   @Test(groups = "Functional")