diff options
author | aclement <aclement> | 2011-02-03 02:37:40 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-02-03 02:37:40 +0000 |
commit | edaba5751fe4faba5ef1f9c9d79b6c0e95963f86 (patch) | |
tree | 7761b76b217095f4dcb43adbb7f52456bf1ca04c | |
parent | c584cedda7f4b25f3d6661f39f4b88f432cf63b4 (diff) | |
download | aspectj-edaba5751fe4faba5ef1f9c9d79b6c0e95963f86.tar.gz aspectj-edaba5751fe4faba5ef1f9c9d79b6c0e95963f86.zip |
336158 - testcode
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/City$Keys.class | bin | 0 -> 467 bytes | |||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/City.class | bin | 0 -> 846 bytes | |||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/City.java | 6 | ||||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.class | bin | 0 -> 1950 bytes | |||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.java | 5 | ||||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/Function.class | bin | 0 -> 540 bytes | |||
-rw-r--r-- | tests/multiIncremental/pr336158/base/src/Function.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/incremental/tools/IncrementalCompilationTests.java | 9 |
8 files changed, 21 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr336158/base/src/City$Keys.class b/tests/multiIncremental/pr336158/base/src/City$Keys.class Binary files differnew file mode 100644 index 000000000..3f0052b9e --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/City$Keys.class diff --git a/tests/multiIncremental/pr336158/base/src/City.class b/tests/multiIncremental/pr336158/base/src/City.class Binary files differnew file mode 100644 index 000000000..c24cd36f1 --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/City.class diff --git a/tests/multiIncremental/pr336158/base/src/City.java b/tests/multiIncremental/pr336158/base/src/City.java new file mode 100644 index 000000000..a8d32933a --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/City.java @@ -0,0 +1,6 @@ +public class City { + + public static void main(String[] args) { + Keys.CITY.get(); // Keys.City cannot be resolved + } +} diff --git a/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.class b/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.class Binary files differnew file mode 100644 index 000000000..22e3d47e9 --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.class diff --git a/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.java b/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.java new file mode 100644 index 000000000..9fbea9252 --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/City_Roo_Op4j.java @@ -0,0 +1,5 @@ +privileged aspect City_Roo_Op4j { + public static class City.Keys { + public static final Function<Object, City> CITY = null; + } +} diff --git a/tests/multiIncremental/pr336158/base/src/Function.class b/tests/multiIncremental/pr336158/base/src/Function.class Binary files differnew file mode 100644 index 000000000..a19801d25 --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/Function.class diff --git a/tests/multiIncremental/pr336158/base/src/Function.java b/tests/multiIncremental/pr336158/base/src/Function.java new file mode 100644 index 000000000..2e9157cfb --- /dev/null +++ b/tests/multiIncremental/pr336158/base/src/Function.java @@ -0,0 +1 @@ +class Function<A,B> { public void get() {}} diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/IncrementalCompilationTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/IncrementalCompilationTests.java index 10fd73210..25642f6f3 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/IncrementalCompilationTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/IncrementalCompilationTests.java @@ -83,6 +83,15 @@ public class IncrementalCompilationTests extends AbstractMultiProjectIncremental assertContains("B.java:4:0::0 Unhandled exception type IOException", getErrorMessages(p).get(0)); } + public void testITIT_336158() throws Exception { + String p = "pr336158"; + initialiseProject(p); + build(p); + checkWasFullBuild(); + assertNoErrors(p); + checkCompileWeaveCount(p, 3, 4); + } + public void testITIT_336147() throws Exception { String p = "pr336147"; initialiseProject(p); |