remove 2 invalid tests of modified utf8 null byte

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731727 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-01-05 21:11:44 +00:00
parent c40a7d8397
commit 0b3705a012
1 changed files with 0 additions and 10 deletions

View File

@ -58,13 +58,6 @@ public class TestIndexInput extends LuceneTestCase {
// null bytes // null bytes
0x01, 0x00, 0x01, 0x00,
0x08, 'L', 'u', 0x00, 'c', 'e', 0x00, 'n', 'e', 0x08, 'L', 'u', 0x00, 'c', 'e', 0x00, 'n', 'e',
// Modified UTF-8 null bytes
0x02, (byte) 0xC0, (byte) 0x80,
0x0A, 'L', 'u', (byte) 0xC0, (byte) 0x80,
'c', 'e', (byte) 0xC0, (byte) 0x80,
'n', 'e',
}); });
assertEquals(128,is.readVInt()); assertEquals(128,is.readVInt());
@ -85,9 +78,6 @@ public class TestIndexInput extends LuceneTestCase {
assertEquals("\u0000",is.readString()); assertEquals("\u0000",is.readString());
assertEquals("Lu\u0000ce\u0000ne",is.readString()); assertEquals("Lu\u0000ce\u0000ne",is.readString());
assertEquals("\u0000",is.readString());
assertEquals("Lu\u0000ce\u0000ne",is.readString());
} }
/** /**