commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject svn commit: r154757 - in jakarta/commons/proper/feedparser/trunk: TODO_RELEASE project.xml src/java/org/apache/commons/feedparser/test/BaseTestCase.java xdocs/downloads.xml
Date Tue, 22 Feb 2005 01:45:26 GMT
Author: burton
Date: Mon Feb 21 17:45:24 2005
New Revision: 154757

URL: http://svn.apache.org/viewcvs?view=rev&rev=154757
Log:
forgot to add a test case

Added:
    jakarta/commons/proper/feedparser/trunk/src/java/org/apache/commons/feedparser/test/BaseTestCase.java
Modified:
    jakarta/commons/proper/feedparser/trunk/TODO_RELEASE
    jakarta/commons/proper/feedparser/trunk/project.xml
    jakarta/commons/proper/feedparser/trunk/xdocs/downloads.xml

Modified: jakarta/commons/proper/feedparser/trunk/TODO_RELEASE
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/TODO_RELEASE?view=diff&r1=154756&r2=154757
==============================================================================
--- jakarta/commons/proper/feedparser/trunk/TODO_RELEASE (original)
+++ jakarta/commons/proper/feedparser/trunk/TODO_RELEASE Mon Feb 21 17:45:24 2005
@@ -1,7 +1,11 @@
 
+- Nighly builds
+- Gump builds
+- Pu
+
 
 - better documentation
 - javadoc
 - examples
 - unit tests
-- conformance    
\ No newline at end of file
+- conformance    

Modified: jakarta/commons/proper/feedparser/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/project.xml?view=diff&r1=154756&r2=154757
==============================================================================
--- jakarta/commons/proper/feedparser/trunk/project.xml (original)
+++ jakarta/commons/proper/feedparser/trunk/project.xml Mon Feb 21 17:45:24 2005
@@ -86,16 +86,23 @@
         <dependency>
             <id>jdom</id>
 
-            <!-- actually we need b9 here -->
-            <version>b10</version>
+            <!-- actually we need b9 here .  Is it available? -->
+            <version>b9</version>
 
         </dependency>
-        
+
         <dependency>
             <id>jaxen</id>
             <version>1.1-beta-4</version>
         </dependency>
-        
+
+             <!--
+        <dependency>
+            <id>jaxen</id>
+            <version>1.0</version>
+        </dependency>
+                  -->
+
         <dependency>
             <id>junit</id>
             <version>3.8.1</version>
@@ -110,12 +117,7 @@
             <id>log4j</id>
             <version>1.2.6</version>
         </dependency>
-        
-        <dependency>
-            <id>jaxen</id>
-            <version>1.0</version>
-        </dependency>
-        
+
         <dependency>
             <id>xmlrpc</id>
             <version>1.2</version>

Added: jakarta/commons/proper/feedparser/trunk/src/java/org/apache/commons/feedparser/test/BaseTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/src/java/org/apache/commons/feedparser/test/BaseTestCase.java?view=auto&rev=154757
==============================================================================
--- jakarta/commons/proper/feedparser/trunk/src/java/org/apache/commons/feedparser/test/BaseTestCase.java
(added)
+++ jakarta/commons/proper/feedparser/trunk/src/java/org/apache/commons/feedparser/test/BaseTestCase.java
Mon Feb 21 17:45:24 2005
@@ -0,0 +1,58 @@
+/*
+ * Copyright 1999,2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.feedparser.test;
+
+import java.applet.*;
+import java.util.*;
+import java.io.*;
+import java.net.*;
+import java.security.*;
+
+import junit.framework.*;
+
+import org.apache.commons.feedparser.*;
+import org.apache.commons.feedparser.impl.*;
+import org.apache.commons.feedparser.network.*;
+
+/**
+ *
+ * @author <a href="mailto:burton@peerfear.org">Kevin A. Burton</a>
+ * @version $Id: TestAtom.java 149187 2005-01-30 23:54:29Z burton $
+ */
+public class BaseTestCase extends TestCase {
+
+    public BaseTestCase( String name ) throws Exception {
+        super( name );
+    }
+
+    public String captureOutputFromTest( String resource ) throws Exception {
+
+        FeedParser parser = FeedParserFactory.newFeedParser();
+
+        FeedParserListener listener = new CaptureOutputFeedParserListener();
+        
+        ResourceRequest request = ResourceRequestFactory.getResourceRequest( resource );
+        
+        parser.parse( listener, request.getInputStream(), resource );
+
+        String output = listener.toString();
+
+        return output;
+        
+    }
+
+}

Modified: jakarta/commons/proper/feedparser/trunk/xdocs/downloads.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/xdocs/downloads.xml?view=diff&r1=154756&r2=154757
==============================================================================
--- jakarta/commons/proper/feedparser/trunk/xdocs/downloads.xml (original)
+++ jakarta/commons/proper/feedparser/trunk/xdocs/downloads.xml Mon Feb 21 17:45:24 2005
@@ -35,11 +35,23 @@
            <a href="http://cvs.apache.org/builds/jakarta-commons/nightly/commons-feedparser/">
            Nightly source and binary drops</a> are available.
          </p>
+
 -->
-         <p>
-            Access to the source tree to see the latest and greatest code is possible
-            through <a href="cvs-usage.html">anonymous SVN access</a>.
-         </p>
+          <p>
+              
+              The Subversion repository for FeedParser can be 
+              
+              <a href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/feedparser/trunk/">
+                  browsed online
+              </a>.
+
+          </p>
+
+          <p>
+              Access to the source tree to see the latest and greatest code is possible
+              through <a href="cvs-usage.html">anonymous SVN access</a>.
+          </p>
+
       </section>
 
 <!--



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message