use of com.tagtraum.perf.gcviewer.model.GcResourceFile in project GCViewer by chewiebug.
the class TestDataReaderFactory method testIBMJ9_5_0.
@Test
public void testIBMJ9_5_0() throws Exception {
String fileName = "SampleIBMJ9_5_0af-global-200811_07.txt";
try (InputStream in = getInputStreamIBM(fileName)) {
DataReader reader = new DataReaderFactory().getDataReader(new GcResourceFile(fileName), in);
assertDataReader(DataReaderIBM_J9_5_0.class, reader.getClass());
}
}
use of com.tagtraum.perf.gcviewer.model.GcResourceFile in project GCViewer by chewiebug.
the class TestDataReaderFactory method testJRockit1_6ParCon.
@Test
public void testJRockit1_6ParCon() throws Exception {
String fileName = "SampleJRockit1_6_gc_mode_singleparcon.txt";
try (InputStream in = getInputStreamJRockit(fileName)) {
DataReader reader = new DataReaderFactory().getDataReader(new GcResourceFile(fileName), in);
assertDataReader(DataReaderJRockit1_6_0.class, reader.getClass());
}
}
use of com.tagtraum.perf.gcviewer.model.GcResourceFile in project GCViewer by chewiebug.
the class TestDataReaderFactory method testJRockit1_4PrioPauseTime.
@Test
public void testJRockit1_4PrioPauseTime() throws Exception {
String fileName = "SampleJRockit1_4_2priopausetime.txt";
try (InputStream in = getInputStreamJRockit(fileName)) {
DataReader reader = new DataReaderFactory().getDataReader(new GcResourceFile(fileName), in);
assertDataReader(DataReaderJRockit1_5_0.class, reader.getClass());
}
}
use of com.tagtraum.perf.gcviewer.model.GcResourceFile in project GCViewer by chewiebug.
the class TestDataReaderFactory method testJRockit1_6GenParVerbose.
@Test
public void testJRockit1_6GenParVerbose() throws Exception {
String fileName = "SampleJRockit1_6_33_gc_mode_genpar_verbosenursery.txt";
try (InputStream in = getInputStreamJRockit(fileName)) {
DataReader reader = new DataReaderFactory().getDataReader(new GcResourceFile(fileName), in);
assertDataReader(DataReaderJRockit1_6_0.class, reader.getClass());
}
}
use of com.tagtraum.perf.gcviewer.model.GcResourceFile in project GCViewer by chewiebug.
the class TestDataReaderFactory method testJRockit1_4GcReportPrioPauseTime.
@Test
public void testJRockit1_4GcReportPrioPauseTime() throws Exception {
String fileName = "SampleJRockit1_4_2ts-gcreport-gcpriopausetime.txt";
try (InputStream in = getInputStreamJRockit(fileName)) {
DataReader reader = new DataReaderFactory().getDataReader(new GcResourceFile(fileName), in);
assertDataReader(DataReaderJRockit1_4_2.class, reader.getClass());
}
}
Aggregations