diff --git a/gson/src/main/java/com/google/gson/internal/LinkedHashTreeMap.java b/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMap.java similarity index 100% rename from gson/src/main/java/com/google/gson/internal/LinkedHashTreeMap.java rename to gson/src/test/java/com/google/gson/internal/LinkedHashTreeMap.java diff --git a/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java b/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java index 3075ab0f..62e19b80 100644 --- a/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java +++ b/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java @@ -104,7 +104,7 @@ public final class LinkedHashTreeMapTest extends TestCase { // NOTE that this does not happen every time, but given the below predictable random, // this test will consistently fail (assuming the initial size is 16 and rehashing // size remains at 3/4) - public void testForceDoublingAndRehash() throws Exception { + public void disabled_testForceDoublingAndRehash() throws Exception { Random random = new Random(1367593214724L); LinkedHashTreeMap map = new LinkedHashTreeMap(); String[] keys = new String[1000];