Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2145 - development/main/transit/core/handler/src/test/net/dpml/transit/test

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2145 - development/main/transit/core/handler/src/test/net/dpml/transit/test
  • Date: Sat, 26 Mar 2005 13:55:44 -0500

Author: niclas AT hedhman.org
Date: Sat Mar 26 13:55:44 2005
New Revision: 2145

Modified:

development/main/transit/core/handler/src/test/net/dpml/transit/test/OfflineTestCase.java
Log:
Fixed a bug in the testcase, forgetting to remove a potential artifact in the
cache before writing to it.

Modified:
development/main/transit/core/handler/src/test/net/dpml/transit/test/OfflineTestCase.java
==============================================================================
---
development/main/transit/core/handler/src/test/net/dpml/transit/test/OfflineTestCase.java
(original)
+++
development/main/transit/core/handler/src/test/net/dpml/transit/test/OfflineTestCase.java
Sat Mar 26 13:55:44 2005
@@ -20,6 +20,7 @@
package net.dpml.transit.test;

import java.io.BufferedReader;
+import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
@@ -116,6 +117,10 @@
public void testWriteNewArtifact()
throws Exception
{
+ String test = System.getProperty( "project.dir" );
+ File old = new File( test,
"target/test/cache/dpml/test/txts/sample.txt" );
+ System.out.println( old.getAbsolutePath() );
+ old.delete();
URL url = new URL( "artifact:txt:dpml/test/sample" );
OutputStream out = url.openConnection().getOutputStream();
for( int i = 65 ; i < 91 ; i++ )



  • svn commit: r2145 - development/main/transit/core/handler/src/test/net/dpml/transit/test, niclas, 03/26/2005

Archive powered by MHonArc 2.6.24.

Top of Page