Skip to content

Commit

Permalink
add read and buffer (not parse) for 1G
Browse files Browse the repository at this point in the history
  • Loading branch information
Innovimax committed Sep 30, 2015
1 parent 4ed17d1 commit e146fd8
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,23 @@ public void testAllXML50M() throws QuiXException, IOException {
assertTrue(true);
}

@Test
public void testAllXML1GNotParse() throws QuiXException, IOException {
for(Process process : EnumSet.of(Process.READ_BUFFER, Process.READ_BYTE)) {
testAll(process, 1, Unit.GBYTE);
}
assertTrue(true);
}

// @Test
// public void testAllXML1G() throws QuiXException {
// testAll(1, Unit.GBYTE);
// assertTrue(true);
// }

public static void main(String[] args) throws QuiXException, IOException {
for(Process process : Process.values()) {
testAll(process, 10, Unit.MBYTE);
}
for(Process process : EnumSet.of(Process.READ_BUFFER, Process.READ_BYTE)) {
testAll(process, 5, Unit.GBYTE);
}
}
}

0 comments on commit e146fd8

Please sign in to comment.