Browse Source

246393: new compiler build

tags/pre268419
aclement 15 years ago
parent
commit
671bafd7b5

+ 12
- 0
tests/bugs164/pr246393/D.java View File

@@ -0,0 +1,12 @@
import java.io.*;
package snippet;

public class D {
public static String readContent(InputStream is) {
try {
} catch (IOException ioe) {
ioe.printStackTrace();
}
}
}


+ 12
- 3
tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java View File

@@ -18,6 +18,15 @@ import org.aspectj.testing.XMLBasedAjcTestCase;

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

public void testRogueErrors_pr246393_1() {
runTest("rogue errors - 1");
}

// public void testNameClash_pr262257() {
// runTest("name clash");
// fail("incomplete");
// }

public void testCompilingSpring_pr260384() {
runTest("compiling spring");
}
@@ -25,15 +34,15 @@ public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testCompilingSpring_pr260384_2() {
runTest("compiling spring - 2");
}
public void testCompilingSpring_pr260384_3() {
runTest("compiling spring - 3");
}
public void testCompilingSpring_pr260384_4() {
runTest("compiling spring - 4");
}
public void testAtAspectJDecp_pr164016() {
runTest("ataspectj decp 164016");
}

+ 11
- 0
tests/src/org/aspectj/systemtest/ajc164/ajc164.xml View File

@@ -2,6 +2,17 @@

<suite>
<ajc-test dir="bugs164/pr246393" title="rogue errors - 1">
<compile files="D.java" options="-1.5">
<message kind="error" line="2" text="error on token"/>
</compile>
</ajc-test>

<ajc-test dir="bugs164/pr262257" title="name clash">
<compile files="C.java" options="-1.5">
</compile>
</ajc-test>
<ajc-test dir="bugs164/pr260384" title="compiling spring">
<compile files="Broken.java" options="-1.5">
</compile>

Loading…
Cancel
Save