wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jra...@apache.org
Subject svn commit: r1028002 - /incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java
Date Wed, 27 Oct 2010 15:21:46 GMT
Author: jramos
Date: Wed Oct 27 15:21:46 2010
New Revision: 1028002

URL: http://svn.apache.org/viewvc?rev=1028002&view=rev
Log:
Update WADL unit test

Modified:
    incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java

Modified: incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java?rev=1028002&r1=1028001&r2=1028002&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java
(original)
+++ incubator/wink/trunk/wink-common/src/test/java/org/apache/wink/common/model/wadl/WADLGeneratorTest.java
Wed Oct 27 15:21:46 2010
@@ -65,7 +65,7 @@ public class WADLGeneratorTest {
     @Test
     public void testGenerateEmptyApp() throws Exception {
         WADLGenerator generator = new WADLGenerator();
-        Application app = generator.generate(null);
+        Application app = generator.generate(null, null);
         Assert.assertNotNull(app);
 
         Assert.assertEquals(0, app.getAny().size());
@@ -379,7 +379,7 @@ public class WADLGeneratorTest {
         classes.add(Resource1.class);
         classes.add(Resource2.class);
         classes.add(MyInterface.class);
-        Application app = generator.generate(classes);
+        Application app = generator.generate("", classes);
         Assert.assertNotNull(app);
         marshalIt(app);
     }



Mime
View raw message