Search in sources :

Example 1 with StubbyLaunchShortcut

use of org.eclipse.linuxtools.profiling.provider.tests.stubby.StubbyLaunchShortcut in project linuxtools by eclipse.

the class ExtensionPointTest method testShortCut.

@Test
public void testShortCut() {
    // $NON-NLS-1$
    ProfileLaunchShortcut shortcut = ProviderFramework.getLaunchShortcutProviderFromId(PLUGIN_ID + "1");
    ProfileLaunchShortcut shortcut2 = ProviderFramework.getProfilingProvider(PROFILING_TYPE);
    assertTrue(shortcut instanceof StubbyLaunchShortcut);
    assertTrue(shortcut2 instanceof StubbyLaunchShortcut);
}
Also used : StubbyLaunchShortcut(org.eclipse.linuxtools.profiling.provider.tests.stubby.StubbyLaunchShortcut) ProfileLaunchShortcut(org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut) Test(org.junit.Test)

Aggregations

ProfileLaunchShortcut (org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut)1 StubbyLaunchShortcut (org.eclipse.linuxtools.profiling.provider.tests.stubby.StubbyLaunchShortcut)1 Test (org.junit.Test)1