1 | void testNoSourcefileDefined() {↵ | | 1 | void test↵
|
2 | expectBuildException("testNoSourcefileDefined",↵ | | 2 | Orboth() {↵
|
| | | 3 | expectPropertySet("orboth","orboth");↵
|
3 | ↵ | | 4 | }↵
|
|
4 | "source file not defined");↵ | | 5 | ↵
|
5 | }↵ | | |
|
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | 6 | public void testFilesmatchIdentical() {↵
|
| | | 7 | expectPropertySet("filesmatch-identical","filesmatch-identical");↵
|
8 | */↵ | | 8 | }↵
|
|
|
9 | public void testNoPropertyDefined() {↵ | | 9 | public void testFilesmatchIncomplete() {↵
|
10 | expectBuildException("testNoPropertyDefined",↵ | | 10 | expectSpecificBuildException("↵
|
11 | "output property not defined");↵ | | |
|
12 | }↵ | | |
|
|
|
13 | /**↵ | | |
|
14 | * A unit test for JUnit↵ | | 11 | filesmatch-incomplete",↵
|
| | | 12 | "Missing file2 attribute",↵
|
15 | */↵ | | 13 | ↵
|
16 | public void testNoSourcefilefound() {↵ | | 14 | ↵
|
17 | expectBuildExceptionContaining("testNoSourcefilefound",↵ | | |
|
18 | "File not found", " doesn't exist");↵ | | 15 | "both file1 and file2 are required in filesmatch");↵
|
19 | | | 16 |
|