You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/10/29 02:23:59 UTC

svn commit: r1028561 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java

Author: sebb
Date: Fri Oct 29 00:23:59 2010
New Revision: 1028561

URL: http://svn.apache.org/viewvc?rev=1028561&view=rev
Log:
Fix up so test case works in Eclipse too

Modified:
    jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java

Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java?rev=1028561&r1=1028560&r2=1028561&view=diff
==============================================================================
--- jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java (original)
+++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileRowColContainer.java Fri Oct 29 00:23:59 2010
@@ -39,7 +39,7 @@ public class TestFileRowColContainer ext
     }
 
     public void testrowNum() throws Exception {
-        FileRowColContainer f = new FileRowColContainer("testfiles/test.csv");
+        FileRowColContainer f = new FileRowColContainer(findTestPath("testfiles/test.csv"));
         assertNotNull(f);
         assertEquals("Expected 4 lines", 4, f.getSize());
 
@@ -52,7 +52,7 @@ public class TestFileRowColContainer ext
     }
 
     public void testColumns() throws Exception {
-        FileRowColContainer f = new FileRowColContainer("testfiles/test.csv");
+        FileRowColContainer f = new FileRowColContainer(findTestPath("testfiles/test.csv"));
         assertNotNull(f);
         assertTrue("Not empty", f.getSize() > 0);
 
@@ -73,7 +73,7 @@ public class TestFileRowColContainer ext
     }
 
     public void testColumnsComma() throws Exception {
-        FileRowColContainer f = new FileRowColContainer("testfiles/test.csv", ",");
+        FileRowColContainer f = new FileRowColContainer(findTestPath("testfiles/test.csv"), ",");
         assertNotNull(f);
         assertTrue("Not empty", f.getSize() > 0);
 
@@ -94,7 +94,7 @@ public class TestFileRowColContainer ext
     }
 
     public void testColumnsTab() throws Exception {
-        FileRowColContainer f = new FileRowColContainer("testfiles/test.tsv", "\t");
+        FileRowColContainer f = new FileRowColContainer(findTestPath("testfiles/test.tsv"), "\t");
         assertNotNull(f);
         assertTrue("Not empty", f.getSize() > 0);
 
@@ -115,7 +115,7 @@ public class TestFileRowColContainer ext
     }
 
     public void testEmptyCols() throws Exception {
-        FileRowColContainer f = new FileRowColContainer("testfiles/testempty.csv");
+        FileRowColContainer f = new FileRowColContainer(findTestPath("testfiles/testempty.csv"));
         assertNotNull(f);
         assertEquals("Expected 4 lines", 4, f.getSize());
 



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