<type>test-jar</type> | <type>test-jar</type> | ||||
</dependency> | </dependency> | ||||
</dependencies> | </dependencies> | ||||
<build> | |||||
<pluginManagement> | |||||
<plugins> | |||||
<plugin> | |||||
<groupId>org.apache.maven.plugins</groupId> | |||||
<artifactId>maven-compiler-plugin</artifactId> | |||||
<configuration> | |||||
<source>1.8</source> | |||||
<target>1.8</target> | |||||
</configuration> | |||||
</plugin> | |||||
<plugin> | |||||
<groupId>org.apache.maven.plugins</groupId> | |||||
<artifactId>maven-surefire-plugin</artifactId> | |||||
<configuration> | |||||
<testFailureIgnore>true</testFailureIgnore> | |||||
<excludes> | |||||
<exclude>**/*AjcTestSpecAsTest*</exclude> | |||||
</excludes> | |||||
</configuration> | |||||
</plugin> | |||||
</plugins> | |||||
</pluginManagement> | |||||
</build> | |||||
</project> | </project> |
/* ******************************************************************* | |||||
* Copyright (c) 1999-2001 Xerox Corporation, | |||||
* 2002 Palo Alto Research Center, Incorporated (PARC) | |||||
* 2003 Contributors. | |||||
* All rights reserved. | |||||
* This program and the accompanying materials are made available | |||||
* under the terms of the Eclipse Public License v1.0 | |||||
* which accompanies this distribution and is available at | |||||
* http://www.eclipse.org/legal/epl-v10.html | |||||
* | |||||
* Contributors: | |||||
* Xerox/PARC initial implementation | |||||
* Wes Isberg added JUnit harness adapters | |||||
* ******************************************************************/ | |||||
package org.aspectj.testing.drivers; | |||||
import junit.framework.*; | |||||
public class DriversTests extends TestCase { | |||||
public static Test suite() { | |||||
TestSuite suite = new TestSuite(DriversTests.class.getName()); | |||||
// AjcTestsUsingJUnit takes too long to include by default | |||||
//$JUnit-BEGIN$ | |||||
suite.addTestSuite(HarnessSelectionTest.class); | |||||
suite.addTest(AjcHarnessTestsUsingJUnit.suite()); | |||||
//$JUnit-END$ | |||||
return suite; | |||||
} | |||||
public DriversTests(String name) { super(name); } | |||||
} |
package org.aspectj.testing; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 1999-2001 Xerox Corporation, | * Copyright (c) 1999-2001 Xerox Corporation, | ||||
* 2002 Palo Alto Research Center, Incorporated (PARC). | * 2002 Palo Alto Research Center, Incorporated (PARC). | ||||
* Contributors: | * Contributors: | ||||
* Xerox/PARC initial implementation | * Xerox/PARC initial implementation | ||||
* ******************************************************************/ | * ******************************************************************/ | ||||
// default package | |||||
import org.aspectj.testing.drivers.DriversTests; | |||||
package org.aspectj.testing.drivers; | |||||
import junit.framework.*; | import junit.framework.*; | ||||
import junit.framework.Test; | import junit.framework.Test; | ||||
/** | |||||
* TODO weaver dumping ajcore files when using this interface | |||||
*/ | |||||
public class TestingDriversModuleTests extends TestCase { | public class TestingDriversModuleTests extends TestCase { | ||||
public static Test suite() { | public static Test suite() { | ||||
TestSuite suite = new TestSuite(TestingDriversModuleTests.class.getName()); | TestSuite suite = new TestSuite(TestingDriversModuleTests.class.getName()); | ||||
suite.addTest(DriversTests.suite()); | |||||
return suite; | |||||
suite.addTestSuite(HarnessSelectionTest.class); | |||||
suite.addTest(AjcHarnessTestsUsingJUnit.suite()); | |||||
return suite; | |||||
} | } | ||||
public TestingDriversModuleTests(String name) { super(name); } | public TestingDriversModuleTests(String name) { super(name); } |