Browse Source

testsrc -> java5-testsrc, placeholders for pre-1.5 build

tags/PRE_ANDY
wisberg 19 years ago
parent
commit
a2545d0e25

+ 32
- 5
aspectj5rt/.classpath View File

@@ -1,9 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="java5-src"/>
<classpathentry sourcepath="/JRE15_SRC" kind="var" path="JRE15_LIB"/>
<classpathentry kind="src" path="/runtime"/>
<classpathentry kind="src" path="testsrc"/>
<classpathentry sourcepath="/lib/junit/junit-src.jar" kind="lib" path="/lib/junit/junit.jar"/>
<classpathentry kind="src" path="java5-src">
<attributes>
</attributes>
</classpathentry>
<classpathentry kind="src" path="testsrc">
<attributes>
</attributes>
</classpathentry>
<classpathentry sourcepath="/JRE15_SRC" kind="var" path="JRE15_LIB">
<attributes>
</attributes>
</classpathentry>
<classpathentry kind="src" path="/runtime">
<attributes>
</attributes>
</classpathentry>
<classpathentry kind="src" path="java5-testsrc">
<attributes>
</attributes>
</classpathentry>
<classpathentry sourcepath="/lib/junit/junit-src.jar" kind="lib" path="/lib/junit/junit.jar">
<attributes>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src">
<attributes>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/testing-util">
<attributes>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>

+ 0
- 1
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AdviceImpl.java View File

@@ -14,7 +14,6 @@ package org.aspectj.internal.lang.reflect;
import java.lang.reflect.Method;

import org.aspectj.lang.annotation.AdviceName;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.reflect.Advice;
import org.aspectj.lang.reflect.AdviceType;


+ 32
- 0
aspectj5rt/java5-testsrc/Aspectj5rt15ModuleTests.java View File

@@ -0,0 +1,32 @@
/* *******************************************************************
* Copyright (c) 2005 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://eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wes Isberg initial implementation
* ******************************************************************/

// default package

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

import org.aspectj.internal.lang.reflect.AjTypeTests;
import org.aspectj.internal.lang.reflect.AjTypeTestsWithAspects;

public class Aspectj5rt15ModuleTests extends TestCase {

public static Test suite() {
TestSuite suite = new TestSuite("Aspectj5rt module tests");
suite.addTestSuite(AjTypeTests.class);
suite.addTestSuite(AjTypeTestsWithAspects.class);
return suite;
}


}

aspectj5rt/testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java → aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java View File


aspectj5rt/testsrc/org/aspectj/internal/lang/reflect/AjTypeTestsWithAspects.java → aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTestsWithAspects.java View File


+ 4
- 8
aspectj5rt/testsrc/Aspectj5rtModuleTests.java View File

@@ -11,22 +11,18 @@
* ******************************************************************/

// default package
import org.aspectj.testing.util.TestUtil;

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

import org.aspectj.internal.lang.reflect.AjTypeTests;
import org.aspectj.internal.lang.reflect.AjTypeTestsWithAspects;

public class Aspectj5rtModuleTests extends TestCase {

public static Test suite() {
public static Test suite() {
TestSuite suite = new TestSuite("Aspectj5rt module tests");
suite.addTestSuite(AjTypeTests.class);
suite.addTestSuite(AjTypeTestsWithAspects.class);
TestUtil.loadTestsReflectively(suite, "Aspectj5rt15ModuleTests", true);
return suite;
}


}
}

Loading…
Cancel
Save