Browse Source

Add module tests back in - but streamlined

tags/V1_9_3RC1
Andy Clement 5 years ago
parent
commit
6311f723a2

+ 25
- 0
testing-drivers/pom.xml View File

@@ -64,4 +64,29 @@
<type>test-jar</type>
</dependency>
</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>

+ 0
- 35
testing-drivers/src/test/java/org/aspectj/testing/drivers/DriversTests.java View File

@@ -1,35 +0,0 @@
/* *******************************************************************
* 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); }

}

testing-drivers/src/test/java/org/aspectj/testing/TestingDriversModuleTests.java → testing-drivers/src/test/java/org/aspectj/testing/drivers/TestingDriversModuleTests.java View File

@@ -1,4 +1,3 @@
package org.aspectj.testing;
/* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
@@ -11,24 +10,18 @@ package org.aspectj.testing;
* Contributors:
* Xerox/PARC initial implementation
* ******************************************************************/


// default package

import org.aspectj.testing.drivers.DriversTests;
package org.aspectj.testing.drivers;

import junit.framework.*;
import junit.framework.Test;

/**
* TODO weaver dumping ajcore files when using this interface
*/
public class TestingDriversModuleTests extends TestCase {

public static Test suite() {
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); }

Loading…
Cancel
Save