public class JsonPerformanceTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
print |
protected org.modeshape.schematic.internal.document.JsonReader |
reader |
| Constructor and Description |
|---|
JsonPerformanceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest() |
void |
beforeTest() |
static String |
getLargeTestData() |
static String |
getSmallTestData() |
void |
shouldReadLargeTestDocumentWithDateMatching() |
void |
shouldReadLargeTestDocumentWithoutDataMatchingUsingJsonSimple() |
void |
shouldReadLargeTestDocumentWithoutDateMatching() |
void |
shouldReadSmallTestDocumentToAndFromBson() |
void |
shouldReadSmallTestDocumentWithDateMatching() |
void |
shouldReadSmallTestDocumentWithoutDataMatchingUsingJsonSimple() |
void |
shouldReadSmallTestDocumentWithoutDateMatching() |
protected void |
testReadingJson(String testData,
int numberOfRuns,
boolean getValue,
boolean introspectStringValues) |
protected void |
testReadingJsonThenWritingBsonThenReadingBson(String testData,
int numberOfRuns,
boolean getValue,
boolean introspectStringValues) |
protected void |
testReadingJsonWithJsonSimple(String testData,
int numberOfRuns,
boolean getValue) |
protected org.modeshape.schematic.internal.document.JsonReader reader
protected boolean print
public JsonPerformanceTest()
public void beforeTest()
public void afterTest()
public void shouldReadLargeTestDocumentWithoutDateMatching() throws Exception
Exceptionpublic void shouldReadLargeTestDocumentWithDateMatching() throws Exception
Exceptionpublic void shouldReadLargeTestDocumentWithoutDataMatchingUsingJsonSimple() throws Exception
Exceptionpublic void shouldReadSmallTestDocumentWithoutDateMatching() throws Exception
Exceptionpublic void shouldReadSmallTestDocumentWithDateMatching() throws Exception
Exceptionpublic void shouldReadSmallTestDocumentWithoutDataMatchingUsingJsonSimple() throws Exception
Exceptionpublic void shouldReadSmallTestDocumentToAndFromBson() throws Exception
Exceptionpublic static String getLargeTestData() throws Exception
Exceptionpublic static String getSmallTestData() throws Exception
Exceptionprotected void testReadingJson(String testData, int numberOfRuns, boolean getValue, boolean introspectStringValues) throws Exception
Exceptionprotected void testReadingJsonWithJsonSimple(String testData, int numberOfRuns, boolean getValue) throws Exception
Exceptionprotected void testReadingJsonThenWritingBsonThenReadingBson(String testData, int numberOfRuns, boolean getValue, boolean introspectStringValues) throws Exception
ExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.