Browse Source

Add module tests back in - but streamlined

tags/V1_9_3RC1
Andy Clement 5 years ago
parent
commit
8f01a3063e

+ 0
- 1
runtime/pom.xml View File

@@ -14,7 +14,6 @@
<packaging>jar</packaging>
<name>runtime</name>


<dependencies>
<dependency>
<groupId>org.aspectj</groupId>

+ 41
- 0
runtime/src/test/java/org/aspectj/runtime/RuntimeModuleTests.java View File

@@ -0,0 +1,41 @@
package org.aspectj.runtime;
/* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
* 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
* ******************************************************************/

import org.aspectj.internal.lang.reflect.AjTypeTest;
import org.aspectj.internal.lang.reflect.AjTypeWithAspectsTest;
import org.aspectj.internal.lang.reflect.InterTypeTest;
import org.aspectj.runtime.reflect.JoinPointImplTest;
import org.aspectj.runtime.reflect.RuntimePerformanceTest;
import org.aspectj.runtime.reflect.SignatureTest;

import junit.framework.TestCase;
import junit.framework.TestSuite;

public class RuntimeModuleTests extends TestCase {

public static TestSuite suite() {
TestSuite suite = new TestSuite(RuntimeModuleTests.class.getName());
suite.addTestSuite(RuntimeTest.class);
suite.addTestSuite(SignatureTest.class);
suite.addTestSuite(JoinPointImplTest.class);
suite.addTestSuite(RuntimePerformanceTest.class);
suite.addTestSuite(AjTypeTest.class);
suite.addTestSuite(AjTypeWithAspectsTest.class);
suite.addTestSuite(InterTypeTest.class);
return suite;
}

public RuntimeModuleTests(String name) { super(name); }

}

runtime/src/test/java/org/aspectj/runtime/RuntimeModuleTest.java → runtime/src/test/java/org/aspectj/runtime/RuntimeTest.java View File

@@ -21,9 +21,9 @@ import org.aspectj.runtime.reflect.SignatureTest;

import junit.framework.*;

public class RuntimeModuleTest extends TestCase {
public class RuntimeTest extends TestCase {

public RuntimeModuleTest(String name) { super(name); }
public RuntimeTest(String name) { super(name); }
public void testNoAspectBoundException() {
RuntimeException fun = new RuntimeException("fun");

Loading…
Cancel
Save