diff options
author | wisberg <wisberg> | 2003-01-06 23:13:22 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-01-06 23:13:22 +0000 |
commit | 3d5e79f273c89abc930b6d2240b2e38abc18857c (patch) | |
tree | 63a982a7084ce41479fa4217c49d25760039a0fc | |
parent | fa63eb539504e91b3d070d5cf723346b9a86d0aa (diff) | |
download | aspectj-3d5e79f273c89abc930b6d2240b2e38abc18857c.tar.gz aspectj-3d5e79f273c89abc930b6d2240b2e38abc18857c.zip |
added two harness test cases, for classpath (jar and dir)
and aspectpath.
Currently all cases using ErrorWarning.java give
unexpected results because the declare warning does
not work.
-rw-r--r-- | tests/ajcHarnessTests.xml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml index cfe5f3456..bc7a1b550 100644 --- a/tests/ajcHarnessTests.xml +++ b/tests/ajcHarnessTests.xml @@ -2,6 +2,10 @@ <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"> <!-- + To log unexpected results, run + with -logPass -ajctestRequireKeywords=expect-fail + or with -logFail -ajctestSkipKeywords=expect-fail + hmm. not running suite if any test fails setup? <ajc-test dir="new" title="bad arguments passed to ajc" @@ -23,6 +27,7 @@ keywords="expect-fail"> <compile files="NoSuchFile.java"/> </ajc-test> + <ajc-test dir="harness" title="1 error and 1 warning, with warning line wrong" keywords="expect-fail"> @@ -59,7 +64,8 @@ <ajc-test dir="harness" title="1 error and 1 warning, failed to specify expected warning " - keywords="expect-fail"> + keywords="expect-fail" + comment="unexpected pass b/c 1.1 bug: declare fails to warn"> <compile files="ErrorWarning.java"> <message kind="error" line="13"/> </compile> @@ -128,6 +134,23 @@ <compile files="TestNoTester.java"/> <run class="TestNoTester" skipTester="true"/> </ajc-test> + + <ajc-test dir="harness/classpathTest" + title="specify jars and directories on classpath" + keywords="purejava"> + <compile classpath="classesDir,jars/required.jar" + files="Main.java"/> + <run class="Main"/> + </ajc-test> + + <ajc-test dir="harness/classpathTest" + title="specify aspectpath and classpath jars and directories"> + <compile classpath="classesDir,jars/required.jar" + aspectpath="jars/requiredAspects.jar" + files="AspectMain.java"/> + <run class="AspectMain"/> + </ajc-test> + </suite> |