[exo-jcr-commits] exo-jcr SVN: r2187 - in jcr/trunk: applications/product-patches/as/tomcat and 2 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Mar 30 05:38:55 EDT 2010
Author: areshetnyak
Date: 2010-03-30 05:38:54 -0400 (Tue, 30 Mar 2010)
New Revision: 2187
Modified:
jcr/trunk/applications/product-patches/as/jonas/exo-configuration.xml
jcr/trunk/applications/product-patches/as/tomcat/exo-configuration.xml
jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
jcr/trunk/exo.jcr.framework.ftpclient/src/test/java/org/exoplatform/frameworks/ftpclient/multimulti/TestAgent.java
Log:
EXOJCR-150 : The tests fixed. The cause of problem to one of test is configuration FtpService on server.
Modified: jcr/trunk/applications/product-patches/as/jonas/exo-configuration.xml
===================================================================
--- jcr/trunk/applications/product-patches/as/jonas/exo-configuration.xml 2010-03-30 07:52:32 UTC (rev 2186)
+++ jcr/trunk/applications/product-patches/as/jonas/exo-configuration.xml 2010-03-30 09:38:54 UTC (rev 2187)
@@ -258,7 +258,7 @@
</value-param>
<value-param>
<name>cache-folder-name</name>
- <value>target/ftp_cache</value>
+ <value>../temp/ftp_cache</value>
</value-param>
<!-- bytes per second -->
Modified: jcr/trunk/applications/product-patches/as/tomcat/exo-configuration.xml
===================================================================
--- jcr/trunk/applications/product-patches/as/tomcat/exo-configuration.xml 2010-03-30 07:52:32 UTC (rev 2186)
+++ jcr/trunk/applications/product-patches/as/tomcat/exo-configuration.xml 2010-03-30 09:38:54 UTC (rev 2187)
@@ -258,7 +258,7 @@
</value-param>
<value-param>
<name>cache-folder-name</name>
- <value>target/ftp_cache</value>
+ <value>../temp/ftp_cache</value>
</value-param>
<!-- bytes per second -->
Modified: jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-03-30 07:52:32 UTC (rev 2186)
+++ jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-03-30 09:38:54 UTC (rev 2187)
@@ -53,11 +53,17 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ <excludes>
+ <excluse>**/TestAgent.java</excluse>
+ </excludes>
+ </configuration>
</plugin>
</plugins>
</pluginManagement>
Modified: jcr/trunk/exo.jcr.framework.ftpclient/src/test/java/org/exoplatform/frameworks/ftpclient/multimulti/TestAgent.java
===================================================================
--- jcr/trunk/exo.jcr.framework.ftpclient/src/test/java/org/exoplatform/frameworks/ftpclient/multimulti/TestAgent.java 2010-03-30 07:52:32 UTC (rev 2186)
+++ jcr/trunk/exo.jcr.framework.ftpclient/src/test/java/org/exoplatform/frameworks/ftpclient/multimulti/TestAgent.java 2010-03-30 09:38:54 UTC (rev 2187)
@@ -56,6 +56,15 @@
private ClientThread clientThread;
private boolean successed = false;
+
+ /**
+ * the name of the test case
+ */
+ private String fName;
+
+ public TestAgent(String name) {
+ fName= name;
+ }
public TestAgent(int agentId, int itemsCount)
{
More information about the exo-jcr-commits
mailing list