svn commit: r12948 - trunk: src_new tests/org/argouml/uml/reveng

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2007-07-01 01:07:22-0700
New Revision: 12948

Modified:
   trunk/src_new/build.xml
   trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java

Log:
Compile the org.argouml.uml.reveng.TestJavaImportUnicode test case with the
ISO8859-1 encoding.

Modified: trunk/src_new/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/build.xml?view=diff&rev=12948&p1=trunk/src_new/build.xml&p2=trunk/src_new/build.xml&r1=12947&r2=12948
==============================================================================
--- trunk/src_new/build.xml	(original)
+++ trunk/src_new/build.xml	2007-07-01 01:07:22-0700
@@ -759,6 +759,27 @@
            optimize="false" 
            destdir="${argo.tests.classes}"
            srcdir="${argo.tests.src}"
+	   includes="org/argouml/uml/reveng/TestJavaImportUnicode.java"
+           excludes="org/argouml/model/uml/**"
+	   encoding="iso8859-1"
+    	   source="1.5"
+           target="1.5">
+      <compilerarg compiler="javac1.5" line="-Xlint:unchecked"/>
+      <classpath>
+        <pathelement location="${argo.build.classes}"/>
+        <pathelement location="${junit.jar.path}"/>
+        <pathelement location="${easymock.jar.path}"/>
+        <pathelement location="${jdepend.jar.path}"/>
+	<path refid="argo.compile.classpath"/>
+      </classpath>
+    </javac>
+
+    <!-- We want debug, optimize, deprecation to be non-modifiable here -->
+    <javac debug="true" 
+           deprecation="${deprecation}"
+           optimize="false" 
+           destdir="${argo.tests.classes}"
+           srcdir="${argo.tests.src}"
            excludes="org/argouml/model/uml/**"
     	   source="1.5"
            target="1.5">

Modified: trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java?view=diff&rev=12948&p1=trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java&p2=trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java&r1=12947&r2=12948
==============================================================================
--- trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java	(original)
+++ trunk/tests/org/argouml/uml/reveng/TestJavaImportUnicode.java	2007-07-01 01:07:22-0700
@@ -41,9 +41,14 @@
 import antlr.TokenStreamException;
 
 /**
- * Test the import of Java sources which have Unicode characters in various
- * locations, including in identifiers. The content of the Java source file is a
- * private constant at the bottom of the source of this class.
+ * Test the import of Java sources which have Unicode characters in
+ * various locations, including in identifiers.
+ *
+ * The content of the Java source file is a private constant at the
+ * bottom of the source of this class.
+ *
+ * The constant is written using the ISO8859-1 encoding so this class
+ * needs to be compiled using that encoding.
  */
 public class TestJavaImportUnicode extends TestCase {
     /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.