Przeglądaj źródła

Tests slightly reworked by matthew due to enhancement 71339

tags/V1_2_1
aclement 20 lat temu
rodzic
commit
0057fdbbfe

+ 9
- 1
tests/src/org/aspectj/systemtest/ajc120/Ajc120Tests.java Wyświetl plik

@@ -237,8 +237,16 @@ public class Ajc120Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
}

public void test054(){
runTest("error message for constructor-execution pcd");
runTest("error message for constructor-execution pcd");
}

public void test055(){
runTest("weaving using an empty jar in -injars");
}

public void test056(){
runTest("weaving using an empty jar in -aspectpath");
}

}


+ 13
- 10
tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml Wyświetl plik

@@ -396,16 +396,6 @@
<message kind="error" line="5"/>
</compile>
</ajc-test>
<!-- this test unreliable - can't always delete sandbox afterwards, need to get
to the bottom of why...
<ajc-test dir="bugs" pr="43714"
title="weaving from an input jar into that same jar.." >
<compile files="notAJar.jar" outjar="notAJar.jar">
<message kind="error" line="0"/>
</compile>
</ajc-test>
-->
<ajc-test dir="bugs"
title="Private members introduced via an interface are visible to the class"
@@ -476,3 +466,16 @@
</compile>
</ajc-test>

<ajc-test dir="bugs" pr="43714"
title="weaving using an empty jar in -injars" >
<compile files="notAJar.jar" outjar="outJar.jar">
<message kind="error" line="0"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="43714"
title="weaving using an empty jar in -aspectpath" >
<compile files="WeaveLocal.java" aspectpath="notAJar.jar" outjar="outJar.jar" >
</compile>
</ajc-test>

+ 0
- 4
tests/src/org/aspectj/systemtest/aspectpath/AspectPathTests.java Wyświetl plik

@@ -108,9 +108,5 @@ public class AspectPathTests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("Introduced abstract method on interface not implemented by subtype (aspectpath)");
}

public void test022(){
runTest("weaving from an aspectpath jar into that same jar..");
}

}


+ 0
- 6
tests/src/org/aspectj/systemtest/aspectpath/aspectpath-tests.xml Wyświetl plik

@@ -188,11 +188,5 @@
aspectpath="interface/jars/AandB.jar" />
<run class="C"/>
</ajc-test>
<ajc-test dir="bugs" pr="43714"
title="weaving from an aspectpath jar into that same jar.." >
<compile files="WeaveLocal.java" aspectpath="notAJar.jar" outjar="notAJar.jar" >
</compile>
</ajc-test>

Ładowanie…
Anuluj
Zapisz