diff options
author | Sean Evoy | 2004-05-20 14:59:11 +0000 |
---|---|---|
committer | Sean Evoy | 2004-05-20 14:59:11 +0000 |
commit | 7bac8a490b12eaeb0d056d6bca56e455a627eb49 (patch) | |
tree | 70a98917fdcd7bf290323cf7cba1321a4f7cfd4f /build | |
parent | 729d4c2fcb419fa3a57f348ddd5a8580e2165cb4 (diff) | |
download | org.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')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java | 3 |
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."); } |