< prev index next >

core/tests/org.openjdk.jmc.flightrecorder.test/src/test/java/org/openjdk/jmc/flightrecorder/test/FilteredRecordingTest.java

Print this page

        

*** 58,68 **** * Test that checks that a recording can be filtered when loaded. */ @SuppressWarnings("nls") public class FilteredRecordingTest { private static final String JVM_INFORMATION_REGEXP = ".*JVMInformation"; ! private static final String COM_ORACLE_JDK_JVM_INFORMATION = "com.oracle.jdk.JVMInformation"; @Test public void testIncludeEventTypeFilter() throws IOException, CouldNotLoadRecordingException { checkFilter(OnLoadFilters.includeEvents(Arrays.asList(COM_ORACLE_JDK_JVM_INFORMATION)), COM_ORACLE_JDK_JVM_INFORMATION, true, --- 58,68 ---- * Test that checks that a recording can be filtered when loaded. */ @SuppressWarnings("nls") public class FilteredRecordingTest { private static final String JVM_INFORMATION_REGEXP = ".*JVMInformation"; ! private static final String COM_ORACLE_JDK_JVM_INFORMATION = "jdk.JVMInformation"; @Test public void testIncludeEventTypeFilter() throws IOException, CouldNotLoadRecordingException { checkFilter(OnLoadFilters.includeEvents(Arrays.asList(COM_ORACLE_JDK_JVM_INFORMATION)), COM_ORACLE_JDK_JVM_INFORMATION, true,
< prev index next >