abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r491141 - /incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java
Date Sat, 30 Dec 2006 00:29:00 GMT
Author: jmsnell
Date: Fri Dec 29 16:28:59 2006
New Revision: 491141

URL: http://svn.apache.org/viewvc?view=rev&rev=491141
Log:
Test case for the RequestOptions set date header bug

Modified:
    incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java

Modified: incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java?view=diff&rev=491141&r1=491140&r2=491141
==============================================================================
--- incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java
(original)
+++ incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java
Fri Dec 29 16:28:59 2006
@@ -329,6 +329,13 @@
       );
   }  
   
+  public void testRequestOptions() throws Exception {
+    Client client = new CommonsClient();
+    RequestOptions options = client.getDefaultRequestOptions();
+    options.setIfModifiedSince(new Date());
+    assertNotNull(options.getIfModifiedSince());
+  }
+  
   public void testAppClient() throws Exception {
     Client client = new CommonsClient();
     Entry entry = getFactory().newEntry();



Mime
View raw message