Author: mmao
Date: Sun Sep 23 19:37:52 2007
New Revision: 578626

URL: http://svn.apache.org/viewvc?rev=578626&view=rev
Log:
Fix the messages, thanks Glen.


Modified:
    
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
    
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/Tag.java
    
incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/AegisTest.java

Modified: 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java?rev=578626&r1=578625&r2=578626&view=diff
==============================================================================
--- 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
 (original)
+++ 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
 Sun Sep 23 19:37:52 2007
@@ -226,20 +226,20 @@
                         if (attr2.getLocalPart().equals(attr.getLocalPart())) {
                             found = true;
                         } else {
-                            throw new ComparisonFailure("Attribute not equal: 
", 
+                            throw new ComparisonFailure("Attributes not equal: 
", 
                                                         attr.toString(), 
                                                         attr2.toString());
                         }
                     }
                 }
                 if (!found) {
-                    throw new AssertionError("Attribute: " + attr + " is 
missing is the source file.");
+                    throw new AssertionError("Attribute: " + attr + " is 
missing in the source file.");
                 }
             }
 
             if (!StringUtils.isEmpty(expectedTag.getText())
                 && !expectedTag.getText().equals(sourceTag.getText())) {
-                throw new ComparisonFailure("Text not equal ", 
+                throw new ComparisonFailure("Text not equal: ", 
                                             expectedTag.getText().toString(), 
                                             sourceTag.getText().toString());
             }
@@ -277,12 +277,12 @@
                 }
             }
             if (!found) {
-                throw new AssertionError("Attribute: " + attr + " is missing 
is the source file.");
+                throw new AssertionError("Attribute: " + attr + " is missing 
in the source file.");
             }
         }
         if (!StringUtils.isEmpty(expected.getText())
                 && !expected.getText().equals(source.getText())) {
-            throw new ComparisonFailure("Text not equal ", 
+            throw new ComparisonFailure("Text not equal: ", 
                                         expected.getText().toString(), 
                                         source.getText().toString());
         }

Modified: 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/Tag.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/Tag.java?rev=578626&r1=578625&r2=578626&view=diff
==============================================================================
--- 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/Tag.java
 (original)
+++ 
incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/Tag.java
 Sun Sep 23 19:37:52 2007
@@ -81,7 +81,7 @@
         return attributes;
     }
     
-    private String getIndent(int size) {
+    private String createIndent(int size) {
         String indent = "    ";
         StringBuffer sb = new StringBuffer();
         for (int i = 0; i < size; i++) {
@@ -105,7 +105,7 @@
 
     private String formatTag(Tag tag, int indent) {
         StringBuffer sb = new StringBuffer();
-        sb.append(getIndent(indent));
+        sb.append(createIndent(indent));
         sb.append(indent);
         sb.append("<");
         sb.append(formatAttribute(tag));

Modified: 
incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/AegisTest.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/AegisTest.java?rev=578626&r1=578625&r2=578626&view=diff
==============================================================================
--- 
incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/AegisTest.java
 (original)
+++ 
incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/AegisTest.java
 Sun Sep 23 19:37:52 2007
@@ -91,7 +91,7 @@
     }
     
     @Test 
-    @org.junit.Ignore("The test seems failed on Vista")
+    @org.junit.Ignore("The test seems to have failed on Vista")
     public void testAegisReconfigureDatabinding() throws Exception {
         final String sei = 
"org.apache.cxf.tools.fortest.aegis2ws.TestAegisSEI";
         String[] args = new String[] {"-wsdl", "-o", output.getPath() + 
"/aegis.wsdl", 


Reply via email to