cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r527412 - in /incubator/cxf/trunk/tools: common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.java
Date Wed, 11 Apr 2007 08:34:37 GMT
Author: mmao
Date: Wed Apr 11 01:34:35 2007
New Revision: 527412

URL: http://svn.apache.org/viewvc?view=rev&rev=527412
Log:
Rename compareTextFile to assertFileEquals

Modified:
    incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
    incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.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?view=diff&rev=527412&r1=527411&r2=527412
==============================================================================
--- 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
Wed Apr 11 01:34:35 2007
@@ -72,7 +72,7 @@
         return getClass().getResource(wsdlFile).toString();
     }
 
-    protected void compareTextFile(String location1, String location2) {
+    protected void assertFileEquals(String location1, String location2) {
         String str1 = getStringFromFile(location1);
         String str2 = getStringFromFile(location2);
 

Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.java?view=diff&rev=527412&r1=527411&r2=527412
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.java
(original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest.java
Wed Apr 11 01:34:35 2007
@@ -57,7 +57,7 @@
         assertTrue(output.exists());
         
         String expectedFile = getClass().getResource("expected/expected_stock_bare.wsdl").getFile();
-        compareTextFile(expectedFile, output.getAbsolutePath());
+        assertFileEquals(expectedFile, output.getAbsolutePath());
     }
 
     public void xtestWrapped() {
@@ -82,7 +82,7 @@
 
         String expectedFile = this.getClass().getResource("expected/expected_hello_world_async.wsdl")
             .getFile();
-        compareTextFile(expectedFile, output.getAbsolutePath());
+        assertFileEquals(expectedFile, output.getAbsolutePath());
     }
     
     private File getOutputFile(String fileName) {



Mime
View raw message