Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Evoy2004-05-20 10:59:11 -0400
committerSean Evoy2004-05-20 10:59:11 -0400
commit7bac8a490b12eaeb0d056d6bca56e455a627eb49 (patch)
tree70a98917fdcd7bf290323cf7cba1321a4f7cfd4f /build/org.eclipse.cdt.managedbuilder.core.tests
parent729d4c2fcb419fa3a57f348ddd5a8580e2165cb4 (diff)
downloadorg.eclipse.cdt-7bac8a490b12eaeb0d056d6bca56e455a627eb49.tar.gz
org.eclipse.cdt-7bac8a490b12eaeb0d056d6bca56e455a627eb49.tar.xz
org.eclipse.cdt-7bac8a490b12eaeb0d056d6bca56e455a627eb49.zip
Changed test to use the new way of getting extension points
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core.tests')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java
index 39d4c757301..833038cf861 100644
--- a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java
+++ b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java
@@ -60,6 +60,7 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
public class ManagedBuildCoreTests extends TestCase {
private static final boolean boolVal = true;
@@ -242,7 +243,7 @@ public class ManagedBuildCoreTests extends TestCase {
ManagedBuildManager.saveBuildInfo(project, false);
// Use the plugin mechanism to discover the supplier of the path information
- IExtensionPoint extensionPoint = CCorePlugin.getDefault().getDescriptor().getExtensionPoint("ScannerInfoProvider");
+ IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(CCorePlugin.PLUGIN_ID + ".ScannerInfoProvider");
if (extensionPoint == null) {
fail("Failed to retrieve the extension point ScannerInfoProvider.");
}

Back to the top