Browse Source

Patch from Andrew Huff - failing test for pr90588

tags/PRE_ANDY
aclement 19 years ago
parent
commit
d697649e6d

+ 1
- 0
tests/bugs150/pr90588/AbstractClass.java View File

@@ -0,0 +1 @@
public class AbstractClass<T> {}

+ 3
- 0
tests/bugs150/pr90588/ConcreteClass.java View File

@@ -0,0 +1,3 @@
import AbstractClass;

public class ConcreteClass extends AbstractClass<Object> {}

+ 37
- 0
tests/src/org/aspectj/systemtest/knownfailures/KnownfailuresTests.java View File

@@ -0,0 +1,37 @@
/* *******************************************************************
* Copyright (c) 2005 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* Andrew Huff initial implementation
* ******************************************************************/
package org.aspectj.systemtest.knownfailures;

import java.io.File;

import junit.framework.Test;

import org.aspectj.testing.XMLBasedAjcTestCase;

public class KnownfailuresTests extends org.aspectj.testing.XMLBasedAjcTestCase {


public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(KnownfailuresTests.class);
}

protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/knownfailures/knownfailures.xml");
}


public void test001(){
runTest("NullPointerException in jdt when using generics and inpath");
// the NPE goes away if you don't use generics
}

}

+ 13
- 0
tests/src/org/aspectj/systemtest/knownfailures/knownfailures.xml View File

@@ -0,0 +1,13 @@
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[
]>

<!-- AspectJ v1.5.0 Tests -->

<suite>
<ajc-test dir="bugs150/pr90588"
pr="90588" title="NullPointerException in jdt when using generics and inpath">
<compile files="AbstractClass.java,ConcreteClass.java">
</compile>
</ajc-test>
</suite>

Loading…
Cancel
Save