Przeglądaj źródła

259279: test and fix: bridge pipeline

tags/V1_6_3
aclement 15 lat temu
rodzic
commit
e62cc6cf8d

+ 1
- 0
tests/bugs163/pr259279/Aspect.java Wyświetl plik

@@ -0,0 +1 @@
public aspect Aspect pertypewithin(*){}

+ 4
- 0
tests/bugs163/pr259279/GenericService.java Wyświetl plik

@@ -0,0 +1,4 @@
public interface GenericService<T extends SomeInterface> {
public void doStuff(T t);
}


+ 5
- 0
tests/bugs163/pr259279/GenericServiceImpl.java Wyświetl plik

@@ -0,0 +1,5 @@
public class GenericServiceImpl<T extends SomeInterface> implements
GenericService<T> {
public void doStuff(T t) {}
}


+ 6
- 0
tests/bugs163/pr259279/Main.java Wyświetl plik

@@ -0,0 +1,6 @@
public class Main {
public static void main(String[] args) {
new SomeServiceImpl();
}
}


+ 2
- 0
tests/bugs163/pr259279/SomeInterface.java Wyświetl plik

@@ -0,0 +1,2 @@
public interface SomeInterface {}


+ 6
- 0
tests/bugs163/pr259279/SomeServiceImpl.java Wyświetl plik

@@ -0,0 +1,6 @@
public class SomeServiceImpl extends GenericServiceImpl<SomeInterface> {
@Override
public void doStuff(SomeInterface someInterface) {
}
}


+ 8
- 0
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java Wyświetl plik

@@ -31,6 +31,14 @@ public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// runTest("itd anonymous inner class in wrong package");
// }

public void testOrderingRepetitive_pr259279() {
runTest("ordering repetitive method");
}

public void testOrderingRepetitive_pr259279_2() {
runTest("ordering repetitive method - 2");
}

public void testExtendingASI_pr252722() {
runTest("extending AbstractSecurityInterceptor");
}

+ 11
- 0
tests/src/org/aspectj/systemtest/ajc163/ajc163.xml Wyświetl plik

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

<suite>
<ajc-test dir="bugs163/pr259279" title="ordering repetitive method">
<compile files="SomeServiceImpl.java SomeInterface.java Main.java GenericService.java GenericServiceImpl.java Aspect.java" options="-1.5"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="bugs163/pr259279" title="ordering repetitive method - 2">
<compile files="GenericServiceImpl.java SomeServiceImpl.java SomeInterface.java Main.java GenericService.java Aspect.java" options="-1.5"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="bugs163/pr258653" title="getNode">
<compile files="staticinit.java" options="-1.5 -emacssym"/>
</ajc-test>

Ładowanie…
Anuluj
Zapisz