diff options
author | aclement <aclement> | 2005-04-13 13:26:54 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-13 13:26:54 +0000 |
commit | d697649e6dbd11209d2ac9d31f6c0031dec338e0 (patch) | |
tree | c847b8e98f75b96417865e2028ccc96061e06504 /tests | |
parent | 55842467f6b6408a4b6a7b7ab090db82423ec2ed (diff) | |
download | aspectj-d697649e6dbd11209d2ac9d31f6c0031dec338e0.tar.gz aspectj-d697649e6dbd11209d2ac9d31f6c0031dec338e0.zip |
Patch from Andrew Huff - failing test for pr90588
Diffstat (limited to 'tests')
4 files changed, 54 insertions, 0 deletions
diff --git a/tests/bugs150/pr90588/AbstractClass.java b/tests/bugs150/pr90588/AbstractClass.java new file mode 100644 index 000000000..aedb47466 --- /dev/null +++ b/tests/bugs150/pr90588/AbstractClass.java @@ -0,0 +1 @@ +public class AbstractClass<T> {} diff --git a/tests/bugs150/pr90588/ConcreteClass.java b/tests/bugs150/pr90588/ConcreteClass.java new file mode 100644 index 000000000..97ca6dc57 --- /dev/null +++ b/tests/bugs150/pr90588/ConcreteClass.java @@ -0,0 +1,3 @@ +import AbstractClass; + +public class ConcreteClass extends AbstractClass<Object> {} diff --git a/tests/src/org/aspectj/systemtest/knownfailures/KnownfailuresTests.java b/tests/src/org/aspectj/systemtest/knownfailures/KnownfailuresTests.java new file mode 100644 index 000000000..e75f355de --- /dev/null +++ b/tests/src/org/aspectj/systemtest/knownfailures/KnownfailuresTests.java @@ -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 + } + +} diff --git a/tests/src/org/aspectj/systemtest/knownfailures/knownfailures.xml b/tests/src/org/aspectj/systemtest/knownfailures/knownfailures.xml new file mode 100644 index 000000000..e2e2343dc --- /dev/null +++ b/tests/src/org/aspectj/systemtest/knownfailures/knownfailures.xml @@ -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> |