diff options
author | Andy Clement <aclement@pivotal.io> | 2019-02-01 12:14:04 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-02-01 12:14:04 -0800 |
commit | 81eac679eb89859ee11f0fec7097113ec43d42d4 (patch) | |
tree | 0b0ffb01956805a830033a91f188cf300f478591 | |
parent | 546a876ecc7cc3d20b4553b06b2cef16c3130b6b (diff) | |
download | aspectj-81eac679eb89859ee11f0fec7097113ec43d42d4.tar.gz aspectj-81eac679eb89859ee11f0fec7097113ec43d42d4.zip |
Add module tests back in - but streamlined
-rw-r--r-- | org.aspectj.matcher/src/test/java/org/aspectj/matcher/MatcherModuleTests.java | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/test/java/org/aspectj/matcher/MatcherModuleTests.java b/org.aspectj.matcher/src/test/java/org/aspectj/matcher/MatcherModuleTests.java new file mode 100644 index 000000000..eb8f88c5e --- /dev/null +++ b/org.aspectj.matcher/src/test/java/org/aspectj/matcher/MatcherModuleTests.java @@ -0,0 +1,56 @@ +/* ******************************************************************* + * Copyright (c) 2002-2008 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: + * PARC initial implementation + * ******************************************************************/ +package org.aspectj.matcher; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +import org.aspectj.matcher.tools.ReflectionWorldPointcutExpressionTest; +import org.aspectj.weaver.TypeFactoryTest; +import org.aspectj.weaver.patterns.*; +import org.aspectj.weaver.reflect.ReflectionWorldBasicTest; +import org.aspectj.weaver.reflect.ReflectionWorldSpecificTest; + +public class MatcherModuleTests extends TestCase { + + public MatcherModuleTests(String name) { + super(name); + } + + public static Test suite() { + TestSuite suite = new TestSuite(MatcherModuleTests.class.getName()); + suite.addTestSuite(ReflectionWorldPointcutExpressionTest.class); + suite.addTestSuite(TypeFactoryTest.class); + suite.addTestSuite(ThisOrTargetTestCase.class); + suite.addTestSuite(ParserTestCase.class); + suite.addTestSuite(SignaturePatternTestCase.class); + suite.addTestSuite(DeclareErrorOrWarningTestCase.class); + suite.addTestSuite(AndOrNotTestCase.class); + suite.addTestSuite(NamePatternParserTestCase.class); + suite.addTestSuite(WithinTestCase.class); + suite.addTestSuite(ArgsTestCase.class); + suite.addTestSuite(SignaturePatternMatchSpeedTestCase.class); + suite.addTestSuite(PointcutRewriterTest.class); + suite.addTestSuite(NamePatternTestCase.class); + suite.addTestSuite(VisitorTestCase.class); + suite.addTestSuite(TypePatternTestCase.class); + suite.addTestSuite(SimpleScopeTest.class); + suite.addTestSuite(BindingTestCase.class); + suite.addTestSuite(ModifiersPatternTestCase.class); + suite.addTestSuite(TypePatternListTestCase.class); + + suite.addTestSuite(ReflectionWorldSpecificTest.class); + suite.addTestSuite(ReflectionWorldBasicTest.class); + return suite; + } +} |