[jbosstools-dev] Re: Fwd: [jbosstools-commits] JBoss Tools SVN: r5670 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: META-INF and 1 other directory.

Maxim Areshkau mareshkau at exadel.com
Mon Jan 14 14:42:07 EST 2008


Max Rydahl Andersen wrote:
> Why is an extension point needed for specifying unittets ?
>
> Wouldn't normal junit testsuite work just as fine (and be simpler to maintain/run ?)
>
> Just trying to understand what this extension point is meant for....
>
> -max
>   
It allows us to run all registered JUnit test suites from a single 
place(org.jboss.tools.vpe.ui.test.VpeAllTests class). Extension point 
allow VpeAllTests class find all testsuites that we need to run and run 
this in
one operation.
> ------- Forwarded message -------
> From: jbosstools-commits at lists.jboss.org
> To: jbosstools-commits at lists.jboss.org
> Cc:
> Subject: [jbosstools-commits] JBoss Tools SVN: r5670 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: META-INF and 1 other directory.
> Date: Mon, 14 Jan 2008 20:03:08 +0100
>
> Author: mareshkau
> Date: 2008-01-14 14:03:08 -0500 (Mon, 14 Jan 2008)
> New Revision: 5670
>
> Added:
>   trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml
> Modified:
>   trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
>   trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties
> Log:
> http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points to tests which allows collect all testcases together and was added class which collect all test cases together and run it's
>
> Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
> ===================================================================
> --- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF	2008-01-14 19:03:03 UTC (rev 5669)
> +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF	2008-01-14 19:03:08 UTC (rev 5670)
> @@ -1,7 +1,7 @@
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Jsf Test Plug-in
> -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test
> +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test;singleton:=true
> Bundle-Version: 1.0.0
> Bundle-Activator: org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin
> Require-Bundle: org.eclipse.ui,
>
> Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties
> ===================================================================
> --- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties	2008-01-14 19:03:03 UTC (rev 5669)
> +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties	2008-01-14 19:03:08 UTC (rev 5670)
> @@ -1,6 +1,7 @@
> bin.includes = META-INF/,\
>                resources/,\
> -               jsf-test.jar
> +               jsf-test.jar,\
> +               plugin.xml
> jars.compile.order = jsf-test.jar
> source.jsf-test.jar = src/
> output.jsf-test.jar = bin/
>
> Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml
> ===================================================================
> --- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml	                        (rev 0)
> +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml	2008-01-14 19:03:08 UTC (rev 5670)
> @@ -0,0 +1,12 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<?eclipse version="3.2"?>
> +<plugin>
> +   <extension
> +         point="org.jboss.tools.jsf.vpe.ui.tests">
> +      <tests
> +            name="JSf Tests"
> +            testSuite="org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests">
> +      </tests>
> +   </extension>
> +
> +</plugin>
>
> _______________________________________________
> jbosstools-commits mailing list
> jbosstools-commits at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-commits
>
>
>
>   




More information about the jbosstools-dev mailing list