wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r812682 - in /incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src: main/java/org/apache/wink/jaxrs/test/atom/Comment.java test/java/org/apache/wink/jaxrs/test/AtomTest.java
Date Tue, 08 Sep 2009 20:40:07 GMT
Author: bluk
Date: Tue Sep  8 20:40:07 2009
New Revision: 812682

URL: http://svn.apache.org/viewvc?rev=812682&view=rev
Log:
Fix wink integration Atom tests

Modified:
    incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Comment.java
    incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/test/java/org/apache/wink/jaxrs/test/AtomTest.java

Modified: incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Comment.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Comment.java?rev=812682&r1=812681&r2=812682&view=diff
==============================================================================
--- incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Comment.java
(original)
+++ incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Comment.java
Tue Sep  8 20:40:07 2009
@@ -72,7 +72,7 @@
         AtomEntry entry = new AtomEntry();
         AtomContent content = new AtomContent();
         content.setValue(this.content);
-        content.setType("String");
+        content.setType("text");
         entry.setContent(content);
         entry.getAuthors().add(this.author.toAtomPerson());
         entry.setTitle(new AtomText(this.title));

Modified: incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/test/java/org/apache/wink/jaxrs/test/AtomTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/test/java/org/apache/wink/jaxrs/test/AtomTest.java?rev=812682&r1=812681&r2=812682&view=diff
==============================================================================
--- incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/test/java/org/apache/wink/jaxrs/test/AtomTest.java
(original)
+++ incubator/wink/trunk/wink-itests/wink-itest/wink-itest-extra-providers/src/test/java/org/apache/wink/jaxrs/test/AtomTest.java
Tue Sep  8 20:40:07 2009
@@ -187,7 +187,7 @@
         author.setEmail("winkblogadmin@wink.blog.com");
         entry.getAuthors().add(author);
         AtomContent content = new AtomContent();
-        content.setType("String");
+        content.setType("text");
         content.setValue("This is a new entry in the blog");
         entry.setContent(content);
         entry.setTitle(new AtomText(("New blog entry")));
@@ -235,7 +235,7 @@
         author.setEmail("winkcoder@mybusiness.com");
         entry.getAuthors().add(author);
         AtomContent content = new AtomContent();
-        content.setType("String");
+        content.setType("text");
         content.setValue("I was able to set up the Wink development environment!");
         entry.setContent(content);
         entry.setTitle(new AtomText(("Success")));



Mime
View raw message