aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2012-11-21 16:44:58 (EST)
committerJeff Johnston2012-12-04 13:33:26 (EST)
commitbf5ddb628595280f13ac4f05e0122ac7f2ea0b5d (patch)
tree58bbd5f76c42e1e094b18b63c2dc1042820ee282
parentb89d98b6fe38fb1b881d4a4ad224a9ba712298ff (diff)
downloadorg.eclipse.linuxtools-bf5ddb628595280f13ac4f05e0122ac7f2ea0b5d.zip
org.eclipse.linuxtools-bf5ddb628595280f13ac4f05e0122ac7f2ea0b5d.tar.gz
org.eclipse.linuxtools-bf5ddb628595280f13ac4f05e0122ac7f2ea0b5d.tar.bz2
Add test for remaining uncovered ProviderFramework method.refs/changes/00/8800/2
Add test for ProviderFramework#getProfilingProvider method. Change-Id: I8f4b50e8ab8795400c37f92d640626d925cae382 Reviewed-on: https://git.eclipse.org/r/8800 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/ExtensionPointTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/ExtensionPointTest.java b/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/ExtensionPointTest.java
index 30bd836..26bb7f7 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/ExtensionPointTest.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/ExtensionPointTest.java
@@ -47,7 +47,10 @@ public class ExtensionPointTest {
@Test
public void testShortCut () {
ProfileLaunchShortcut shortcut = ProviderFramework.getLaunchShortcutProviderFromId(PLUGIN_ID + "1");
+ ProfileLaunchShortcut shortcut2 = ProviderFramework.getProfilingProvider(PROFILING_TYPE);
+
assertTrue(shortcut instanceof StubbyLaunchShortcut);
+ assertTrue(shortcut2 instanceof StubbyLaunchShortcut);
}
@Test