Lines 846-851
Link Here
|
846 |
decisions.indexOf(expect)!=-1); |
846 |
decisions.indexOf(expect)!=-1); |
847 |
} |
847 |
} |
848 |
|
848 |
|
|
|
849 |
public void testPr134541() { |
850 |
initialiseProject("PR134541"); |
851 |
build("PR134541"); |
852 |
assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5, |
853 |
((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); |
854 |
alter("PR134541","inc1"); |
855 |
build("PR134541"); |
856 |
checkWasntFullBuild(); // we've only added a white space therefore we |
857 |
// shouldn't be doing a full build |
858 |
assertEquals("[Xlint:adviceDidNotMatch] should now be associated with line 7",7, |
859 |
((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); |
860 |
} |
861 |
|
862 |
|
849 |
// other possible tests: |
863 |
// other possible tests: |
850 |
// - memory usage (freemem calls?) |
864 |
// - memory usage (freemem calls?) |
851 |
// - relationship map |
865 |
// - relationship map |