1 | void testTask() {↵ | | 1 | void testFilesmatchIdentical() {↵
|
2 | expectPropertySet("testTask", "testTask");↵ | | 2 | expectPropertySet("filesmatch-identical","filesmatch-identical");↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | public void testUndefined() {↵ | | 4 | public void testFilesmatchIncomplete() {↵
|
5 | expectBuildExceptionContaining("testUndefined","left out the name attribute", "No type specified↵ | | 5 | expectSpecificBuildException("filesmatch-incomplete",↵
|
| | | 6 | "Missing file2 attribute",↵
|
6 | ");↵ | | 7 | "both file1 and file2 are required in filesmatch");↵
|
7 | }↵ | | 8 | }↵
|
|
8 | public void testTaskThatIsntDefined() {↵ | | 9 | public void testFilesmatchOddsizes() {↵
|
9 | expectPropertyUnset("testTaskThatIsntDefined", "testTaskThatIsntDefined");↵ | | 10 | expectPropertyUnset("filesmatch-oddsizes","filesmatch-oddsizes");↵
|
10 | }↵ | | 11 | }↵
|
|
11 | public void testTaskThatDoesntReallyExist() {↵ | | 12 | public void testFilesmatchExistence() {↵
|
12 | expectPropertyUnset("testTaskThatDoesntReallyExist", "testTaskThatDoesntReallyExist");↵ | | 13 | expectPropertyUnset("filesmatch-existence", "filesmatch-existence");↵
|
13 | | | 14 |
|