| 1 |
file = new File(basedir, "build.log") |
| 2 |
assert file.exists() |
| 3 |
execLine = file.readLines().find { line -> line.contains( ' Running : ajc ' ) } |
| 4 |
assert execLine != null |
| 5 |
assert execLine.contains(" -xmlConfigured ") |
| 6 |
assert execLine.contains("aopTestExample.xml ") |
| 7 |
|
| 8 |
text = file.getText() |
| 9 |
assert text.contains("Aspect 'Azpect' is scoped to apply against types matching pattern 'IncludedClazz'") |
| 10 |
assert text.contains("Type 'ExcludedClazz' not woven by aspect 'Azpect' due to scope exclusion in XML definition") |
| 11 |
assert !text.contains("Type 'IncludedClazz' not woven by aspect 'Azpect' due to scope exclusion in XML definition") |