Lines 822-827
Link Here
|
822 |
checkXMLAspectCount("PR131505","pkg.A",1); |
822 |
checkXMLAspectCount("PR131505","pkg.A",1); |
823 |
} |
823 |
} |
824 |
|
824 |
|
|
|
825 |
public void testPr134541() { |
826 |
initialiseProject("PR134541"); |
827 |
build("PR134541"); |
828 |
assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5, |
829 |
((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); |
830 |
alter("PR134541","inc1"); |
831 |
build("PR134541"); |
832 |
assertEquals("[Xlint:adviceDidNotMatch] should now be associated with line 7",7, |
833 |
((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); |
834 |
} |
825 |
|
835 |
|
826 |
// other possible tests: |
836 |
// other possible tests: |
827 |
// - memory usage (freemem calls?) |
837 |
// - memory usage (freemem calls?) |