From 5bae094e9d80085cdc3e253ec707459c9004d968 Mon Sep 17 00:00:00 2001 From: pombredanne Date: Sat, 8 Sep 2007 18:55:38 +0000 Subject: [PATCH] Made test to compile. Seven need fixing and are not passing --- net.sourceforge.phpeclipse.test/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 7 +++++++ .../META-INF/MANIFEST.MF | 2 +- .../php/test/IdentifierIndexManagerTest.java | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 net.sourceforge.phpeclipse.test/.settings/org.eclipse.jdt.core.prefs diff --git a/net.sourceforge.phpeclipse.test/.classpath b/net.sourceforge.phpeclipse.test/.classpath index 751c8f2..ce73933 100644 --- a/net.sourceforge.phpeclipse.test/.classpath +++ b/net.sourceforge.phpeclipse.test/.classpath @@ -1,7 +1,7 @@ - + diff --git a/net.sourceforge.phpeclipse.test/.settings/org.eclipse.jdt.core.prefs b/net.sourceforge.phpeclipse.test/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..9d630b4 --- /dev/null +++ b/net.sourceforge.phpeclipse.test/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +#Fri Sep 07 14:46:23 PDT 2007 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 +org.eclipse.jdt.core.compiler.compliance=1.4 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning +org.eclipse.jdt.core.compiler.source=1.3 diff --git a/net.sourceforge.phpeclipse.test/META-INF/MANIFEST.MF b/net.sourceforge.phpeclipse.test/META-INF/MANIFEST.MF index 483bf3a..6d05e89 100644 --- a/net.sourceforge.phpeclipse.test/META-INF/MANIFEST.MF +++ b/net.sourceforge.phpeclipse.test/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: Test Fragment Bundle-SymbolicName: net.sourceforge.phpeclipse.test Bundle-Version: 1.0.0 Bundle-Vendor: PHPEclipse team -Fragment-Host: net.sourceforge.phpeclipse;bundle-version="1.0.0" +Fragment-Host: net.sourceforge.phpeclipse;bundle-version="0.0.0" Bundle-Localization: plugin Require-Bundle: org.eclipse.core.runtime.compatibility, org.eclipse.ui, diff --git a/net.sourceforge.phpeclipse.test/src/net/sourceforge/phpeclipse/phpeditor/php/test/IdentifierIndexManagerTest.java b/net.sourceforge.phpeclipse.test/src/net/sourceforge/phpeclipse/phpeditor/php/test/IdentifierIndexManagerTest.java index ec1fe7b..b173880 100644 --- a/net.sourceforge.phpeclipse.test/src/net/sourceforge/phpeclipse/phpeditor/php/test/IdentifierIndexManagerTest.java +++ b/net.sourceforge.phpeclipse.test/src/net/sourceforge/phpeclipse/phpeditor/php/test/IdentifierIndexManagerTest.java @@ -36,7 +36,7 @@ public class IdentifierIndexManagerTest extends TestCase { .createLineCreator(); try { fManager.addInputStream(new StringBufferInputStream(testString), - "test", lineCreator); + "test", lineCreator, null); } catch (CoreException e) { // TODO Auto-generated catch block e.printStackTrace(); -- 1.7.1