package org.aspectj.tools.ajbrowser; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.ajde; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.tools.ajdoc; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2003 Contributors. | * Copyright (c) 2003 Contributors. | ||||
* All rights reserved. | * All rights reserved. | ||||
import junit.framework.Test; | import junit.framework.Test; | ||||
import junit.framework.TestSuite; | import junit.framework.TestSuite; | ||||
import org.aspectj.tools.ajdoc.AjdocTests; | |||||
/** | /** | ||||
* @author Mik Kersten | * @author Mik Kersten |
package org.aspectj.asm; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.runtime; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |
package org.aspectj.bridge; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
junit.leaves=false | junit.leaves=false | ||||
# define the root suite for for each module testsrc/ | # define the root suite for for each module testsrc/ | ||||
junit.rootSuites=*ModuleTests.java | |||||
junit.rootSuites=**/*ModuleTests.java | |||||
# define leaf tests for each module testsrc/ | # define leaf tests for each module testsrc/ | ||||
junit.includes=**/*Tests.java,**/*TestCase.java | junit.includes=**/*Tests.java,**/*TestCase.java |
package org.aspectj.build; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.loadtime; | |||||
/******************************************************************************* | /******************************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |
package org.aspectj.loadtime; | |||||
/******************************************************************************* | /******************************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |
package org.aspectj.ajdt; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.lib; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |
// default package | // default package | ||||
import org.aspectj.util.LangUtil; | import org.aspectj.util.LangUtil; | ||||
import org.aspectj.util.UtilModuleTests; | |||||
import org.aspectj.weaver.BcweaverModuleTests; | |||||
import org.aspectj.weaver.BcweaverModuleTests15; | |||||
import org.aspectj.ajde.AjdeModuleTests; | |||||
import org.aspectj.ajdt.EajcModuleTests; | |||||
import org.aspectj.asm.AsmModuleTests; | |||||
import org.aspectj.bridge.BridgeModuleTests; | |||||
import org.aspectj.build.BuildModuleTests; | |||||
import org.aspectj.loadtime.LoadtimeModuleTests; | |||||
import org.aspectj.runtime.RuntimeModuleTests; | |||||
import org.aspectj.testing.TestingClientModuleTests; | |||||
import org.aspectj.testing.TestingDriversModuleTests; | |||||
import org.aspectj.testing.TestingModuleTests; | |||||
import org.aspectj.testing.util.TestUtil; | import org.aspectj.testing.util.TestUtil; | ||||
import org.aspectj.testingutil.TestingUtilModuleTests; | |||||
import org.aspectj.tools.ajbrowser.AjbrowserModuleTests; | |||||
import org.aspectj.tools.ajdoc.AjdocModuleTests; | |||||
import org.aspectj.tools.ant.TaskdefsModuleTests; | |||||
import junit.framework.TestCase; | import junit.framework.TestCase; | ||||
import junit.framework.TestSuite; | import junit.framework.TestSuite; | ||||
// these only require 1.3, but in Eclipse they are built | // these only require 1.3, but in Eclipse they are built | ||||
// with 1.5, i.e., wrong class version to load under 1.3 | // with 1.5, i.e., wrong class version to load under 1.3 | ||||
// so the class name can only be used reflectively | // so the class name can only be used reflectively | ||||
TestUtil.loadTestsReflectively(suite, "Aspectj5rtModuleTests", false); | |||||
TestUtil.loadTestsReflectively(suite, "Loadtime5ModuleTests", false); | |||||
TestUtil.loadTestsReflectively(suite, "org.aspectj.runtime.Aspectj5rtModuleTests", false); | |||||
TestUtil.loadTestsReflectively(suite, "org.aspectj.loadtime.Loadtime5ModuleTests", false); | |||||
// this next one is built normally, but needs 1.5 rt.jar to pass | // this next one is built normally, but needs 1.5 rt.jar to pass | ||||
suite.addTest(BcweaverModuleTests15.suite()); | suite.addTest(BcweaverModuleTests15.suite()); | ||||
TestUtil.loadTestsReflectively(suite, "Weaver5ModuleTests",false); | |||||
TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.Weaver5ModuleTests",false); | |||||
} else { | } else { | ||||
suite.addTest(TestUtil.skipTest("for 1.5")); | suite.addTest(TestUtil.skipTest("for 1.5")); | ||||
} | } |
* | * | ||||
* ******************************************************************/ | * ******************************************************************/ | ||||
import org.aspectj.tests.TestsModuleTests; | |||||
import junit.framework.Test; | import junit.framework.Test; | ||||
import junit.framework.TestSuite; | import junit.framework.TestSuite; | ||||
package org.aspectj.runtime; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). | ||||
* Xerox/PARC initial implementation | * Xerox/PARC initial implementation | ||||
* ******************************************************************/ | * ******************************************************************/ | ||||
// default package | |||||
import java.io.*; | import java.io.*; | ||||
import org.aspectj.lang.*; | import org.aspectj.lang.*; |
package org.aspectj.tools.ant; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
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). | ||||
// default package | // default package | ||||
import junit.framework.*; | import junit.framework.*; | ||||
import junit.framework.Test; | |||||
import org.aspectj.testing.TestingTests; | |||||
public class TestingClientModuleTests extends TestCase { | public class TestingClientModuleTests extends TestCase { | ||||
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). |
package org.aspectj.testingutil; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). | ||||
import junit.framework.Test; | import junit.framework.Test; | ||||
import junit.framework.TestCase; | import junit.framework.TestCase; | ||||
import junit.framework.TestSuite; | import junit.framework.TestSuite; | ||||
import org.aspectj.testingutil.UtilTests; | |||||
public class TestingUtilModuleTests extends TestCase { | public class TestingUtilModuleTests extends TestCase { | ||||
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). |
package org.aspectj.tests; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |
package org.aspectj.util; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* 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). |
package org.aspectj.weaver; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). | * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). | ||||
* All rights reserved. | * All rights reserved. | ||||
import junit.framework.TestCase; | import junit.framework.TestCase; | ||||
import junit.framework.TestSuite; | import junit.framework.TestSuite; | ||||
import org.aspectj.weaver.LocaleTest; | |||||
import org.aspectj.weaver.tools.ToolsTests; | import org.aspectj.weaver.tools.ToolsTests; | ||||
public class BcweaverModuleTests extends TestCase { | public class BcweaverModuleTests extends TestCase { |
package org.aspectj.weaver; | |||||
/* ******************************************************************* | /* ******************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. | ||||
import org.aspectj.testing.util.TestUtil; | import org.aspectj.testing.util.TestUtil; | ||||
import org.aspectj.util.LangUtil; | import org.aspectj.util.LangUtil; | ||||
import org.aspectj.weaver.BoundedReferenceTypeTestCase; | |||||
import org.aspectj.weaver.MemberTestCase15; | |||||
import org.aspectj.weaver.ReferenceTypeTestCase; | |||||
import org.aspectj.weaver.TypeVariableReferenceTypeTestCase; | |||||
import org.aspectj.weaver.TypeVariableTestCase; | |||||
import org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXTestCase; | import org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXTestCase; | ||||
import org.aspectj.weaver.patterns.WildTypePatternResolutionTestCase; | import org.aspectj.weaver.patterns.WildTypePatternResolutionTestCase; | ||||
package org.aspectj.weaver; | |||||
/******************************************************************************* | /******************************************************************************* | ||||
* Copyright (c) 2005 Contributors. | * Copyright (c) 2005 Contributors. | ||||
* All rights reserved. | * All rights reserved. |