1 | void testBadName() throws Exception {↵ | | 1 | void testMagicPropertyOverridesEmptyString() throws Exception {↵
|
2 | expectBuildExceptionContaining("testBadName",↵ | | 2 | expectBuildExceptionContaining("testMagicPropertyOverridesEmptyString",↵
|
3 | "compiler not known",↵ | | 3 | "magic property not working",↵
|
4 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵ | | 4 | RmicAdapterFactory.ERROR_UNKNOWN_COMPILER);↵
|
5 | }↵ | | 5 | }↵
|
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * load an adapter by name↵ | | 7 | *↵
|
8 | */↵ | | 8 | */↵
|
9 | public void testExplicitClass() throws Exception {↵ | | 9 | public void testMagicPropertyIsEmptyString() throws Exception {↵
|
10 | executeTarget("testExplicitClass");↵ | | 10 | executeTarget("test↵
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * A unit test for JUnit↵ | | |
|
14 | */↵ | | 11 | MagicPropertyIsEmptyString");↵
|
| | | 12 | }↵
|
|
|
15 | public void testWrongClass() throws Exception {↵ | | 13 | public void NotestFailingAdapter() throws Exception {↵
|
16 | expectBuildExceptionContaining("testWrongClass",↵ | | 14 | expectBuildExceptionContaining("testFailingAdapter",↵
|
17 | "class not an RMIC adapter",↵ | | 15 | "expected failures to propagate",↵
|
18 | RmicAdapterFactory.ERROR_NOT_RMIC_ADAPTER);↵ | | 16 | Rmic.ERROR_RMIC_FAILED);↵
|
19 | | | 17 |
|