소스 검색

336136

tags/V1_6_11RC1
aclement 13 년 전
부모
커밋
1386abb444

+ 13
- 0
tests/bugs1611/pr336136/Country_Roo_Op4j.java 파일 보기

@@ -0,0 +1,13 @@
import com.foo.op4j.Country;
import java.lang.Object;
import org.javaruntype.type.Types;
import org.op4j.functions.Function;
import org.op4j.functions.Get;

privileged aspect Country_Roo_Op4j {

public static class Country.Keys {

public static final Function COUNTRY = null;
}
}

+ 13
- 0
tests/bugs1611/pr336136/Country_Roo_Op4j2.java 파일 보기

@@ -0,0 +1,13 @@
import com.foo.op4j.Country;
import java.lang.Object;
import org.javaruntype.type.Types;
import org.op4j.functions.Function;
import org.op4j.functions.Get;

privileged aspect Country_Roo_Op4j2 {

public static class Country.Keys {

public static final Function<Object, Country> COUNTRY = Get.attrOf(Types.forClass(Country.class),"country");
}
}

+ 8
- 0
tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java 파일 보기

@@ -21,6 +21,14 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Ajc1611Tests extends org.aspectj.testing.XMLBasedAjcTestCase {

public void testITIT_336136() {
runTest("itit");
}

public void testITIT_336136_2() {
runTest("itit - 2");
}

public void testDeserialization_335682() {
runTest("pr335682");
}

+ 29
- 0
tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml 파일 보기

@@ -2,6 +2,35 @@

<suite>

<ajc-test dir="bugs1611/pr336136" title="itit">
<compile files="Country_Roo_Op4j.java">
<message kind="error" text="The import com.foo cannot be resolved" line="1"/>
<message kind="error" text="The import org.javaruntype cannot be resolved" line="3"/>
<message kind="error" text="The import org.op4j cannot be resolved" line="4"/>
<message kind="error" text="The import org.op4j cannot be resolved" line="5"/>
<message kind="error" text="Country cannot be resolved to a type" line="9"/>
<message kind="error" text="Function cannot be resolved to a type" line="11"/>
<message kind="error" text="can't determine modifiers of missing type Country_Roo_Op4j$Keys"/>
</compile>"
</ajc-test>
<ajc-test dir="bugs1611/pr336136" title="itit - 2">
<compile files="Country_Roo_Op4j2.java" options="-1.5">
<message kind="error" text="The import com.foo cannot be resolved" line="1"/>
<message kind="error" text="The import org.javaruntype cannot be resolved" line="3"/>
<message kind="error" text="The import org.op4j cannot be resolved" line="4"/>
<message kind="error" text="The import org.op4j cannot be resolved" line="5"/>
<message kind="error" text="Country cannot be resolved to a type" line="9"/>
<message kind="error" text="Country cannot be resolved to a type" line="11"/>
<message kind="error" text="Function cannot be resolved to a type" line="11"/>
<message kind="error" text="Get cannot be resolved" line="11"/>
<message kind="error" text="Types cannot be resolved" line="11"/>
<message kind="error" text="can't determine modifiers of missing type Country_Roo_Op4j2$Keys"/>
</compile>"
</ajc-test>

<ajc-test dir="bugs1611/pr335682" title="pr335682">
<compile inpath="foo.jar" outjar="bar.jar"/>
</ajc-test>

Loading…
취소
저장