summaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-08 11:14:45 +0000
committeraclement <aclement>2005-11-08 11:14:45 +0000
commit481e39cf090c52f7a67956791adc82922ea8bf9f (patch)
tree9686597ec20b8a496741075436170b8aa870b0b6 /ajde
parent6cb89d22cff49645245458802aef0b623c8b6c7c (diff)
downloadaspectj-481e39cf090c52f7a67956791adc82922ea8bf9f.tar.gz
aspectj-481e39cf090c52f7a67956791adc82922ea8bf9f.zip
Second patch from 95516 (ant support for -outxml) - patch from Matthew
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/OutxmlTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/OutxmlTest.java b/ajde/testsrc/org/aspectj/ajde/OutxmlTest.java
index bde409706..aba6faf52 100644
--- a/ajde/testsrc/org/aspectj/ajde/OutxmlTest.java
+++ b/ajde/testsrc/org/aspectj/ajde/OutxmlTest.java
@@ -71,6 +71,22 @@ public class OutxmlTest extends AjdeTestCase {
}
/**
+ * Aim: Test "-outxml" option produces the correct
+ * xml entry in outjar file
+ *
+ */
+ public void testOutxmlToOutjar () {
+ File outjar = openFile(OUTJAR_NAME);
+ ideManager.getProjectProperties().setOutJar(outjar.getAbsolutePath());
+ assertTrue("Build failed",doSynchronousBuild("outxml-to-outjar.lst"));
+ assertTrue("Build warnings",ideManager.getCompilationSourceLineTasks().isEmpty());
+
+ File aopxml = openFile(BIN_DIR + "/" + DEFAULT_AOPXML_NAME);
+ assertFalse(DEFAULT_AOPXML_NAME + " should not exisit",aopxml.exists());
+ assertJarContainsEntry(outjar,DEFAULT_AOPXML_NAME);
+ }
+
+ /**
* Aim: Test "-outxmlfile filename" option produces the correct
* xml entry in outjar file
*