From: BobHanson Date: Thu, 28 May 2020 20:50:36 +0000 (-0500) Subject: removing impossible test for intvervalstore containing a string X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5ec4302f8446a533c9bc3e9f7544059da5011e63;p=jalview.git removing impossible test for intvervalstore containing a string --- diff --git a/libjs/intervalstore-site.zip b/libjs/intervalstore-site.zip index 60a44d3..a5851cd 100644 Binary files a/libjs/intervalstore-site.zip and b/libjs/intervalstore-site.zip differ diff --git a/test/intervalstore/nonc/IntervalStore0Test.java b/test/intervalstore/nonc/IntervalStore0Test.java index c2d7864..c096f52 100644 --- a/test/intervalstore/nonc/IntervalStore0Test.java +++ b/test/intervalstore/nonc/IntervalStore0Test.java @@ -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") diff --git a/test/intervalstore/nonc/IntervalStoreTest.java b/test/intervalstore/nonc/IntervalStoreTest.java index 2c4e14b..0bf96bb 100644 --- a/test/intervalstore/nonc/IntervalStoreTest.java +++ b/test/intervalstore/nonc/IntervalStoreTest.java @@ -198,14 +198,14 @@ public class IntervalStoreTest IntervalStore 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")