diff options
author | Narayan Kamath <narayan@google.com> | 2015-08-04 10:57:16 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-11-12 09:10:00 +0000 |
commit | 0decb3b3616f4a5507a136a20676bdaf9f351a83 (patch) | |
tree | aae3b7f54814ae5fd03a3c11d99224fc5242d30b /json | |
parent | 8c3d6c2907194ad4a63f6543701e7aed5ff29d6a (diff) |
Remove bogus test case from JSONObjectTest.
There's no guarantee that Selector.open() returns something that's
in the java namespace. It depends on the provider.
Change-Id: I4e4b020ad9ccde4071300f3222c9db87bc27ee73
Diffstat (limited to 'json')
-rw-r--r-- | json/src/test/java/org/json/JSONObjectTest.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/json/src/test/java/org/json/JSONObjectTest.java b/json/src/test/java/org/json/JSONObjectTest.java index e89db94544..1749b24126 100644 --- a/json/src/test/java/org/json/JSONObjectTest.java +++ b/json/src/test/java/org/json/JSONObjectTest.java @@ -981,7 +981,6 @@ public class JSONObjectTest extends TestCase { assertTrue(JSONObject.wrap(new HashMap<String, String>()) instanceof JSONObject); assertTrue(JSONObject.wrap(Double.valueOf(0)) instanceof Double); assertTrue(JSONObject.wrap("hello") instanceof String); - assertTrue(JSONObject.wrap(java.nio.channels.Selector.open()) instanceof String); } // https://code.google.com/p/android/issues/detail?id=55114 |