Added some more tests,a nd reformtted the code a little.
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / plugin.xml
index a86b87c..99e0eb2 100644 (file)
@@ -1,20 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<plugin
-   id="net.sourceforge.phpeclipse.phpunit"
-   name="net.sourceforge.phpeclipse.phpunit"
-   version="1.0.0"
-   provider-name="Ali Echihabi"
-   class="net.sourceforge.phpeclipse.phpunit.PHPUnitPlugin">
-
-   <runtime>
-      <library name="phpunit.jar"/>
-   </runtime>
-   <requires>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.ui.views"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
          point="org.eclipse.ui.views">
       <category
       </view>
    </extension>
    <extension
-         point="org.eclipse.ui.popupMenus">
-      <objectContribution
-            objectClass="org.eclipse.core.resources.IFile"
-            adaptable="true"
-            nameFilter="*.php"
-            id="net.sourceforge.phpeclipse.phpunit.actions.runTestsAction">
-         <action
-               label="Run PHPUnit Tests"
-               class="net.sourceforge.phpeclipse.phpunit.actions.RunTestsAction"
-               id="net.sourceforge.phpeclipse.phpunit.action1">
-         </action>
-      </objectContribution>
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="PHPUnit Preference"
+            category="PHPUnit"
+            class="net.sourceforge.phpeclipse.phpunit.preferences.PHPUnitPreferencePage"
+            id="net.sourceforge.phpeclipse.phpunit.preferences.PHPUnitPreferencePage">
+      </page>
    </extension>
 
 </plugin>