You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

newfeatures-tests.xml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <!-- AspectJ v1.7.1 Features Tests -->
  3. <suite>
  4. <ajc-test dir="features171/pr386341" title="Test Shared Cache">
  5. <compile files="A.java" options="-1.5"/>
  6. <compile files="X.aj" options="-1.5 -Xlint:ignore" />
  7. <run class="A" ltw="aop.xml" usefullltw="true" vmargs="-Daj.weaving.cache.enabled=true -Daj.weaving.cache.dir=./ -Daj.weaving.cache.impl=shared" >
  8. <stdout>
  9. <line text="It Worked-before"/>
  10. <line text="It Worked-after"/>
  11. </stdout>
  12. </run>
  13. </ajc-test>
  14. <ajc-test dir="features171/pr386341" title="Test Per ClassLoader Cache">
  15. <compile files="A.java" options="-1.5"/>
  16. <compile files="X.aj" options="-1.5 -Xlint:ignore" />
  17. <run class="A" ltw="aop.xml" usefullltw="true" vmargs="-Daj.weaving.cache.enabled=true -Daj.weaving.cache.dir=./ -Daj.weaving.cache.impl=perloader" >
  18. <stdout>
  19. <line text="It Worked-before"/>
  20. <line text="It Worked-after"/>
  21. </stdout>
  22. </run>
  23. </ajc-test>
  24. <ajc-test dir="features171/pr386341" title="Test Default Cache Per ClassLoader">
  25. <compile files="A.java" options="-1.5"/>
  26. <compile files="X.aj" options="-1.5 -Xlint:ignore" />
  27. <run class="A" ltw="aop.xml" usefullltw="true" vmargs="-Daj.weaving.cache.enabled=true -Daj.weaving.cache.dir=./" >
  28. <stdout>
  29. <line text="It Worked-before"/>
  30. <line text="It Worked-after"/>
  31. </stdout>
  32. </run>
  33. </ajc-test>
  34. </suite>