Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

tracing.xml 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <!-- Tracing Tests -->
  3. <suite>
  4. <ajc-test dir="tracing" title="Tracing" keywords="tracing">
  5. <compile
  6. files="TracingTest.java"
  7. />
  8. <ant file="ant.xml" target="Tracing" verbose="true">
  9. <stdout>
  10. <line text="? TracingTest.main() trace="/>
  11. </stdout>
  12. </ant>
  13. </ajc-test>
  14. <ajc-test dir="tracing" title="Default tracing" keywords="tracing">
  15. <compile
  16. files="DefaultTracingTest.java"
  17. />
  18. <ant file="ant.xml" target="Default tracing" verbose="true">
  19. <stdout>
  20. <line text="? DefaultTracingTest.main() trace=org.aspectj.weaver.tools.DefaultTrace"/>
  21. </stdout>
  22. </ant>
  23. </ajc-test>
  24. <ajc-test dir="tracing" title="Trace messages" keywords="tracing">
  25. <compile
  26. files="HelloWorld.java"
  27. />
  28. <compile
  29. files="IncludedAspect.aj, ExcludedAspect.aj"
  30. />
  31. <ant file="ant.xml" target="Trace messages" verbose="true">
  32. <stdout>
  33. <line text="Hello World!"/>
  34. </stdout>
  35. <!--
  36. Always get info messages even without -verbose because output determined
  37. by tracing infrastructure.
  38. Duplicate warning and error messages: first through trace then message
  39. writer
  40. -->
  41. <stderr>
  42. <line text="info AspectJ Weaver Version DEVELOPMENT built on"/>
  43. <line text="info register classloader"/>
  44. <line text="info using configuration"/>
  45. <line text="info register aspect IncludedAspect"/>
  46. <line text="warning aspect ExcludedAspect exluded"/>
  47. <line text="warning aspect ExcludedAspect exluded"/>
  48. <line text="error Cannot find m_parent aspect"/>
  49. <line text="error Cannot find m_parent aspect"/>
  50. <line text="warning register definition failed"/>
  51. <line text="warning register definition failed"/>
  52. </stderr>
  53. </ant>
  54. </ajc-test>
  55. </suite>