You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2006/12/30 01:29:00 UTC
svn commit: r491141 -
/incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/app/AppTest.java
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();