Thread: [JWebUnit-development] SF.net SVN: jwebunit:[818] trunk (Page 3)
Brought to you by:
henryju
|
From: <he...@us...> - 2009-12-15 13:22:52
|
Revision: 818
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=818&view=rev
Author: henryju
Date: 2009-12-15 13:22:43 +0000 (Tue, 15 Dec 2009)
Log Message:
-----------
Additional fixes based on findbugs report.
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -65,7 +65,7 @@
cells[2][3] = new Cell("40%", 1, 1);
Table table = new Table(cells);
assertPass("assertTableRowsEqual", new Object[] { "myTable",
- new Integer(0), table });
+ Integer.valueOf(0), table });
assertFail("assertTableEquals", new Object[] { "myTable", table });
}
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -63,7 +63,7 @@
cells[2][2]=new Cell("0.003",1,1);
cells[2][3]=new Cell("40%",1,1);
Table table = new Table(cells);
- assertPass("assertTableRowsEqual", new Object[]{"myTable", new Integer(0), table});
+ assertPass("assertTableRowsEqual", new Object[]{"myTable", Integer.valueOf(0), table});
assertFail("assertTableEquals", new Object[]{"myTable", table});
}
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -88,7 +88,7 @@
public void testAssertTableRowCountEquals() throws Throwable {
assertPassFail("assertTableRowCountEquals", new Object[] {
"tree", new Integer(3)}, new Object[] {
- "tree", new Integer(4)});
+ "tree", Integer.valueOf(4)});
}
public void testAssertTableEqualsExtraColumn() throws Throwable {
@@ -129,7 +129,7 @@
public void testAssertTableRowsEquals() throws Throwable {
assertPass("assertTableRowsEqual", new Object[] {
"testTable",
- new Integer(1),
+ Integer.valueOf(1),
new String[][] { { "table text row 2" },
{ "table text row 3", "row 3 col 1" } } });
}
@@ -137,7 +137,7 @@
public void testAssertTableRowsEqualsTooManyExpected() throws Throwable {
assertFail("assertTableRowsEqual", new Object[] {
"testTable",
- new Integer(2),
+ Integer.valueOf(2),
new String[][] { { "table text row 3", "row 3 col 1" },
{ "unexpected" } } });
}
@@ -189,7 +189,7 @@
public void testAssertTableRowsMatch() throws Throwable {
assertPass("assertTableRowsMatch",
new Object[]{"testTable",
- new Integer(1),
+ Integer.valueOf(1),
new String[][]{{"table text row 2"},
{"table text row 3", "row 3 col 1"}}});
}
@@ -197,7 +197,7 @@
public void testAssertTableRowsMatchTooManyExpected() throws Throwable {
assertFail("assertTableRowsMatch",
new Object[]{"testTable",
- new Integer(2),
+ Integer.valueOf(2),
new String[][]{{"table text row 3", "row 3 col 1"},
{"unexpected", ""}}});
}
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -68,16 +68,16 @@
public void testAssertLinkPresentWithTextN() throws Throwable {
assertPass("assertLinkPresentWithText", new Object[] { "test link",
- new Integer(0) });
+ Integer.valueOf(0) });
assertFail("assertLinkPresentWithText", new Object[] { "test link",
- new Integer(1) });
+ Integer.valueOf(1) });
}
public void testAssertLinkNotPresentWithTextN() throws Throwable {
assertPass("assertLinkNotPresentWithText", new Object[] { "test link",
new Integer(1) });
assertFail("assertLinkNotPresentWithText", new Object[] { "test link",
- new Integer(0) });
+ Integer.valueOf(0) });
}
public void testAssertLinkPresent() throws Throwable {
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -72,9 +72,6 @@
} else {
String fieldName = item.getFieldName();
String fileName = item.getName();
- String contentType = item.getContentType();
- boolean isInMemory = item.isInMemory();
- long sizeInBytes = item.getSize();
out.write(" " + fieldName + "=" + fileName
+ "{" + new String(item.get()) + "}");
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -38,8 +38,13 @@
if (request.getParameter("timeout") != null && request.getParameter("timeout").length() > 0) {
int seconds = Integer.parseInt(request.getParameter("timeout"));
long start = System.currentTimeMillis();
- while (System.currentTimeMillis() < start + (seconds * 1000))
- ; // wait
+ while (System.currentTimeMillis() < start + (seconds * 1000)) {
+ try {
+ Thread.sleep(1000);
+ } catch (InterruptedException e) {
+ continue;
+ }
+ }
}
// lets set some headers
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2009-12-15 13:05:33 UTC (rev 817)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2009-12-15 13:22:43 UTC (rev 818)
@@ -2758,7 +2758,7 @@
if (value != null) // stop at first correct value found
break;
if (field == null)
- throw new RuntimeException("unexpected null field " + field);
+ throw new RuntimeException("unexpected null field");
if ("input".equals(field.getName())) {
if (field.getAttribute("type") != null) {
@@ -2822,7 +2822,7 @@
// find the first element that we can change
for (IElement field : fields) {
if (field == null)
- throw new RuntimeException("unexpected null field " + field);
+ throw new RuntimeException("unexpected null field");
if ("input".equals(field.getName())) {
if (field.getAttribute("type") != null) {
@@ -3435,12 +3435,6 @@
// read and compare bytes pair-wise
InputStream i1 = f1.openStream();
InputStream i2 = f2.openStream();
- if (i1 == null) {
- throw new IOException(f1.toString() + " can't be opened.");
- }
- if (i2 == null) {
- throw new IOException(f2.toString() + " can't be opened.");
- }
int b1, b2;
do {
b1 = i1.read();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-02-09 22:11:11
|
Revision: 819
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=819&view=rev
Author: henryju
Date: 2010-02-09 22:11:05 +0000 (Tue, 09 Feb 2010)
Log Message:
-----------
Updated to HtmlUnit 2.7
Modified Paths:
--------------
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2009-12-15 13:22:43 UTC (rev 818)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-02-09 22:11:05 UTC (rev 819)
@@ -36,8 +36,6 @@
import net.sourceforge.jwebunit.javascript.JavascriptPrompt;
import net.sourceforge.jwebunit.util.TestContext;
-import org.apache.commons.httpclient.Cookie;
-import org.apache.commons.httpclient.NameValuePair;
import org.apache.regexp.RE;
import org.apache.regexp.RESyntaxException;
import org.slf4j.Logger;
@@ -63,7 +61,6 @@
import com.gargoylesoftware.htmlunit.WebWindowEvent;
import com.gargoylesoftware.htmlunit.WebWindowListener;
import com.gargoylesoftware.htmlunit.WebWindowNotFoundException;
-import com.gargoylesoftware.htmlunit.html.ClickableElement;
import com.gargoylesoftware.htmlunit.html.DomComment;
import com.gargoylesoftware.htmlunit.html.DomNode;
import com.gargoylesoftware.htmlunit.html.FrameWindow;
@@ -85,8 +82,10 @@
import com.gargoylesoftware.htmlunit.html.HtmlTable;
import com.gargoylesoftware.htmlunit.html.HtmlTableCell;
import com.gargoylesoftware.htmlunit.html.HtmlTableRow;
-import com.gargoylesoftware.htmlunit.html.HtmlTableRow.CellIterator;
import com.gargoylesoftware.htmlunit.html.HtmlTextArea;
+import com.gargoylesoftware.htmlunit.html.HtmlTableRow.CellIterator;
+import com.gargoylesoftware.htmlunit.util.Cookie;
+import com.gargoylesoftware.htmlunit.util.NameValuePair;
import com.gargoylesoftware.htmlunit.xml.XmlPage;
/**
@@ -269,9 +268,9 @@
for (Cookie cookie : cookies) {
javax.servlet.http.Cookie c = new javax.servlet.http.Cookie(
cookie.getName(), cookie.getValue());
- c.setComment(cookie.getComment());
+ c.setComment(cookie.toHttpClient().getComment());
c.setDomain(cookie.getDomain());
- Date expire = cookie.getExpiryDate();
+ Date expire = cookie.toHttpClient().getExpiryDate();
if (expire == null) {
c.setMaxAge(-1);
} else {
@@ -281,8 +280,8 @@
c.setMaxAge(second.intValue());
}
c.setPath(cookie.getPath());
- c.setSecure(cookie.getSecure());
- c.setVersion(cookie.getVersion());
+ c.setSecure(cookie.toHttpClient().getSecure());
+ c.setVersion(cookie.toHttpClient().getVersion());
result.add(c);
}
return result;
@@ -1164,7 +1163,7 @@
return null;
}
- public ClickableElement getResetButton(String buttonName) {
+ public HtmlElement getResetButton(String buttonName) {
List<HtmlElement> btns = new LinkedList<HtmlElement>();
if (form != null) {
btns.addAll(getForm().getInputsByName(buttonName));
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-12-15 13:22:43 UTC (rev 818)
+++ trunk/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
@@ -295,7 +295,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
- <version>2.6</version>
+ <version>2.7</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2009-12-15 13:22:43 UTC (rev 818)
+++ trunk/src/changes/changes.xml 2010-02-09 22:11:05 UTC (rev 819)
@@ -9,7 +9,7 @@
<body>
<release version="2.3" date="UNKNOW" description="Updated to JUnit 4.7">
<action type="update" dev="henryju">
- Updated to HtmlUnit 2.6.
+ Updated to HtmlUnit 2.7.
</action>
<action type="update" dev="henryju">
Updated to JUnit 4.7.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-02-10 09:29:07
|
Revision: 820
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=820&view=rev
Author: henryju
Date: 2010-02-10 09:29:00 +0000 (Wed, 10 Feb 2010)
Log Message:
-----------
Fixed warnings with Maven 3 and updated to Selenium RC 1.0.1
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -3,7 +3,7 @@
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
<version>3.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jwebunit-commons-tests</artifactId>
@@ -25,7 +25,7 @@
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-core</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
@@ -39,4 +39,4 @@
<properties>
<topDirectoryLocation>..</topDirectoryLocation>
</properties>
-</project>
\ No newline at end of file
+</project>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/jwebunit-core/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -3,7 +3,7 @@
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
<version>3.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jwebunit-core</artifactId>
@@ -75,10 +75,10 @@
<artifactId>
jwebunit-webtestcase-generator
</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -3,7 +3,7 @@
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
<version>3.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jwebunit-htmlunit-plugin</artifactId>
@@ -45,12 +45,12 @@
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-core</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-commons-tests</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -3,7 +3,7 @@
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
<version>3.0-SNAPSHOT</version>
- <relativePath>..</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jwebunit-selenium-plugin</artifactId>
@@ -66,12 +66,12 @@
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-core</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-commons-tests</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -3,7 +3,7 @@
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
<version>3.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
+ <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jwebunit-webtestcase-generator</artifactId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -228,15 +228,6 @@
<target>1.5</target>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadoc>true</downloadJavadoc>
- </configuration>
- </plugin>
</plugins>
<pluginManagement>
<plugins>
@@ -300,7 +291,7 @@
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
- <version>1.0</version>
+ <version>1.0.1</version>
</dependency>
<dependency>
<groupId>regexp</groupId>
@@ -330,6 +321,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.4</version>
<configuration>
<configLocation>
${basedir}/${topDirectoryLocation}/src/checkstyle/jwebunit-checkstyle.xml
@@ -343,18 +335,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
+ <version>2.0-beta-2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
+ <version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
+ <version>2.2</version>
<inherited>false</inherited>
<reportSets>
<reportSet>
@@ -372,13 +368,10 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changelog-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<reportSets>
@@ -431,6 +424,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
@@ -438,6 +432,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>2.4</version>
<configuration>
<xrefLocation>
${project.reporting.outputDirectory}/${topDirectoryLocation}/xref
@@ -447,9 +442,8 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>
- maven-project-info-reports-plugin
- </artifactId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
<reportSets>
<reportSet>
<reports>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-02-09 22:11:05 UTC (rev 819)
+++ trunk/src/changes/changes.xml 2010-02-10 09:29:00 UTC (rev 820)
@@ -9,14 +9,14 @@
<body>
<release version="2.3" date="UNKNOW" description="Updated to JUnit 4.7">
<action type="update" dev="henryju">
+ Updated to Selenium RC 1.0.1.
+ </action>
+ <action type="update" dev="henryju">
Updated to HtmlUnit 2.7.
</action>
<action type="update" dev="henryju">
Updated to JUnit 4.7.
</action>
- <action type="update" dev="henryju">
- Updated to Selenium RC 1.0.
- </action>
</release>
<release version="2.2" date="May 15, 2009">
<action type="update" dev="henryju">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-02-24 13:35:59
|
Revision: 821
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=821&view=rev
Author: henryju
Date: 2010-02-24 13:35:53 +0000 (Wed, 24 Feb 2010)
Log Message:
-----------
Updated build and release documentation. Some plugin updates for Maven 3 (site is still not supported so the release will be done with Maven 2.2.1).
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/xdoc/building-maven.xml
trunk/src/site/xdoc/how-to-release.xml
trunk/src/site/xdoc/installation.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-02-10 09:29:00 UTC (rev 820)
+++ trunk/pom.xml 2010-02-24 13:35:53 UTC (rev 821)
@@ -213,7 +213,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-9</version>
+ <version>2.0</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean install</preparationGoals>
@@ -222,12 +222,33 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>2.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>1.5</version>
+ <vendor>sun</vendor>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
@@ -247,7 +268,7 @@
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-7</version>
+ <version>2.1</version>
</plugin>
</plugins>
</pluginManagement>
Modified: trunk/src/site/xdoc/building-maven.xml
===================================================================
--- trunk/src/site/xdoc/building-maven.xml 2010-02-10 09:29:00 UTC (rev 820)
+++ trunk/src/site/xdoc/building-maven.xml 2010-02-24 13:35:53 UTC (rev 821)
@@ -18,20 +18,30 @@
difficult than installing ant. We've included a best
practise installation and configuration for Maven.
</p>
+ <subsection name="Installing Sun JDK 1.5">
+ <p>
+ JWebUnit is compiled with JDK 1.5 to ensure compatibility.
+ </p>
+ <p>
+ You need to download and install latest Sun JDK 1.5 for your platform.
+ Let's say the JDK location is:
+ <source>/opt/jdk1.5.0_15</source>
+ </p>
+ </subsection>
<subsection name="Installing Maven">
<p>
First you need to download the latest Maven 2, which
currently is
<a href="http://maven.apache.org">
- <tt>Maven-2.0.9</tt>
+ <tt>Maven-2.2.1</tt>
</a>
, make sure you download the binary archive
- (e.g. apache-maven-2.0.9-bin.tar.bz2).
+ (e.g. apache-maven-2.2.1-bin.tar.bz2).
</p>
<p>
Installing Maven should be easy: unzip the file to
any directory you like, let's say:
- <source>/opt/apache-maven-2.0.9</source>
+ <source>/opt/apache-maven-2.2.1</source>
</p>
<p>
Next you need to do 2 things:
@@ -39,7 +49,7 @@
<li>
add an environment variable MAVEN_HOME which
points to the install directory of Maven,
- i.e. /opt/apache-maven-2.0.9
+ i.e. /opt/apache-maven-2.2.1
</li>
<li>
add
@@ -50,7 +60,39 @@
</li>
</ul>
</p>
+ <p>
+ You can test that Maven is correctly installed by running in a shell:
+ <tt>mvn -v</tt>
+ </p>
</subsection>
+ <subsection name="Configure Maven toolchains">
+ <p>
+ You can run Maven with any JDK (let's say JDK 1.6) but JWebUnit should be compiled
+ with JDK 1.5. To achieve this we are using Maven toolchains mecanism.
+ </p>
+ <p>
+ Create a file <tt>~/.m2/toolchains.xml</tt> with the given content:
+ </p>
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF8"?>
+<toolchains>
+ <toolchain>
+ <type>jdk</type>
+ <provides>
+ <version>1.5</version>
+ <vendor>sun</vendor>
+ <id>1.5</id>
+ </provides>
+ <configuration>
+ <jdkHome>/opt/jdk1.5.0_15</jdkHome>
+ </configuration>
+ </toolchain>
+</toolchains>]]>
+ </source>
+ <p>
+ You should of course define the correct jdkHome for you.
+ </p>
+ </subsection>
<subsection name="Using Maven">
<p>
Maven defines several goals, for creating and
@@ -95,17 +137,8 @@
<p>
If you are using the <a href="http://www.eclipse.org">Eclipse IDE</a>
to develop the JWebUnit plugin,
- you can use Maven to create the classpath and .project files
- of each module:
- <source>mvn eclipse:eclipse</source>
- (This command will also download the attached source files of the
- dependencies.)
+ you can use <a href="http://m2eclipse.sonatype.org/">m2eclipse</a>.
</p>
- <p>
- You can then import these modules into your Eclipse workspace once
- you configure the path to your Maven repository:
- <source>M2_REPO=your_home/.m2/repository</source>
- </p>
</subsection>
<subsection name="Building Sourceforge upload bundle">
<p>
Modified: trunk/src/site/xdoc/how-to-release.xml
===================================================================
--- trunk/src/site/xdoc/how-to-release.xml 2010-02-10 09:29:00 UTC (rev 820)
+++ trunk/src/site/xdoc/how-to-release.xml 2010-02-24 13:35:53 UTC (rev 821)
@@ -15,6 +15,7 @@
<li>Ensure you repository is up to date by running: <tt>svn update</tt></li>
<li>Edit <tt>src/changes/changes.xml</tt> to set release date instead of "unknow"</li>
<li>Update readme.txt (at least update the version number)</li>
+ <li>Update JWebUnit latest version in src/site/xdoc/index.xml</li>
<li>Commit the changes</li>
</ul>
</p>
@@ -36,13 +37,6 @@
]]></source>
Don't forget to put your own sourceforge account and password.
</p>
- <p>
- Last operation is to ensure you are running the correct JDK for building JWebUnit. Currently it is JDK 1.5.
- <source>
-$ mvn -v
-Maven version: 2.0.9
-<b>Java version: 1.5.0_15</b></source>
- </p>
</subsection>
<subsection name="Preparing the release (tag and update pom)">
<p>
@@ -60,7 +54,12 @@
<subsection name="Perform the release (deploy artifacts and site)">
<p>
First you need to activate a time-limited shell in Sourceforge to allow upload by SCP.
+ On Linux you can use:
<source>ssh henryju,jwe...@sh... create</source>
+ On Windows you can use:
+ <source>plink henryju,jwe...@sh... create</source>
+ </p>
+ <p>
Now the process is done by maven-release-plugin.
<source>mvn release:perform</source>
</p>
@@ -71,7 +70,8 @@
</p>
<p>
Now close your Sourceforge shell:
- <source>ssh henryju,jwe...@sh... shutdown</source>
+ <source>ssh henryju,jwe...@sh... shutdown</source> (Linux)
+ <source>plink henryju,jwe...@sh... shutdown</source> (Windows)
</p>
</subsection>
<subsection name="Dealing with non-maven bundle">
Modified: trunk/src/site/xdoc/installation.xml
===================================================================
--- trunk/src/site/xdoc/installation.xml 2010-02-10 09:29:00 UTC (rev 820)
+++ trunk/src/site/xdoc/installation.xml 2010-02-24 13:35:53 UTC (rev 821)
@@ -22,7 +22,7 @@
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-htmlunit-plugin</artifactId>
- <version>1.5</version>
+ <version>2.2</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -40,20 +40,17 @@
<p>
There are currently 2 available plugins:
<ul>
- <li>HtmlUnit: A good choice if you want rapidity and good Javascript support.</li>
+ <li>HtmlUnit: A good choice if you want fast tests and good Javascript support.</li>
<li>Selenium: BETA quality (not all the JWebUnit API could be executed with Selenium)</li>
</ul>
</p>
</subsection>
<subsection name="Integrate with IDE">
<p>
- The simplest way to manage dependencies is to use Maven 2. If your POM is well
- configured, just run:
- <source>mvn eclipse:eclipse</source>
- This will create the .project and the .classpath for your eclipse project.
+ The simplest way to manage dependencies in Eclipse when you use Maven 2 is to use m2eclipse plugin.
</p>
<p>
- If you don't want to migrate to Maven,
+ If you don't want to use Maven,
make sure you add the jwebunit-htmlunit-plugin-XX.jar, jwebunit-core-XX.jar and all HtmlUnit dependencies
(these files are in lib/ folder of the JWebUnit package) to your classpath in your IDE.
</p>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-03-03 20:27:42
|
Revision: 822
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=822&view=rev
Author: henryju
Date: 2010-03-03 20:27:36 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
Updated versions to prepare the release
Modified Paths:
--------------
trunk/README.txt
trunk/src/changes/changes.xml
trunk/src/site/xdoc/index.xml
Modified: trunk/README.txt
===================================================================
--- trunk/README.txt 2010-02-24 13:35:53 UTC (rev 821)
+++ trunk/README.txt 2010-03-03 20:27:36 UTC (rev 822)
@@ -1,4 +1,4 @@
-The JWebUnit team is pleased to announce the JWebUnit 2.2 release!
+The JWebUnit team is pleased to announce the JWebUnit 2.3 release!
http://jwebunit.sourceforge.net
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-02-24 13:35:53 UTC (rev 821)
+++ trunk/src/changes/changes.xml 2010-03-03 20:27:36 UTC (rev 822)
@@ -7,7 +7,7 @@
</author>
</properties>
<body>
- <release version="2.3" date="UNKNOW" description="Updated to JUnit 4.7">
+ <release version="2.3" date="March 3, 2010" description="Updated to JUnit 4.7 and latest HtmlUnit and Selenium">
<action type="update" dev="henryju">
Updated to Selenium RC 1.0.1.
</action>
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2010-02-24 13:35:53 UTC (rev 821)
+++ trunk/src/site/xdoc/index.xml 2010-03-03 20:27:36 UTC (rev 822)
@@ -34,7 +34,7 @@
</p>
<p>
- The current version of JWebUnit is 2.1. This is the "stable" version of
+ The current version of JWebUnit is 2.3. This is the "stable" version of
JWebUnit, and requires Java 1.5.
</p>
</section>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-03-03 20:41:31
|
Revision: 823
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=823&view=rev
Author: henryju
Date: 2010-03-03 20:41:24 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
[maven-release-plugin] prepare release jwebunit-2.3
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,42 +1,42 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-commons-tests</artifactId>
- <name>Commons Tests</name>
- <description>All test cases that each plugin should pass.</description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junitperf</groupId>
- <artifactId>junitperf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.3</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <name>Commons Tests</name>
+ <description>All test cases that each plugin should pass.</description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junitperf</groupId>
+ <artifactId>junitperf</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/jwebunit-core/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,84 +1,84 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-core</artifactId>
- <name>Core - API</name>
- <description>
- The core API of JWebUnit. Define how tests should be written and interface for testing engines.
- </description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>regexp</groupId>
- <artifactId>regexp</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <sourceRoot>
- ${project.build.directory}/generated-sources/main/java
- </sourceRoot>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <mainClass>
- net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
- </mainClass>
- <arguments>
- <argument>${basedir}/src/main/java</argument>
- <argument>
- ${project.build.directory}/generated-sources/main/java
- </argument>
- </arguments>
- <includePluginDependencies>
- true
- </includePluginDependencies>
- <includeProjectDependencies>
- false
- </includeProjectDependencies>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>
- jwebunit-webtestcase-generator
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.3</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-core</artifactId>
+ <name>Core - API</name>
+ <description>
+ The core API of JWebUnit. Define how tests should be written and interface for testing engines.
+ </description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <sourceRoot>
+ ${project.build.directory}/generated-sources/main/java
+ </sourceRoot>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>
+ net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
+ </mainClass>
+ <arguments>
+ <argument>${basedir}/src/main/java</argument>
+ <argument>
+ ${project.build.directory}/generated-sources/main/java
+ </argument>
+ </arguments>
+ <includePluginDependencies>
+ true
+ </includePluginDependencies>
+ <includeProjectDependencies>
+ false
+ </includeProjectDependencies>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>
+ jwebunit-webtestcase-generator
+ </artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,72 +1,72 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-htmlunit-plugin</artifactId>
- <name>HtmlUnit Plugin</name>
- <description>HtmlUnit plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.3</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-htmlunit-plugin</artifactId>
+ <name>HtmlUnit Plugin</name>
+ <description>HtmlUnit plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,93 +1,93 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-selenium-plugin</artifactId>
- <name>Selenium Plugin</name>
- <description>Selenium plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <testFailureIgnore>true</testFailureIgnore>
- <skip>true</skip>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- Requires java 1.5 -->
- <!--plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>selenium-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>start</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>start-server</goal>
- </goals>
- <configuration>
- <background>true</background>
- <multiWindow>true</multiWindow>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.openqa.selenium.server</groupId>
- <artifactId>selenium-server</artifactId>
- <version>1.0-beta-1</version>
- </dependency>
- </dependencies>
- </plugin-->
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium.client-drivers</groupId>
- <artifactId>selenium-java-client-driver</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.3</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-selenium-plugin</artifactId>
+ <name>Selenium Plugin</name>
+ <description>Selenium plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <testFailureIgnore>true</testFailureIgnore>
+ <skip>true</skip>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <!-- Requires java 1.5 -->
+ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>start-server</goal>
+ </goals>
+ <configuration>
+ <background>true</background>
+ <multiWindow>true</multiWindow>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.openqa.selenium.server</groupId>
+ <artifactId>selenium-server</artifactId>
+ <version>1.0-beta-1</version>
+ </dependency>
+ </dependencies>
+ </plugin-->
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,33 +1,33 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-webtestcase-generator</artifactId>
- <name>WebTestCase Generator</name>
- <description>A little parser that create WebTestCase from WebTester.</description>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <outputDirectory>target/generated-sources/javacc</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.3</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-webtestcase-generator</artifactId>
+ <name>WebTestCase Generator</name>
+ <description>A little parser that create WebTestCase from WebTester.</description>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>javacc</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>target/generated-sources/javacc</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-03-03 20:27:36 UTC (rev 822)
+++ trunk/pom.xml 2010-03-03 20:41:24 UTC (rev 823)
@@ -1,508 +1,508 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit</artifactId>
- <name>JWebUnit</name>
- <version>3.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <description>
- JWebUnit is a Java framework that facilitates creation of
- acceptance tests for web applications. It evolved from a project
- where we were using HttpUnit and JUnit to create acceptance
- tests. As the tests were being written, they were continuously
- refactored to remove duplication and other bad smells in the
- test code. JWebUnit is the result of these refactorings.
- </description>
- <url>http://jwebunit.sourceforge.net</url>
- <issueManagement>
- <system>sourceforge</system>
- <url>http://sourceforge.net/tracker/?group_id=61302</url>
- </issueManagement>
- <inceptionYear>2002</inceptionYear>
- <modules>
- <module>jwebunit-webtestcase-generator</module>
- <module>jwebunit-core</module>
- <module>jwebunit-commons-tests</module>
- <module>jwebunit-htmlunit-plugin</module>
- <module>jwebunit-selenium-plugin</module>
- </modules>
- <mailingLists>
- <mailingList>
- <name>JWebUnit Development Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-development
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- <mailingList>
- <name>JWebUnit User Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-users
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- </mailingLists>
- <developers>
- <developer>
- <id>henryju</id>
- <name>Julien Henry</name>
- <email>henryju at users.sourceforge.net</email>
- <url />
- <organization>Capgemini</organization>
- <organizationUrl>http://www.capgemini.com</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+2</timezone>
- </developer>
- <developer>
- <id>joshlane</id>
- <name>Josh Lane</name>
- <email>joshlane at users.sourceforge.net</email>
- <url />
- <organization>Brontes Technologies</organization>
- <organizationUrl>
- http://solutions.3m.com/wps/portal/3M/en_US/LavaCOS/3MESPE-LavaCOS/
- </organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
- <developer>
- <id>jevonwright</id>
- <name>Jevon Wright</name>
- <email>jevonwright at users.sourceforge.net</email>
- <url>http://www.jevon.org</url>
- <organization />
- <organizationUrl />
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+13</timezone>
- </developer>
- </developers>
- <contributors>
- <contributor>
- <name>Jim Weaver</name>
- <email>jimweaver at users.sourceforge.net</email>
- <organization>Thoughtworks</organization>
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>-5</timezone>
- </contributor>
- <contributor>
- <name>Wilkes Joiner</name>
- <email>wilkesj at users.sourceforge.net</email>
- <organization />
- <roles>
- <role>All-Hands person</role>
- </roles>
- </contributor>
- <contributor>
- <name>Vivek Venugopalan</name>
- <email>vivek at magic hypen cauldron dot com</email>
- <url>http://www.magic-cauldron.com</url>
- <organization />
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>+5.5</timezone>
- </contributor>
- <contributor>
- <name>Martijn Dashorst</name>
- <email>dashorst at users.sourceforge.net</email>
- <url>http://www.dashors...
[truncated message content] |
|
From: <he...@us...> - 2010-03-03 20:42:12
|
Revision: 825
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=825&view=rev
Author: henryju
Date: 2010-03-03 20:42:03 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/jwebunit-core/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-03-03 20:41:49 UTC (rev 824)
+++ trunk/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
@@ -3,7 +3,7 @@
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit</artifactId>
<name>JWebUnit</name>
- <version>2.3</version>
+ <version>2.4-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
JWebUnit is a Java framework that facilitates creation of
@@ -180,9 +180,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.3</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.3</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-2.3</url>
+ <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
</scm>
<organization>
<name>SourceForge</name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-03-03 21:26:21
|
Revision: 826
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=826&view=rev
Author: henryju
Date: 2010-03-03 21:26:11 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
Fixed site generation: updated Checkstyle configuration to 2.5
Modified Paths:
--------------
trunk/pom.xml
trunk/src/checkstyle/jwebunit-checkstyle.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-03-03 20:42:03 UTC (rev 825)
+++ trunk/pom.xml 2010-03-03 21:26:11 UTC (rev 826)
@@ -364,11 +364,6 @@
<version>2.0-beta-2</version>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.2</version>
@@ -451,6 +446,11 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
Modified: trunk/src/checkstyle/jwebunit-checkstyle.xml
===================================================================
--- trunk/src/checkstyle/jwebunit-checkstyle.xml 2010-03-03 20:42:03 UTC (rev 825)
+++ trunk/src/checkstyle/jwebunit-checkstyle.xml 2010-03-03 21:26:11 UTC (rev 826)
@@ -10,6 +10,11 @@
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="severity" value="warning" />
+ <module name="Header">
+ <property name="headerFile"
+ value="${checkstyle.header.file}" />
+ </module>
+ <module name="FileLength" />
<module name="TreeWalker">
<module name="JavadocMethod" />
<module name="JavadocType" />
@@ -26,15 +31,10 @@
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
- <module name="Header">
- <property name="headerFile"
- value="${checkstyle.header.file}" />
- </module>
<module name="AvoidStarImport" />
<module name="IllegalImport" />
<module name="RedundantImport" />
<module name="UnusedImports" />
- <module name="FileLength" />
<module name="LineLength">
<property name="ignorePattern" value="^/\**$" />
<property name="max" value="120" />
@@ -46,7 +46,6 @@
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
- <module name="TabCharacter" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<module name="ModifierOrder" />
@@ -90,7 +89,7 @@
<module name="IllegalCatch" />
<module name="JUnitTestCase" />
</module>
- <module name="PackageHtml" />
<module name="NewlineAtEndOfFile" />
<module name="Translation" />
+ <module name="FileTabCharacter" />
</module>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jev...@us...> - 2010-03-10 06:45:31
|
Revision: 827
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=827&view=rev
Author: jevonwright
Date: 2010-03-10 06:45:14 +0000 (Wed, 10 Mar 2010)
Log Message:
-----------
creating a protected method, createWebClient(), allowing the created web client to be modified if necessary - related to issue 2697234
Modified Paths:
--------------
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2010-03-03 21:26:11 UTC (rev 826)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2010-03-10 06:45:14 UTC (rev 827)
@@ -2748,7 +2748,7 @@
* @return the value found in a field for the given label/ID, or
* <code>null</code> if none was found
*/
- protected String getLabeledFieldValue(String identifier, IElement label) {
+ public String getLabeledFieldValue(String identifier, IElement label) {
List<IElement> fields = getFieldsForLabel(label);
Assert.assertFalse("No field found for label [" + identifier + "]", fields.isEmpty());
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-03-03 21:26:11 UTC (rev 826)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-03-10 06:45:14 UTC (rev 827)
@@ -744,10 +744,19 @@
}
}
}
-
- private void initWebClient() {
-
- /**
+
+ /**
+ * Create the {@link WebClient} that will be used for this test.
+ * Subclasses should only override this method if they need to override
+ * the default {@link WebClient}.
+ *
+ * <p>Also see issue 2697234.
+ *
+ * @author Jevon
+ * @return A newly created {@link WebClient}
+ */
+ protected WebClient createWebClient() {
+ /*
* The user agent string is now provided by default to new test cases.
* It can still be overridden if testContext.getUserAgent() is not
* null (i.e. has been set manually.)
@@ -764,13 +773,21 @@
bv = defaultBrowserVersion; // use default (which includes a full UserAgent string)
}
- if (getTestContext().getProxyHost()!=null && getTestContext().getProxyPort()>0) {
- //Proxy
- wc = new WebClient(bv, getTestContext().getProxyHost(), getTestContext().getProxyPort());
+ if (getTestContext().getProxyHost() != null && getTestContext().getProxyPort() > 0) {
+ // Proxy configuration
+ return new WebClient(bv, getTestContext().getProxyHost(), getTestContext().getProxyPort());
+ } else {
+ return new WebClient(bv);
}
- else {
- wc = new WebClient(bv);
- }
+ }
+
+ /**
+ * Initialise the web client before accessing a page.
+ */
+ private void initWebClient() {
+
+ wc = createWebClient();
+
wc.setJavaScriptEnabled(jsEnabled);
wc.setThrowExceptionOnScriptError(throwExceptionOnScriptError);
wc.setRedirectEnabled(true);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jev...@us...> - 2010-03-15 22:57:47
|
Revision: 828
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=828&view=rev
Author: jevonwright
Date: 2010-03-15 22:57:34 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
fixing a bug in assertNoMatch(), where the regexp wasn't actually being evaluated
fixing broken HTML in WebAssertionsTest/testPage.html
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java 2010-03-10 06:45:14 UTC (rev 827)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java 2010-03-15 22:57:34 UTC (rev 828)
@@ -4,6 +4,7 @@
******************************************************************************/
package net.sourceforge.jwebunit.tests;
+import junit.framework.AssertionFailedError;
import junit.framework.Test;
import junit.framework.TestSuite;
import net.sourceforge.jwebunit.tests.util.JettySetup;
@@ -56,6 +57,21 @@
assertNoMatch("no.*text");
//assertPassFail("assertNoMatch", "no.*text", "This (is)* a .* page.");
}
+
+ /**
+ * Check that {@link #assertNoMatch(String)} can actually fail.
+ */
+ public void testAssertNoMatchFails() throws Throwable {
+ boolean failed = false;
+ try {
+ // 'Span Text' definitely exists in the source page text
+ assertNoMatch("Span Text");
+ failed = true; // should not get this far
+ } catch (AssertionFailedError e) {
+ // expected
+ }
+ assertFalse("assertNoMatch() did not throw expected failure", failed);
+ }
public void testAssertLinkPresentWithText() throws Throwable {
assertPassFail("assertLinkPresentWithText", "test link", "no such link");
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html 2010-03-10 06:45:14 UTC (rev 827)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html 2010-03-15 22:57:34 UTC (rev 828)
@@ -6,10 +6,10 @@
<form name="form1" method=GET action="TargetPage"><table summary="testTable">
<tr ID="row1"><td>table text</td></tr>
<tr><td>This is a test. This is only a test. If this were an actual test....</td></tr>
- <tr><td>table text row 3</td><td>row 3 col 1</td>
+ <tr><td>table text row 3</td><td>row 3 col 1</td></table>
<a id="test_link_id" href="someurl.html">test link</a>
<a href="somepage.html"><img height="22" width="22" alt="New User" src="firstimage.gif">
- <img src="graphic.jpg"alt="New User" /></a>
+ <img src="graphic.jpg" alt="New User" /></a>
<input type="text" name="testInputElement" value="testValue"/>
<input type="submit" name="submitButton" value="buttonLabel"/>
<input type="checkbox" name="checkboxselected" CHECKED>
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2010-03-10 06:45:14 UTC (rev 827)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2010-03-15 22:57:34 UTC (rev 828)
@@ -537,7 +537,8 @@
* @param regexp
*/
public void assertNoMatch(String regexp) {
- assertNotMatch("Regexp matched in response when not expected: [" + regexp + "]",
+ assertNotMatch("Regexp matched in response when not expected: [" + regexp + "]",
+ regexp,
getTestingEngine().getPageText());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jev...@us...> - 2010-04-02 03:42:23
|
Revision: 830
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=830&view=rev
Author: jevonwright
Date: 2010-04-02 03:42:16 +0000 (Fri, 02 Apr 2010)
Log Message:
-----------
adding an implementation of equals() and hashCode() for HtmlUnitElementImpl
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java 2010-03-17 00:25:09 UTC (rev 829)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java 2010-04-02 03:42:16 UTC (rev 830)
@@ -214,4 +214,38 @@
assertEquals(preceding.getAttribute("name"), "element_name");
}
+ /**
+ * Test that {@link IElement#equals(Object)} is implemented
+ * correctly.
+ *
+ */
+ public void testIElementEquals() {
+
+ // through getElementById
+ IElement container1 = getElementById("container");
+
+ // through IElement.getElement
+ IElement span = getElementByXPath("//span[@class='inline']");
+ IElement container2 = span.getElement("..");
+
+ // through getByXPath
+ IElement container3 = null;
+ for (IElement e : getElementsByXPath("//div")) {
+ if ("container".equals(e.getAttribute("id"))) {
+ container3 = e;
+ }
+ }
+
+ // should have found all of these
+ assertNotNull(container1);
+ assertNotNull(container2);
+ assertNotNull(container3);
+
+ // check equality
+ assertEquals(container1, container2);
+ assertEquals(container2, container3);
+ assertEquals(container1, container3);
+
+ }
+
}
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java 2010-03-17 00:25:09 UTC (rev 829)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java 2010-04-02 03:42:16 UTC (rev 830)
@@ -89,4 +89,14 @@
*/
public void setTextContent(String value);
+ /**
+ * Two {@link IElement}s are equal if they
+ * refer to the same element in the current page.
+ *
+ * @param obj the object to compare
+ * @return <code>true</code> if the object is an {@link IElement}, and refers to the same
+ * element as this {@link IElement}
+ */
+ public boolean equals(Object obj);
+
}
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java 2010-03-17 00:25:09 UTC (rev 829)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java 2010-04-02 03:42:16 UTC (rev 830)
@@ -149,4 +149,29 @@
}
}
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + ((element == null) ? 0 : element.hashCode());
+ return result;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ final HtmlUnitElementImpl other = (HtmlUnitElementImpl) obj;
+ if (element == null) {
+ if (other.element != null)
+ return false;
+ } else if (!element.equals(other.element))
+ return false;
+ return true;
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-04-25 18:06:32
|
Revision: 831
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=831&view=rev
Author: henryju
Date: 2010-04-25 18:06:21 +0000 (Sun, 25 Apr 2010)
Log Message:
-----------
Changed JWebUnit license to LGPL v3. Added maven-license-plugin to automatically check and update file headers.
Modified Paths:
--------------
trunk/LICENSE.txt
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CharsetTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CustomTesterTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsWithLabelTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HelloWorldTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HtmlParsingTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ImageTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptEventsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/RedirectionTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResourceBundleAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResponseServletTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/SelectOptionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebCookieTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/XPathTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/HtmlHelper.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/RedirectServlet.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvoker.java
trunk/jwebunit-commons-tests/src/main/resources/MessageBundle.properties
trunk/jwebunit-commons-tests/src/main/resources/TestContextBundle.properties
trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithTwoForms.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/CustomTesterTest/test.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageHtml.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageXHtml.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/noFormPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxFormWithLabels.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputFileForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputImageForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InvalidActionForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/MultiFormPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/MultiNamedButtonForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/QueryFormSimple.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/QueryFormTricky.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/RadioForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleUnnamedButtonForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit1.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit2.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit3.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/TextAreaForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/BottomFrame.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage1.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage2.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage3.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ContentFrame.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/Frames.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/InlineFrame.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/RootPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/temp.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/InvalidForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/InvalidFormNoDoctype.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/NoDoctype.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/SimpleForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/ValidComplexForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/ValidFormNoDoctype.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/XhtmlStrict.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/IElementTest/template.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ImageTest/PageWithImages.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ImageTest/somedir/AnotherPageWithImages.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/FormOnSubmit.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/FormOnSubmitSetTarget.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/index.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/nav.js
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/next.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/onchange.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Alert.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Confirm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/DocumentWrite.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/MultipleAlerts.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Prompt.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/prototype-1.6.0.3.js
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/prototype.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/userAgent.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/blah.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithAmpersandInLink.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithLink.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithLinkWithTextAfterText.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/targetPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/targetPage2.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test1.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test2.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test3.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/NonHtmlContentTest/text.txt
trunk/jwebunit-commons-tests/src/main/resources/testcases/RedirectionTest/redirect.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/RedirectionTest/redirected.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ResourceBundleAssertionsTest/testPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/ResponseServletTest/SimpleForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithOneForm.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithOneFormMulti.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithTwoForms.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithTwoFormsMulti.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/TableAssertionsTest/TableAssertionsTestPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/TestContextTest/testPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/WEB-INF/web.xml
trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/XPathTest/next.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/XPathTest/testPage.html
trunk/jwebunit-commons-tests/src/main/resources/testcases/helloworld.html
trunk/jwebunit-commons-tests/src/site/site.xml
trunk/jwebunit-commons-tests/src/test/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvokerTest.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ElementNotFoundException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptAlertException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptConfirmException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptPromptException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineRegistryException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineResponseException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnableToSetFormException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptAlertException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptConfirmException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptPromptException.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Cell.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Row.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Table.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptAlert.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptConfirm.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptPrompt.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestingEngineRegistry.java
trunk/jwebunit-core/src/site/site.xml
trunk/jwebunit-core/src/test/java/net/sourceforge/jwebunit/TableTest.java
trunk/jwebunit-core/src/test/java/net/sourceforge/jwebunit/junit/WebTesterTest.java
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
trunk/jwebunit-htmlunit-plugin/src/site/site.xml
trunk/jwebunit-htmlunit-plugin/src/site/xdoc/index.xml
trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImplTest.java
trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java
trunk/jwebunit-selenium-plugin/src/site/site.xml
trunk/jwebunit-selenium-plugin/src/site/xdoc/index.xml
trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java
trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java
trunk/jwebunit-webtestcase-generator/src/site/site.xml
trunk/pom.xml
trunk/src/assemble/release.xml
trunk/src/changes/changes.xml
trunk/src/checkstyle/header-checkstyle.txt
trunk/src/checkstyle/jwebunit-checkstyle.xml
trunk/src/site/fml/faq.fml
trunk/src/site/resources/style/project.css
trunk/src/site/site.xml
trunk/src/site/xdoc/articles.xml
trunk/src/site/xdoc/building-maven.xml
trunk/src/site/xdoc/how-to-contribute.xml
trunk/src/site/xdoc/how-to-release.xml
trunk/src/site/xdoc/index.xml
trunk/src/site/xdoc/installation.xml
trunk/src/site/xdoc/quickstart.xml
Added Paths:
-----------
trunk/COPYING
trunk/COPYING.LESSER
trunk/src/license/
trunk/src/license/header.txt
Property Changed:
----------------
trunk/
trunk/jwebunit-commons-tests/
trunk/jwebunit-core/
trunk/jwebunit-htmlunit-plugin/
trunk/jwebunit-selenium-plugin/
trunk/jwebunit-webtestcase-generator/
Property changes on: trunk
___________________________________________________________________
Modified: svn:ignore
- target
+ target
.project
.settings
Added: trunk/COPYING
===================================================================
--- trunk/COPYING (rev 0)
+++ trunk/COPYING 2010-04-25 18:06:21 UTC (rev 831)
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Cor...
[truncated message content] |
|
From: Jevon W. <je...@je...> - 2010-04-25 23:48:57
|
Thanks for pushing this through Julien! Jevon On Mon, Apr 26, 2010 at 6:06 AM, <he...@us...> wrote: > Revision: 831 > http://jwebunit.svn.sourceforge.net/jwebunit/?rev=831&view=rev > Author: henryju > Date: 2010-04-25 18:06:21 +0000 (Sun, 25 Apr 2010) > > Log Message: > ----------- > Changed JWebUnit license to LGPL v3. Added maven-license-plugin to > automatically check and update file headers. > > Modified Paths: > -------------- > trunk/LICENSE.txt > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CharsetTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CustomTesterTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsWithLabelTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HelloWorldTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HtmlParsingTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ImageTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptEventsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/RedirectionTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResourceBundleAssertionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResponseServletTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/SelectOptionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebCookieTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/XPathTest.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/HtmlHelper.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/RedirectServlet.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java > > trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvoker.java > trunk/jwebunit-commons-tests/src/main/resources/MessageBundle.properties > > trunk/jwebunit-commons-tests/src/main/resources/TestContextBundle.properties > trunk/jwebunit-commons-tests/src/main/resources/log4j.properties > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithTwoForms.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/CustomTesterTest/test.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageHtml.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageXHtml.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/noFormPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxFormWithLabels.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputFileForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputImageForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InvalidActionForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/MultiFormPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/MultiNamedButtonForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/QueryFormSimple.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/QueryFormTricky.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/RadioForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleNamedButtonForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/SingleUnnamedButtonForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit1.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit2.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/Submit3.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/TextAreaForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/BottomFrame.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage1.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage2.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ChildPage3.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/ContentFrame.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/Frames.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/InlineFrame.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/RootPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/FramesAndWindowsTest/temp.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/InvalidForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/InvalidFormNoDoctype.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/NoDoctype.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/SimpleForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/ValidComplexForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/ValidFormNoDoctype.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/HtmlTest/XhtmlStrict.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/IElementTest/template.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ImageTest/PageWithImages.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ImageTest/somedir/AnotherPageWithImages.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/FormOnSubmit.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/FormOnSubmitSetTarget.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/index.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/nav.js > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/next.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptEventsTest/onchange.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Alert.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Confirm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/DocumentWrite.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/MultipleAlerts.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/Prompt.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/prototype-1.6.0.3.js > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/prototype.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/JavaScriptTest/userAgent.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/blah.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithAmpersandInLink.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithLink.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/pageWithLinkWithTextAfterText.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/targetPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/targetPage2.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test1.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test2.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NavigationTest/test3.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/NonHtmlContentTest/text.txt > > trunk/jwebunit-commons-tests/src/main/resources/testcases/RedirectionTest/redirect.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/RedirectionTest/redirected.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ResourceBundleAssertionsTest/testPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/ResponseServletTest/SimpleForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithOneForm.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithOneFormMulti.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithTwoForms.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/SelectOptionsTest/pageWithTwoFormsMulti.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/TableAssertionsTest/TableAssertionsTestPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/TestContextTest/testPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/WEB-INF/web.xml > > trunk/jwebunit-commons-tests/src/main/resources/testcases/WebAssertionsTest/testPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/XPathTest/next.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/XPathTest/testPage.html > > trunk/jwebunit-commons-tests/src/main/resources/testcases/helloworld.html > trunk/jwebunit-commons-tests/src/site/site.xml > > trunk/jwebunit-commons-tests/src/test/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvokerTest.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/IElement.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ElementNotFoundException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptAlertException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptConfirmException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptPromptException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineRegistryException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineResponseException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnableToSetFormException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptAlertException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptConfirmException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptPromptException.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Cell.java > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Row.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/html/Table.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptAlert.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptConfirm.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/javascript/JavascriptPrompt.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java > > trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestingEngineRegistry.java > trunk/jwebunit-core/src/site/site.xml > > trunk/jwebunit-core/src/test/java/net/sourceforge/jwebunit/TableTest.java > > trunk/jwebunit-core/src/test/java/net/sourceforge/jwebunit/junit/WebTesterTest.java > trunk/jwebunit-htmlunit-plugin/pom.xml > > trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java > > trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java > trunk/jwebunit-htmlunit-plugin/src/site/site.xml > trunk/jwebunit-htmlunit-plugin/src/site/xdoc/index.xml > > trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImplTest.java > > trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java > trunk/jwebunit-selenium-plugin/pom.xml > > trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java > trunk/jwebunit-selenium-plugin/src/site/site.xml > trunk/jwebunit-selenium-plugin/src/site/xdoc/index.xml > > trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java > trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java > trunk/jwebunit-webtestcase-generator/src/site/site.xml > trunk/pom.xml > trunk/src/assemble/release.xml > trunk/src/changes/changes.xml > trunk/src/checkstyle/header-checkstyle.txt > trunk/src/checkstyle/jwebunit-checkstyle.xml > trunk/src/site/fml/faq.fml > trunk/src/site/resources/style/project.css > trunk/src/site/site.xml > trunk/src/site/xdoc/articles.xml > trunk/src/site/xdoc/building-maven.xml > trunk/src/site/xdoc/how-to-contribute.xml > trunk/src/site/xdoc/how-to-release.xml > trunk/src/site/xdoc/index.xml > trunk/src/site/xdoc/installation.xml > trunk/src/site/xdoc/quickstart.xml > > Added Paths: > ----------- > trunk/COPYING > trunk/COPYING.LESSER > trunk/src/license/ > trunk/src/license/header.txt > > Property Changed: > ---------------- > trunk/ > trunk/jwebunit-commons-tests/ > trunk/jwebunit-core/ > trunk/jwebunit-htmlunit-plugin/ > trunk/jwebunit-selenium-plugin/ > trunk/jwebunit-webtestcase-generator/ > > > Property changes on: trunk > ___________________________________________________________________ > Modified: svn:ignore > - target > > + target > .project > .settings > > > Added: trunk/COPYING > =================================================================== > --- trunk/COPYING (rev 0) > +++ trunk/COPYING 2010-04-25 18:06:21 UTC (rev 831) > @@ -0,0 +1,674 @@ > + GNU GENERAL PUBLIC LICENSE > + Version 3, 29 June 2007 > + > + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> > + Everyone is permitted to copy and distribute verbatim copies > + of this license document, but changing it is not allowed. > + > + Preamble > + > + The GNU General Public License is a free, copyleft license for > +software and other kinds of works. > + > + The licenses for most software and other practical works are designed > +to take away your freedom to share and change the works. By contrast, > +the GNU General Public License is intended to guarantee your freedom to > +share and change all versions of a program--to make sure it remains free > +software for all its users. We, the Free Software Foundation, use the > +GNU General Public License for most of our software; it applies also to > +any other work released this way by its authors. You can apply it to > +your programs, too. > + > + When we speak of free software, we are referring to freedom, not > +price. Our General Public Licenses are designed to make sure that you > +have the freedom to distribute copies of free software (and charge for > +them if you wish), that you receive source code or can get it if you > +want it, that you can change the software or use pieces of it in new > +free programs, and that you know you can do these things. > + > + To protect your rights, we need to prevent others from denying you > +these rights or asking you to surrender the rights. Therefore, you have > +certain responsibilities if you distribute copies of the software, or if > +you modify it: responsibilities to respect the freedom of others. > + > + For example, if you distribute copies of such a program, whether > +gratis or for a fee, you must pass on to the recipients the same > +freedoms that you received. You must make sure that they, too, receive > +or can get the source code. And you must show them these terms so they > +know their rights. > + > + Developers that use the GNU GPL protect your rights with two steps: > +(1) assert copyright on the software, and (2) offer you this License > +giving you legal permission to copy, distribute and/or modify it. > + > + For the developers' and authors' protection, the GPL clearly explains > +that there is no warranty for this free software. For both users' and > +authors' sake, the GPL requires that modified versions be marked as > +changed, so that their problems will not be attributed erroneously to > +authors of previous versions. > + > + Some devices are designed to deny users access to install or run > +modified versions of the software inside them, although the manufacturer > +can do so. This is fundamentally incompatible with the aim of > +protecting users' freedom to change the software. The systematic > +pattern of such abuse occurs in the area of products for individuals to > +use, which is precisely where it is most unacceptable. Therefore, we > +have designed this version of the GPL to prohibit the practice for those > +products. If such problems arise substantially in other domains, we > +stand ready to extend this provision to those domains in future versions > +of the GPL, as needed to protect the freedom of users. > + > + Finally, every program is threatened constantly by software patents. > +States should not allow patents to restrict development and use of > +software on general-purpose computers, but in those that do, we wish to > +avoid the special danger that patents applied to a free program could > +make it effectively proprietary. To prevent this, the GPL assures that > +patents cannot be used to render the program non-free. > + > + The precise terms and conditions for copying, distribution and > +modification follow. > + > + TERMS AND CONDITIONS > + > + 0. Definitions. > + > + "This License" refers to version 3 of the GNU General Public License. > + > + "Copyright" also means copyright-like laws that apply to other kinds of > +works, such as semiconductor masks. > + > + "The Program" refers to any copyrightable work licensed under this > +License. Each licensee is addressed as "you". "Licensees" and > +"recipients" may be individuals or organizations. > + > + To "modify" a work means to copy from or adapt all or part of the work > +in a fashion requiring copyright permission, other than the making of an > +exact copy. The resulting work is called a "modified version" of the > +earlier work or a work "based on" the earlier work. > + > + A "covered work" means either the unmodified Program or a work based > +on the Program. > + > + To "propagate" a work means to do anything with it that, without > +permission, would make you directly or secondarily liable for > +infringement under applicable copyright law, except executing it on a > +computer or modifying a private copy. Propagation includes copying, > +distribution (with or without modification), making available to the > +public, and in some countries other activities as well. > + > + To "convey" a work means any kind of propagation that enables other > +parties to make or receive copies. Mere interaction with a user through > +a computer network, with no transfer of a copy, is not conveying. > + > + An interactive user interface displays "Appropriate Legal Notices" > +to the extent that it includes a convenient and prominently visible > +feature that (1) displays an appropriate copyright notice, and (2) > +tells the user that there is no warranty for the work (except to the > +extent that warranties are provided), that licensees may convey the > +work under this License, and how to view a copy of this License. If > +the interface presents a list of user commands or options, such as a > +menu, a prominent item in the list meets this criterion. > + > + 1. Source Code. > + > + The "source code" for a work means the preferred form of the work > +for making modifications to it. "Object code" means any non-source > +form of a work. > + > + A "Standard Interface" means an interface that either is an official > +standard defined by a recognized standards body, or, in the case of > +interfaces specified for a particular programming language, one that > +is widely used among developers working in that language. > + > + The "System Libraries" of an executable work include anything, other > +than the work as a whole, that (a) is included in the normal form of > +packaging a Major Component, but which is not part of that Major > +Component, and (b) serves only to enable use of the work with that > +Major Component, or to implement a Standard Interface for which an > +implementation is available to the public in source code form. A > +"Major Component", in this context, means a major essential component > +(kernel, window system, and so on) of the specific operating system > +(if any) on which the executable work runs, or a compiler used to > +produce the work, or an object code interpreter used to run it. > + > + The "Corresponding Source" for a work in object code form means all > +the source code needed to generate, install, and (for an executable > +work) run the object code and to modify the work, including scripts to > +control those activities. However, it does not include the work's > +System Libraries, or general-purpose tools or generally available free > +programs which are used unmodified in performing those activities but > +which are not part of the work. For example, Corresponding Source > +includes interface definition files associated with source files for > +the work, and the source code for shared libraries and dynamically > +linked subprograms that the work is specifically designed to require, > +such as by intimate data communication or control flow between those > +subprograms and other parts of the work. > + > + The Corresponding Source need not include anything that users > +can regenerate automatically from other parts of the Corresponding > +Source. > + > + The Corresponding Source for a work in source code form is that > +same work. > + > + 2. Basic Permissions. > + > + All rights granted under this License are granted for the term of > +copyright on the Program, and are irrevocable provided the stated > +conditions are met. This License explicitly affirms your unlimited > +permission to run the unmodified Program. The output from running a > +covered work is covered by this License only if the output, given its > +content, constitutes a covered work. This License acknowledges your > +rights of fair use or other equivalent, as provided by copyright law. > + > + You may make, run and propagate covered works that you do not > +convey, without conditions so long as your license otherwise remains > +in force. You may convey covered works to others for the sole purpose > +of having them make modifications exclusively for you, or provide you > +with facilities for running those works, provided that you comply with > +the terms of this License in conveying all material for which you do > +not control copyright. Those thus making or running the covered works > +for you must do so exclusively on your behalf, under your direction > +and control, on terms that prohibit them from making any copies of > +your copyrighted material outside their relationship with you. > + > + Conveying under any other circumstances is permitted solely under > +the conditions stated below. Sublicensing is not allowed; section 10 > +makes it unnecessary. > + > + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. > + > + No covered work shall be deemed part of an effective technological > +measure under any applicable law fulfilling obligations under article > +11 of the WIPO copyright treaty adopted on 20 December 1996, or > +similar laws prohibiting or restricting circumvention of such > +measures. > + > + When you convey a covered work, you waive any legal power to forbid > +circumvention of technological measures to the extent such circumvention > +is effected by exercising rights under this License with respect to > +the covered work, and you disclaim any intention to limit operation or > +modification of the work as a means of enforcing, against the work's > +users, your or third parties' legal rights to forbid circumvention of > +technological measures. > + > + 4. Conveying Verbatim Copies. > + > + You may convey verbatim copies of the Program's source code as you > +receive it, in any medium, provided that you conspicuously and > +appropriately publish on each copy an appropriate copyright notice; > +keep intact all notices stating that this License and any > +non-permissive terms added in accord with section 7 apply to the code; > +keep intact all notices of the absence of any warranty; and give all > +recipients a copy of this License along with the Program. > + > + You may charge any price or no price for each copy that you convey, > +and you may offer support or warranty protection for a fee. > + > + 5. Conveying Modified Source Versions. > + > + You may convey a work based on the Program, or the modifications to > +produce it from the Program, in the form of source code under the > +terms of section 4, provided that you also meet all of these conditions: > + > + a) The work must carry prominent notices stating that you modified > + it, and giving a relevant date. > + > + b) The work must carry prominent notices stating that it is > + released under this License and any conditions added under section > + 7. This requirement modifies the requirement in section 4 to > + "keep intact all notices". > + > + c) You must license the entire work, as a whole, under this > + License to anyone who comes into possession of a copy. This > + License will therefore apply, along with any applicable section 7 > + additional terms, to the whole of the work, and all its parts, > + regardless of how they are packaged. This License gives no > + permission to license the work in any other way, but it does not > + invalidate such permission if you have separately received it. > + > + d) If the work has interactive user interfaces, each must display > + Appropriate Legal Notices; however, if the Program has interactive > + interfaces that do not display Appropriate Legal Notices, your > + work need not make them do so. > + > + A compilation of a covered work with other separate and independent > +works, which are not by their nature extensions of the covered work, > +and which are not combined with it such as to form a larger program, > +in or on a volume of a storage or distribution medium, is called an > +"aggregate" if the compilation and its resulting copyright are not > +used to limit the access or legal rights of the compilation's users > +beyond what the individual works permit. Inclusion of a covered work > +in an aggregate does not cause this License to apply to the other > +parts of the aggregate. > + > + 6. ... [truncated message content] |
|
From: <he...@us...> - 2010-04-29 14:30:35
|
Revision: 832
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=832&view=rev
Author: henryju
Date: 2010-04-29 14:30:21 +0000 (Thu, 29 Apr 2010)
Log Message:
-----------
Added configuration and documentation on how to release on Nexus OSS.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/xdoc/how-to-release.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-25 18:06:21 UTC (rev 831)
+++ trunk/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
@@ -1,537 +1,563 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit</artifactId>
- <name>JWebUnit</name>
- <version>2.4-SNAPSHOT</version>
- <packaging>pom</packaging>
- <description>
- JWebUnit is a Java framework that facilitates creation of
- acceptance tests for web applications. It evolved from a project
- where we were using HttpUnit and JUnit to create acceptance
- tests. As the tests were being written, they were continuously
- refactored to remove duplication and other bad smells in the
- test code. JWebUnit is the result of these refactorings.
- </description>
- <url>http://jwebunit.sourceforge.net</url>
- <issueManagement>
- <system>sourceforge</system>
- <url>http://sourceforge.net/tracker/?group_id=61302</url>
- </issueManagement>
- <inceptionYear>2002</inceptionYear>
- <modules>
- <module>jwebunit-webtestcase-generator</module>
- <module>jwebunit-core</module>
- <module>jwebunit-commons-tests</module>
- <module>jwebunit-htmlunit-plugin</module>
- <module>jwebunit-selenium-plugin</module>
- </modules>
- <mailingLists>
- <mailingList>
- <name>JWebUnit Development Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-development
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- <mailingList>
- <name>JWebUnit User Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-users
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- </mailingLists>
- <developers>
- <developer>
- <id>henryju</id>
- <name>Julien Henry</name>
- <email>henryju at users.sourceforge.net</email>
- <url />
- <organization>Capgemini</organization>
- <organizationUrl>http://www.capgemini.com</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+2</timezone>
- </developer>
- <developer>
- <id>joshlane</id>
- <name>Josh Lane</name>
- <email>joshlane at users.sourceforge.net</email>
- <url />
- <organization>Brontes Technologies</organization>
- <organizationUrl>
- http://solutions.3m.com/wps/portal/3M/en_US/LavaCOS/3MESPE-LavaCOS/
- </organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
- <developer>
- <id>jevonwright</id>
- <name>Jevon Wright</name>
- <email>jevonwright at users.sourceforge.net</email>
- <url>http://www.jevon.org</url>
- <organization />
- <organizationUrl />
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+13</timezone>
- </developer>
- </developers>
- <contributors>
- <contributor>
- <name>Jim Weaver</name>
- <email>jimweaver at users.sourceforge.net</email>
- <organization>Thoughtworks</organization>
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>-5</timezone>
- </contributor>
- <contributor>
- <name>Wilkes Joiner</name>
- <email>wilkesj at users.sourceforge.net</email>
- <organization />
- <roles>
- <role>All-Hands person</role>
- </roles>
- </contributor>
- <contributor>
- <name>Vivek Venugopalan</name>
- <email>vivek at magic hypen cauldron dot com</email>
- <url>http://www.magic-cauldron.com</url>
- <organization />
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>+5.5</timezone>
- </contributor>
- <contributor>
- <name>Martijn Dashorst</name>
- <email>dashorst at users.sourceforge.net</email>
- <url>http://www.dashorst.dds.nl</url>
- <organization>Topicus B.V.</organization>
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>+1</timezone>
- </contributor>
- <contributor>
- <name>Nicholas Neuberger</name>
- <email>nneuberger at users.sourceforge.net</email>
- <url />
- <organization>Sunshine Solar</organization>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-6</timezone>
- </contributor>
- <contributor>
- <name>Jon Frisby</name>
- <email>jf...@ma...</email>
- <url />
- <organization />
- <organizationUrl />
- <roles />
- <timezone />
- <properties />
- </contributor>
- <contributor>
- <name>Fred Burlet</name>
- <email>fb...@ki...</email>
- <url />
- <organization />
- <organizationUrl />
- <roles />
- <timezone />
- <properties />
- </contributor>
- <contributor>
- <name>Mike C</name>
- <email>mtc3bmtc3b at users.sourceforge.net</email>
- <url />
- <organization />
- <organizationUrl />
- <roles />
- <timezone />
- <properties />
- </contributor>
- </contributors>
- <licenses>
- <license>
- <name>LGPL License</name>
- <url>${topDirectoryLocation}/LICENSE.txt</url>
- </license>
- </licenses>
- <scm>
- <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
- </scm>
- <organization>
- <name>SourceForge</name>
- <url>http://sourceforge.net</url>
- </organization>
- <repositories>
- <repository>
- <id>selenium</id>
- <name>Selenium release repository</name>
- <url>http://nexus.openqa.org/content/repositories/releases</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
- <configuration>
- <attach>false</attach>
- <descriptors>
- <descriptor>
- src/assemble/release.xml
- </descriptor>
- </descriptors>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0</version>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <preparationGoals>clean install</preparationGoals>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-toolchains-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>toolchain</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <toolchains>
- <jdk>
- <version>1.5</version>
- <vendor>sun</vendor>
- </jdk>
- </toolchains>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.mycila.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <version>1.6.0</version>
- <configuration>
- <header>${topDirectoryLocation}/src/license/header.txt</header>
- <aggregate>false</aggregate>
- <encoding>${project.build.sourceEncoding}</encoding>
- <excludes>
- <exclude>LICENSE.txt</exclude>
- <exclude>README.txt</exclude>
- <exclude>COPYING*</exclude>
- <exclude>src/test/clover/clover.license</exclude>
- <exclude>src/site/resources/images/jwebunit-architecture.odg</exclude>
- <exclude>src/main/javacc/Java1.5.jj</exclude>
- <exclude>src/main/javacc/Token.java</exclude>
- <exclude>src/main/resources/testcases/CharsetTest/charset.html_utf-8</exclude>
- <exclude>src/main/resources/testcases/NonHtmlContentTest/text.bin</exclude>
- <exclude>src/main/resources/testcases/FramesAndWindowsTest/TopFrame.html</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1-beta-1</version>
- </plugin>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <properties>
- <topDirectoryLocation>.</topDirectoryLocation>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.7</version>
- </dependency>
- <dependency>
- <groupId>junitperf</groupId>
- <artifactId>junitperf</artifactId>
- <version>1.8</version>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.12</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- <version>2.7</version>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium.client-drivers</groupId>
- <artifactId>selenium-java-client-driver</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>regexp</groupId>
- <artifactId>regexp</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.5.0</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.0</version>
- <optional>true</optional>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <configLocation>
- ${basedir}/${topDirectoryLocation}/src/checkstyle/jwebunit-checkstyle.xml
- </configLocation>
- <headerLocation>
- ${basedir}/${topDirectoryLocation}/src/checkstyle/header-checkstyle.txt
- </headerLocation>
- <xrefLocation>xref</xrefLocation>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.4.3</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jdepend-maven-plugin</artifactId>
- <version>2.0-beta-2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changes-plugin</artifactId>
- <version>2.2</version>
- <inherited>false</inherited>
- <reportSets>
- <reportSet>
- <reports>
- <report>changes-report</report>
- </reports>
- </reportSet>
- </reportSets>
- <configuration>
- <issueLinkTemplate>
- http://sourceforge.net/support/tracker.php?aid=%ISSUE%
- </issueLinkTemplate>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.5</version>
- <reportSets>
- <reportSet>
- <id>aggregate</id>
- <configuration>
- <excludePackageNames>
- net.sourceforge.jwebunit.javacc:net.sourceforge.jwebunit.tests
- </excludePackageNames>
- <links>
- <link>
- http://java.sun.com/j2se/1.5.0/docs/api/
- </link>
- <link>
- http://hc.apache.org/httpclient-3.x/apidocs/
- </link>
- <link>http://junit.sourceforge.net/junit3.8.1/javadoc/</link>
- <link>
- http://htmlunit.sourceforge.net/apidocs/
- </link>
- <link>http://release.seleniumhq.org/selenium-remote-control/0.9.2/doc/java/</link>
- </links>
- <groups>
- <group>
- <title>Core Packages</title>
- <packages>
- net.sourceforge.jwebunit.api*:net.sourceforge.jwebunit.junit*:net.sourceforge.jwebunit.exception*:net.sourceforge.jwebunit.html*:net.sourceforge.jwebunit.javascript*:net.sourceforge.jwebunit.util*
- </packages>
- </group>
- <group>
- <title>HtmlUnit Packages</title>
- <packages>
- net.sourceforge.jwebunit.htmlunit*
- </packages>
- </group>
- <group>
- <title>Selenium Packages</title>
- <packages>
- net.sourceforge.jwebunit.selenium*
- </packages>
- </group>
- </groups>
- </configuration>
- <reports>
- <report>aggregate</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <xrefLocation>
- ${project.reporting.outputDirectory}/${topDirectoryLocation}/xref
- </xrefLocation>
- <targetJdk>1.5</targetJdk>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.1.2</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>index</report>
- <report>dependencies</report>
- <report>project-team</report>
- <report>mailing-list</report>
- <report>license</report>
- <report>issue-tracking</report>
- <report>scm</report>
- <report>summary</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
- <distributionManagement>
- <site>
- <id>jwebunit-website</id>
- <name>JWebUnit WebSite - Sourceforge</name>
- <url>
- scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs
- </url>
- </site>
- <repository>
- <id>jwebunit-m2-repo</id>
- <url>
- scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs/m2-repo
- </url>
- <name>JWebUnit Maven 2 Repository</name>
- </repository>
- <snapshotRepository>
- <id>jwebunit-m2-repo-snapshots</id>
- <url>
- scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs/m2-repo-snapshots
- </url>
- <name>JWebUnit Maven 2 Snapshots Repository</name>
- </snapshotRepository>
- </distributionManagement>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit</artifactId>
+ <name>JWebUnit</name>
+ <version>2.4-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <description>
+ JWebUnit is a Java framework that facilitates creation of
+ acceptance tests for web applications. It evolved from a project
+ where we were using HttpUnit and JUnit to create acceptance
+ tests. As the tests were being written, they were continuously
+ refactored to remove duplication and other bad smells in the
+ test code. JWebUnit is the result of these refactorings.
+ </description>
+ <url>http://jwebunit.sourceforge.net</url>
+ <issueManagement>
+ <system>sourceforge</system>
+ <url>http://sourceforge.net/tracker/?group_id=61302</url>
+ </issueManagement>
+ <inceptionYear>2002</inceptionYear>
+ <modules>
+ <module>jwebunit-webtestcase-generator</module>
+ <module>jwebunit-core</module>
+ <module>jwebunit-commons-tests</module>
+ <module>jwebunit-htmlunit-plugin</module>
+ <module>jwebunit-selenium-plugin</module>
+ </modules>
+ <mailingLists>
+ <mailingList>
+ <name>JWebUnit Development Mailing list</name>
+ <subscribe>
+ http://lists.sourceforge.net/lists/listinfo/jwebunit-development
+ </subscribe>
+ <unsubscribe>
+ http://lists.sourceforge.net/lists/listinfo/jwebunit-development
+ </unsubscribe>
+ <archive>
+ http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-development
+ </archive>
+ <post>jwe...@li...</post>
+ </mailingList>
+ <mailingList>
+ <name>JWebUnit User Mailing list</name>
+ <subscribe>
+ http://lists.sourceforge.net/lists/listinfo/jwebunit-users
+ </subscribe>
+ <unsubscribe>
+ http://lists.sourceforge.net/lists/listinfo/jwebunit-users
+ </unsubscribe>
+ <archive>
+ http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-users
+ </archive>
+ <post>jwe...@li...</post>
+ </mailingList>
+ </mailingLists>
+ <developers>
+ <developer>
+ <id>henryju</id>
+ <name>Julien Henry</name>
+ <email>henryju at users.sourceforge.net</email>
+ <url />
+ <organization>Capgemini</organization>
+ <organizationUrl>http://www.capgemini.com</organizationUrl>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+2</timezone>
+ </developer>
+ <developer>
+ <id>joshlane</id>
+ <name>Josh Lane</name>
+ <email>joshlane at users.sourceforge.net</email>
+ <url />
+ <organization>Brontes Technologies</organization>
+ <organizationUrl>
+ http://solutions.3m.com/wps/portal/3M/en_US/LavaCOS/3MESPE-LavaCOS/
+ </organizationUrl>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ <developer>
+ <id>jevonwright</id>
+ <name>Jevon Wright</name>
+ <email>jevonwright at users.sourceforge.net</email>
+ <url>http://www.jevon.org</url>
+ <organization />
+ <organizationUrl />
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+13</timezone>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Jim Weaver</name>
+ <email>jimweaver at users.sourceforge.net</email>
+ <organization>Thoughtworks</organization>
+ <roles>
+ <role>All-Hands person</role>
+ </roles>
+ <timezone>-5</timezone>
+ </contributor>
+ <contributor>
+ <name>Wilkes Joiner</name>
+ <email>wilkesj at users.sourceforge.net</email>
+ <organization />
+ <roles>
+ <role>All-Hands person</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Vivek Venugopalan</name>
+ <email>vivek at magic hypen cauldron dot com</email>
+ <url>http://www.magic-cauldron.com</url>
+ <organization />
+ <roles>
+ <role>All-Hands person</role>
+ </roles>
+ <timezone>+5.5</timezone>
+ </contributor>
+ <contributor>
+ <name>Martijn Dashorst</name>
+ <email>dashorst at users.sourceforge.net</email>
+ <url>http://www.dashorst.dds.nl</url>
+ <organization>Topicus B.V.</organization>
+ <roles>
+ <role>All-Hands person</role>
+ </roles>
+ <timezone>+1</timezone>
+ </contributor>
+ <contributor>
+ <name>Nicholas Neuberger</name>
+ <email>nneuberger at users.sourceforge.net</email>
+ <url />
+ <organization>Sunshine Solar</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-6</timezone>
+ </contributor>
+ <contributor>
+ <name>Jon Frisby</name>
+ <email>jf...@ma...</email>
+ <url />
+ <organization />
+ <organizationUrl />
+ <roles />
+ <timezone />
+ <properties />
+ </contributor>
+ <contributor>
+ <name>Fred Burlet</name>
+ <email>fb...@ki...</email>
+ <url />
+ <organization />
+ <organizationUrl />
+ <roles />
+ <timezone />
+ <properties />
+ </contributor>
+ <contributor>
+ <name>Mike C</name>
+ <email>mtc3bmtc3b at users.sourceforge.net</email>
+ <url />
+ <organization />
+ <organizationUrl />
+ <roles />
+ <timezone />
+ <properties />
+ </contributor>
+ </contributors>
+ <licenses>
+ <license>
+ <name>LGPL License</name>
+ <url>${topDirectoryLocation}/LICENSE.txt</url>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
+ </scm>
+ <organization>
+ <name>SourceForge</name>
+ <url>http://sourceforge.net</url>
+ </organization>
+ <repositories>
+ <repository>
+ <id>selenium</id>
+ <name>Selenium release repository</name>
+ <url>http://nexus.openqa.org/content/repositories/releases</url>
+ </repository>
+ </repositories>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <configuration>
+ <attach>false</attach>
+ <descriptors>
+ <descriptor>
+ src/assemble/release.xml
+ </descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ <preparationGoals>clean install</preparationGoals>
+ <mavenExecutorId>forked-path</mavenExecutorId>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>1.5</version>
+ <vendor>sun</vendor>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>com.mycila.maven-license-plugin</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <version>1.6.0</version>
+ <configuration>
+ <header>${topDirectoryLocation}/src/license/header.txt</header>
+ <aggregate>false</aggregate>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ <excludes>
+ <exclude>LICENSE.txt</exclude>
+ <exclude>README.txt</exclude>
+ <exclude>COPYING*</exclude>
+ <exclude>src/test/clover/clover.license</exclude>
+ <exclude>src/site/resources/images/jwebunit-architecture.odg</exclude>
+ <exclude>src/main/javacc/Java1.5.jj</exclude>
+ <exclude>src/main/javacc/Token.java</exclude>
+ <exclude>src/main/resources/testcases/CharsetTest/charset.html_utf-8</exclude>
+ <exclude>src/main/resources/testcases/NonHtmlContentTest/text.bin</exclude>
+ <exclude>src/main/resources/testcases/FramesAndWindowsTest/TopFrame.html</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1-beta-1</version>
+ </plugin>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <properties>
+ <topDirectoryLocation>.</topDirectoryLocation>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.7</version>
+ </dependency>
+ <dependency>
+ <groupId>junitperf</groupId>
+ <artifactId>junitperf</artifactId>
+ <version>1.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>6.1.12</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ <version>2.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.0</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <profiles>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <configLocation>
+ ${basedir}/${topDirectoryLocation}/src/checkstyle/jwebunit-checkstyle.xml
+ </configLocation>
+ <headerL...
[truncated message content] |
|
From: <he...@us...> - 2010-04-29 14:33:38
|
Revision: 833
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=833&view=rev
Author: henryju
Date: 2010-04-29 14:33:31 +0000 (Thu, 29 Apr 2010)
Log Message:
-----------
[maven-release-plugin] prepare release jwebunit-2.4-test-release
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -1,42 +1,42 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-commons-tests</artifactId>
- <name>Commons Tests</name>
- <description>All test cases that each plugin should pass.</description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junitperf</groupId>
- <artifactId>junitperf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4-test-release</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <name>Commons Tests</name>
+ <description>All test cases that each plugin should pass.</description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junitperf</groupId>
+ <artifactId>junitperf</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/jwebunit-core/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -1,84 +1,84 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-core</artifactId>
- <name>Core - API</name>
- <description>
- The core API of JWebUnit. Define how tests should be written and interface for testing engines.
- </description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>regexp</groupId>
- <artifactId>regexp</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <sourceRoot>
- ${project.build.directory}/generated-sources/main/java
- </sourceRoot>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <mainClass>
- net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
- </mainClass>
- <arguments>
- <argument>${basedir}/src/main/java</argument>
- <argument>
- ${project.build.directory}/generated-sources/main/java
- </argument>
- </arguments>
- <includePluginDependencies>
- true
- </includePluginDependencies>
- <includeProjectDependencies>
- false
- </includeProjectDependencies>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>
- jwebunit-webtestcase-generator
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4-test-release</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-core</artifactId>
+ <name>Core - API</name>
+ <description>
+ The core API of JWebUnit. Define how tests should be written and interface for testing engines.
+ </description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <sourceRoot>
+ ${project.build.directory}/generated-sources/main/java
+ </sourceRoot>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>
+ net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
+ </mainClass>
+ <arguments>
+ <argument>${basedir}/src/main/java</argument>
+ <argument>
+ ${project.build.directory}/generated-sources/main/java
+ </argument>
+ </arguments>
+ <includePluginDependencies>
+ true
+ </includePluginDependencies>
+ <includeProjectDependencies>
+ false
+ </includeProjectDependencies>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>
+ jwebunit-webtestcase-generator
+ </artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -1,74 +1,74 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-htmlunit-plugin</artifactId>
- <name>HtmlUnit Plugin</name>
- <description>HtmlUnit plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4-test-release</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-htmlunit-plugin</artifactId>
+ <name>HtmlUnit Plugin</name>
+ <description>HtmlUnit plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -1,95 +1,95 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-selenium-plugin</artifactId>
- <name>Selenium Plugin</name>
- <description>Selenium plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <testFailureIgnore>true</testFailureIgnore>
- <skip>true</skip>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- Requires java 1.5 -->
- <!--plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>selenium-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>start</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>start-server</goal>
- </goals>
- <configuration>
- <background>true</background>
- <multiWindow>true</multiWindow>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.openqa.selenium.server</groupId>
- <artifactId>selenium-server</artifactId>
- <version>1.0-beta-1</version>
- </dependency>
- </dependencies>
- </plugin-->
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium.client-drivers</groupId>
- <artifactId>selenium-java-client-driver</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4-test-release</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-selenium-plugin</artifactId>
+ <name>Selenium Plugin</name>
+ <description>Selenium plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <testFailureIgnore>true</testFailureIgnore>
+ <skip>true</skip>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <!-- Requires java 1.5 -->
+ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>start-server</goal>
+ </goals>
+ <configuration>
+ <background>true</background>
+ <multiWindow>true</multiWindow>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.openqa.selenium.server</groupId>
+ <artifactId>selenium-server</artifactId>
+ <version>1.0-beta-1</version>
+ </dependency>
+ </dependencies>
+ </plugin-->
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -1,33 +1,33 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-webtestcase-generator</artifactId>
- <name>WebTestCase Generator</name>
- <description>A little parser that create WebTestCase from WebTester.</description>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <outputDirectory>target/generated-sources/javacc</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4-test-release</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-webtestcase-generator</artifactId>
+ <name>WebTestCase Generator</name>
+ <description>A little parser that create WebTestCase from WebTester.</description>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>javacc</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>target/generated-sources/javacc</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-29 14:30:21 UTC (rev 832)
+++ trunk/pom.xml 2010-04-29 14:33:31 UTC (rev 833)
@@ -3,7 +3,7 @@
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit</artifactId>
<name>JWebUnit</name>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4-test-release</version>
<packaging>pom</packaging>
<description>
JWebUnit is a Java framework that facilitates creation of
@@ -180,9 +180,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
+ <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4-test-release</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4-test-release</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-2.4-test-release</url>
</scm>
<organization>
<name>SourceForge</name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-04-29 14:34:22
|
Revision: 835
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=835&view=rev
Author: henryju
Date: 2010-04-29 14:34:16 +0000 (Thu, 29 Apr 2010)
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/jwebunit-core/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-29 14:33:59 UTC (rev 834)
+++ trunk/pom.xml 2010-04-29 14:34:16 UTC (rev 835)
@@ -3,7 +3,7 @@
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit</artifactId>
<name>JWebUnit</name>
- <version>2.4-test-release</version>
+ <version>2.4-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
JWebUnit is a Java framework that facilitates creation of
@@ -180,9 +180,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4-test-release</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4-test-release</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-2.4-test-release</url>
+ <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
</scm>
<organization>
<name>SourceForge</name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-07-04 15:45:30
|
Revision: 840
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=840&view=rev
Author: henryju
Date: 2010-07-04 15:45:24 +0000 (Sun, 04 Jul 2010)
Log Message:
-----------
Prepare for the release.
Modified Paths:
--------------
trunk/README.txt
trunk/src/changes/changes.xml
trunk/src/site/xdoc/how-to-release.xml
trunk/src/site/xdoc/index.xml
Modified: trunk/README.txt
===================================================================
--- trunk/README.txt 2010-07-04 15:33:16 UTC (rev 839)
+++ trunk/README.txt 2010-07-04 15:45:24 UTC (rev 840)
@@ -1,4 +1,4 @@
-The JWebUnit team is pleased to announce the JWebUnit 2.3 release!
+The JWebUnit team is pleased to announce the JWebUnit 2.4 release!
http://jwebunit.sourceforge.net
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-07-04 15:33:16 UTC (rev 839)
+++ trunk/src/changes/changes.xml 2010-07-04 15:45:24 UTC (rev 840)
@@ -28,7 +28,7 @@
</author>
</properties>
<body>
- <release version="2.4" date="UNKNOW" description="Licensing change">
+ <release version="2.4" date="July 4, 2010" description="Licensing change">
<action type="update" dev="henryju">
License was changed to LGPL v3
</action>
Modified: trunk/src/site/xdoc/how-to-release.xml
===================================================================
--- trunk/src/site/xdoc/how-to-release.xml 2010-07-04 15:33:16 UTC (rev 839)
+++ trunk/src/site/xdoc/how-to-release.xml 2010-07-04 15:45:24 UTC (rev 840)
@@ -57,7 +57,7 @@
</server>
]]></source>
Don't forget to put your own sourceforge account and password for jwebunit-website. Concerning sonatype-nexus you need
- the username and password from http://oss.sonatype.org/ (see <a href="https://docs.sonatype.com/display/NX/OSS+Repository+Hosting">OSS Repository Hosting</a>)
+ the username and password from http://oss.sonatype.org/ (see <a href="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide">OSS Repository Hosting</a>)
for instructions on how to set up your configuration like GPG signature.
Reminder: in order to have access granted to a new JWebUnit developper, ask on <a href="https://issues.sonatype.org/browse/OSSRH-384">OSSRH-384</a>.
</p>
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2010-07-04 15:33:16 UTC (rev 839)
+++ trunk/src/site/xdoc/index.xml 2010-07-04 15:45:24 UTC (rev 840)
@@ -55,7 +55,7 @@
</p>
<p>
- The current version of JWebUnit is 2.3. This is the "stable" version of
+ The current version of JWebUnit is 2.4. This is the "stable" version of
JWebUnit, and requires Java 1.5.
</p>
</section>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-07-04 15:53:58
|
Revision: 841
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=841&view=rev
Author: henryju
Date: 2010-07-04 15:53:51 +0000 (Sun, 04 Jul 2010)
Log Message:
-----------
[maven-release-plugin] prepare release jwebunit-2.4
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,42 +1,42 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-commons-tests</artifactId>
- <name>Commons Tests</name>
- <description>All test cases that each plugin should pass.</description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junitperf</groupId>
- <artifactId>junitperf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <name>Commons Tests</name>
+ <description>All test cases that each plugin should pass.</description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junitperf</groupId>
+ <artifactId>junitperf</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/jwebunit-core/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,84 +1,84 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-core</artifactId>
- <name>Core - API</name>
- <description>
- The core API of JWebUnit. Define how tests should be written and interface for testing engines.
- </description>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>regexp</groupId>
- <artifactId>regexp</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <sourceRoot>
- ${project.build.directory}/generated-sources/main/java
- </sourceRoot>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <mainClass>
- net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
- </mainClass>
- <arguments>
- <argument>${basedir}/src/main/java</argument>
- <argument>
- ${project.build.directory}/generated-sources/main/java
- </argument>
- </arguments>
- <includePluginDependencies>
- true
- </includePluginDependencies>
- <includeProjectDependencies>
- false
- </includeProjectDependencies>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>
- jwebunit-webtestcase-generator
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-core</artifactId>
+ <name>Core - API</name>
+ <description>
+ The core API of JWebUnit. Define how tests should be written and interface for testing engines.
+ </description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <sourceRoot>
+ ${project.build.directory}/generated-sources/main/java
+ </sourceRoot>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>
+ net.sourceforge.jwebunit.javacc.WebTestCaseGenerator
+ </mainClass>
+ <arguments>
+ <argument>${basedir}/src/main/java</argument>
+ <argument>
+ ${project.build.directory}/generated-sources/main/java
+ </argument>
+ </arguments>
+ <includePluginDependencies>
+ true
+ </includePluginDependencies>
+ <includeProjectDependencies>
+ false
+ </includeProjectDependencies>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>
+ jwebunit-webtestcase-generator
+ </artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,74 +1,74 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-htmlunit-plugin</artifactId>
- <name>HtmlUnit Plugin</name>
- <description>HtmlUnit plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-htmlunit-plugin</artifactId>
+ <name>HtmlUnit Plugin</name>
+ <description>HtmlUnit plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,95 +1,95 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-selenium-plugin</artifactId>
- <name>Selenium Plugin</name>
- <description>Selenium plugin for JWebUnit.</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <testFailureIgnore>true</testFailureIgnore>
- <skip>true</skip>
- <includes>
- <include>**/*Test.java</include>
- <include>**/*Tests.java</include>
- </includes>
- <excludes>
- <exclude>**/*AbstractTest.java</exclude>
- <exclude>**/*AbstractTests.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- Requires java 1.5 -->
- <!--plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>selenium-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>start</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>start-server</goal>
- </goals>
- <configuration>
- <background>true</background>
- <multiWindow>true</multiWindow>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.openqa.selenium.server</groupId>
- <artifactId>selenium-server</artifactId>
- <version>1.0-beta-1</version>
- </dependency>
- </dependencies>
- </plugin-->
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium.client-drivers</groupId>
- <artifactId>selenium-java-client-driver</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit-commons-tests</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-selenium-plugin</artifactId>
+ <name>Selenium Plugin</name>
+ <description>Selenium plugin for JWebUnit.</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <testFailureIgnore>true</testFailureIgnore>
+ <skip>true</skip>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*Tests.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ <exclude>**/*AbstractTests.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <!-- Requires java 1.5 -->
+ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>start-server</goal>
+ </goals>
+ <configuration>
+ <background>true</background>
+ <multiWindow>true</multiWindow>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.openqa.selenium.server</groupId>
+ <artifactId>selenium-server</artifactId>
+ <version>1.0-beta-1</version>
+ </dependency>
+ </dependencies>
+ </plugin-->
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <artifactId>jwebunit-commons-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+</project>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,33 +1,33 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>jwebunit</artifactId>
- <groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jwebunit-webtestcase-generator</artifactId>
- <name>WebTestCase Generator</name>
- <description>A little parser that create WebTestCase from WebTester.</description>
- <properties>
- <topDirectoryLocation>..</topDirectoryLocation>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <outputDirectory>target/generated-sources/javacc</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>jwebunit</artifactId>
+ <groupId>net.sourceforge.jwebunit</groupId>
+ <version>2.4</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jwebunit-webtestcase-generator</artifactId>
+ <name>WebTestCase Generator</name>
+ <description>A little parser that create WebTestCase from WebTester.</description>
+ <properties>
+ <topDirectoryLocation>..</topDirectoryLocation>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>javacc</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>target/generated-sources/javacc</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-07-04 15:45:24 UTC (rev 840)
+++ trunk/pom.xml 2010-07-04 15:53:51 UTC (rev 841)
@@ -1,563 +1,563 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>net.sourceforge.jwebunit</groupId>
- <artifactId>jwebunit</artifactId>
- <name>JWebUnit</name>
- <version>2.4-SNAPSHOT</version>
- <packaging>pom</packaging>
- <description>
- JWebUnit is a Java framework that facilitates creation of
- acceptance tests for web applications. It evolved from a project
- where we were using HttpUnit and JUnit to create acceptance
- tests. As the tests were being written, they were continuously
- refactored to remove duplication and other bad smells in the
- test code. JWebUnit is the result of these refactorings.
- </description>
- <url>http://jwebunit.sourceforge.net</url>
- <issueManagement>
- <system>sourceforge</system>
- <url>http://sourceforge.net/tracker/?group_id=61302</url>
- </issueManagement>
- <inceptionYear>2002</inceptionYear>
- <modules>
- <module>jwebunit-webtestcase-generator</module>
- <module>jwebunit-core</module>
- <module>jwebunit-commons-tests</module>
- <module>jwebunit-htmlunit-plugin</module>
- <module>jwebunit-selenium-plugin</module>
- </modules>
- <mailingLists>
- <mailingList>
- <name>JWebUnit Development Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-development
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-development
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- <mailingList>
- <name>JWebUnit User Mailing list</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/jwebunit-users
- </unsubscribe>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum_name=jwebunit-users
- </archive>
- <post>jwe...@li...</post>
- </mailingList>
- </mailingLists>
- <developers>
- <developer>
- <id>henryju</id>
- <name>Julien Henry</name>
- <email>henryju at users.sourceforge.net</email>
- <url />
- <organization>Capgemini</organization>
- <organizationUrl>http://www.capgemini.com</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+2</timezone>
- </developer>
- <developer>
- <id>joshlane</id>
- <name>Josh Lane</name>
- <email>joshlane at users.sourceforge.net</email>
- <url />
- <organization>Brontes Technologies</organization>
- <organizationUrl>
- http://solutions.3m.com/wps/portal/3M/en_US/LavaCOS/3MESPE-LavaCOS/
- </organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
- <developer>
- <id>jevonwright</id>
- <name>Jevon Wright</name>
- <email>jevonwright at users.sourceforge.net</email>
- <url>http://www.jevon.org</url>
- <organization />
- <organizationUrl />
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+13</timezone>
- </developer>
- </developers>
- <contributors>
- <contributor>
- <name>Jim Weaver</name>
- <email>jimweaver at users.sourceforge.net</email>
- <organization>Thoughtworks</organization>
- <roles>
- <role>All-Hands person</role>
- </roles>
- <timezone>-5</timezone>
- </contributor>
- <contributor>
- <name>Wilkes Joiner</name>
- <email>wilkesj at users.sourceforge.net</email>
- <organization />
- <roles>
- <role>All-Hands person</role>
- </roles>
- </contributor>
- <contri...
[truncated message content] |
|
From: <he...@us...> - 2010-07-04 16:01:57
|
Revision: 843
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=843&view=rev
Author: henryju
Date: 2010-07-04 16:01:51 +0000 (Sun, 04 Jul 2010)
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/jwebunit-webtestcase-generator/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/jwebunit-commons-tests/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/jwebunit-core/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-webtestcase-generator/pom.xml
===================================================================
--- trunk/jwebunit-webtestcase-generator/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/jwebunit-webtestcase-generator/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-07-04 16:01:39 UTC (rev 842)
+++ trunk/pom.xml 2010-07-04 16:01:51 UTC (rev 843)
@@ -3,7 +3,7 @@
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit</artifactId>
<name>JWebUnit</name>
- <version>2.4</version>
+ <version>2.5-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
JWebUnit is a Java framework that facilitates creation of
@@ -180,9 +180,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-2.4</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-2.4</url>
+ <connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
</scm>
<organization>
<name>SourceForge</name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-09-14 12:09:07
|
Revision: 844
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=844&view=rev
Author: henryju
Date: 2010-09-14 12:08:58 +0000 (Tue, 14 Sep 2010)
Log Message:
-----------
[1864365] Allow to change HtmlUnit refresh handler. Thanks to Jason McSwain for the patch.
Modified Paths:
--------------
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
trunk/src/changes/changes.xml
trunk/src/site/fml/faq.fml
Added Paths:
-----------
trunk/jwebunit-commons-tests/src/main/resources/testcases/RefreshHandlerTest/
trunk/jwebunit-commons-tests/src/main/resources/testcases/RefreshHandlerTest/testPage.html
trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/RefreshHandlerTest.java
Added: trunk/jwebunit-commons-tests/src/main/resources/testcases/RefreshHandlerTest/testPage.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/RefreshHandlerTest/testPage.html (rev 0)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/RefreshHandlerTest/testPage.html 2010-09-14 12:08:58 UTC (rev 844)
@@ -0,0 +1,43 @@
+<!--
+
+ Copyright (c) 2010, JWebUnit team.
+
+ This file is part of JWebUnit.
+
+ JWebUnit is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ JWebUnit is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<html>
+ <head>
+ <meta http-equiv="refresh" content="5">
+ <title>RefreshHandler - Test Page</title>
+ </head>
+ <body>
+ <p>Hello World</p>
+ <table>
+ <tr>
+ <td>
+ The Current Time is:
+ </td>
+ <td>
+ <script type="text/javascript">
+ var currentTime = new Date()
+ document.write(currentTime);
+ </script>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-07-04 16:01:51 UTC (rev 843)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-09-14 12:08:58 UTC (rev 844)
@@ -68,6 +68,7 @@
import com.gargoylesoftware.htmlunit.JavaScriptPage;
import com.gargoylesoftware.htmlunit.Page;
import com.gargoylesoftware.htmlunit.PromptHandler;
+import com.gargoylesoftware.htmlunit.RefreshHandler;
import com.gargoylesoftware.htmlunit.TextPage;
import com.gargoylesoftware.htmlunit.UnexpectedPage;
import com.gargoylesoftware.htmlunit.WebClient;
@@ -117,6 +118,10 @@
private final Logger logger = LoggerFactory.getLogger(HtmlUnitTestingEngineImpl.class);
/**
+ * holder for alternative refresh handler.
+ */
+ private RefreshHandler refreshHandler;
+ /**
* Encapsulate browser abilities.
*/
private WebClient wc;
@@ -252,7 +257,7 @@
// only throw exception if necessary
if (!ignoreFailingStatusCodes) {
throw new TestingEngineResponseException(
- ex.getStatusCode(), ex);
+ "unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex);
}
} catch (IOException ex) {
throw new RuntimeException(ex);
@@ -806,7 +811,11 @@
wc.setJavaScriptEnabled(jsEnabled);
wc.setThrowExceptionOnScriptError(throwExceptionOnScriptError);
wc.setRedirectEnabled(true);
- wc.setRefreshHandler(new ImmediateRefreshHandler());
+ if (refreshHandler == null){
+ wc.setRefreshHandler(new ImmediateRefreshHandler());
+ } else {
+ wc.setRefreshHandler(refreshHandler);
+ }
wc.setTimeout(timeout);
DefaultCredentialsProvider creds = new DefaultCredentialsProvider();
if (getTestContext().hasAuthorization()) {
@@ -2321,4 +2330,13 @@
timeout = milliseconds;
}
+
+ public void setRefreshHandler(RefreshHandler handler){
+ this.refreshHandler = handler;
+
+ if (wc != null){
+ wc.setRefreshHandler(refreshHandler);
+ }
+ }
+
}
Added: trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/RefreshHandlerTest.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/RefreshHandlerTest.java (rev 0)
+++ trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/RefreshHandlerTest.java 2010-09-14 12:08:58 UTC (rev 844)
@@ -0,0 +1,126 @@
+/**
+ * Copyright (c) 2010, JWebUnit team.
+ *
+ * This file is part of JWebUnit.
+ *
+ * JWebUnit is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * JWebUnit is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package net.sourceforge.jwebunit.htmlunit;
+
+import junit.framework.Assert;
+import junit.framework.AssertionFailedError;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import net.sourceforge.jwebunit.tests.JWebUnitAPITestCase;
+import net.sourceforge.jwebunit.tests.util.JettySetup;
+import net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl;
+import com.gargoylesoftware.htmlunit.ThreadedRefreshHandler;
+import com.gargoylesoftware.htmlunit.WaitingRefreshHandler;
+
+/**
+ * Unit test to validate JWEbUnit's HtmlUnit plugin will now allow for custom
+ * RefreshHandler to be passed in prior to initialization, as well as changed on
+ * the fly.
+ *
+ * @Date 09/03/2010
+ * @author Jason McSwain
+ */
+public class RefreshHandlerTest extends JWebUnitAPITestCase {
+ public RefreshHandlerTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return new JettySetup(new TestSuite(RefreshHandlerTest.class));
+ }
+
+ public void setUp() throws Exception {
+ super.setUp();
+ }
+
+ public void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testDefaultRefreshHandler() throws Exception {
+ if (this.getTestingEngine() instanceof HtmlUnitTestingEngineImpl) {
+ setBaseUrl(HOST_PATH + "/RefreshHandlerTest");
+ getTestContext().setResourceBundleName("RefreshHandlerTest");
+ try {
+ beginAt("/testPage.html");
+ fail("expected exception b/c page refreshes, but received no exception");
+ } catch (RuntimeException re) {
+ String msg = re.getMessage();
+ assertTrue(
+ "msg was not as expected.\n[" + msg + "]",
+ msg.endsWith("aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead."));
+ } catch (Exception e) {
+ throw new Exception("received unexpected Exception.", e);
+ }
+ } else {
+ System.out
+ .println("[WARN] skipping test [testDefaultRefreshHandler] b/c it only applies to HtmlUnitTestEngineImpl");
+ }
+ }
+
+ public void testAlternateRefreshHandler() throws Exception {
+ if (this.getTestingEngine() instanceof HtmlUnitTestingEngineImpl) {
+ HtmlUnitTestingEngineImpl engine = (HtmlUnitTestingEngineImpl) this
+ .getTestingEngine();
+ setBaseUrl(HOST_PATH + "/RefreshHandlerTest");
+ getTestContext().setResourceBundleName("RefreshHandlerTest");
+
+ engine.setRefreshHandler(new ThreadedRefreshHandler());
+ beginAt("/testPage.html");
+
+ assertTrue("refresh handler was not of expected type.["
+ + engine.getWebClient().getRefreshHandler().getClass()
+ .getName() + "]", engine.getWebClient()
+ .getRefreshHandler() instanceof ThreadedRefreshHandler);
+
+ } else {
+ System.out
+ .println("[WARN] skipping test [testAlternateRefreshHandler] b/c it only applies to HtmlUnitTestEngineImpl");
+ }
+ }
+
+ public void testChangeRefreshHandler() throws Exception {
+ if (this.getTestingEngine() instanceof HtmlUnitTestingEngineImpl) {
+ HtmlUnitTestingEngineImpl engine = (HtmlUnitTestingEngineImpl) this
+ .getTestingEngine();
+ setBaseUrl(HOST_PATH + "/RefreshHandlerTest");
+ getTestContext().setResourceBundleName("RefreshHandlerTest");
+
+ engine.setRefreshHandler(new ThreadedRefreshHandler());
+ beginAt("/testPage.html");
+
+ assertTrue("refresh handler was not of expected type.["
+ + engine.getWebClient().getRefreshHandler().getClass()
+ .getName() + "]", engine.getWebClient()
+ .getRefreshHandler() instanceof ThreadedRefreshHandler);
+
+ engine.setRefreshHandler(new WaitingRefreshHandler());
+ assertTrue("refresh handler was not of expected type.["
+ + engine.getWebClient().getRefreshHandler().getClass()
+ .getName() + "]", engine.getWebClient()
+ .getRefreshHandler() instanceof WaitingRefreshHandler);
+
+ } else {
+ System.out
+ .println("[WARN] skipping test [testChangeRefreshHandler] b/c it only applies to HtmlUnitTestEngineImpl");
+ }
+ }
+
+}
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-07-04 16:01:51 UTC (rev 843)
+++ trunk/src/changes/changes.xml 2010-09-14 12:08:58 UTC (rev 844)
@@ -28,6 +28,11 @@
</author>
</properties>
<body>
+ <release version="2.5" date="UNKNOW" description="">
+ <action type="add" dev="henryju" issue="1864365" due-to="Jason McSwain">
+ Added the ability to change RefreshHandler in HtmlUnitTestingEngine.
+ </action>
+ </release>
<release version="2.4" date="July 4, 2010" description="Licensing change">
<action type="update" dev="henryju">
License was changed to LGPL v3
Modified: trunk/src/site/fml/faq.fml
===================================================================
--- trunk/src/site/fml/faq.fml 2010-07-04 16:01:51 UTC (rev 843)
+++ trunk/src/site/fml/faq.fml 2010-09-14 12:08:58 UTC (rev 844)
@@ -73,4 +73,20 @@
</faq>
</part>
+ <part id="HtmlUnit">
+ <title>HtmlUnit testing engine</title>
+
+ <faq id="htmlunit-change-refreshhandler">
+ <question>
+ How can I change HtmlUnit refresh handler (default is ImmediateRefreshHandler)?
+ </question>
+ <answer>
+ <p>Warning: this is not something easily portable to other testing engine.</p>
+ <source>if (getTestingEngine() instanceof HtmlUnitTestingEngineImpl) {
+ HtmlUnitTestingEngineImpl engine = (HtmlUnitTestingEngineImpl) getTestingEngine();
+ engine.setRefreshHandler(new ThreadedRefreshHandler());
+}</source>
+ </answer>
+ </faq>
+ </part>
</faqs>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-10-05 10:13:49
|
Revision: 845
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=845&view=rev
Author: henryju
Date: 2010-10-05 10:13:43 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Updated to JUnit 4.8.2.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-09-14 12:08:58 UTC (rev 844)
+++ trunk/pom.xml 2010-10-05 10:13:43 UTC (rev 845)
@@ -312,7 +312,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.7</version>
+ <version>4.8.2</version>
</dependency>
<dependency>
<groupId>junitperf</groupId>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-09-14 12:08:58 UTC (rev 844)
+++ trunk/src/changes/changes.xml 2010-10-05 10:13:43 UTC (rev 845)
@@ -29,6 +29,9 @@
</properties>
<body>
<release version="2.5" date="UNKNOW" description="">
+ <action type="update" dev="henryju">
+ Updated to JUnit 4.8.2.
+ </action>
<action type="add" dev="henryju" issue="1864365" due-to="Jason McSwain">
Added the ability to change RefreshHandler in HtmlUnitTestingEngine.
</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-10-05 10:30:55
|
Revision: 846
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=846&view=rev
Author: henryju
Date: 2010-10-05 10:30:48 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Updated to HtmlUnit 2.8 and to slf4j 1.6.1.
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/log4j.properties 2010-10-05 10:13:43 UTC (rev 845)
+++ trunk/jwebunit-commons-tests/src/main/resources/log4j.properties 2010-10-05 10:30:48 UTC (rev 846)
@@ -35,7 +35,11 @@
#httpclient
log4j.logger.org.apache.commons.httpclient=ERROR
-log4j.logger.httpclient.wire=ERROR
+log4j.logger.org.apache.http=ERROR
+#mime4j
+log4j.logger.org.apache.james.mime4j=ERROR
+
+
#Jetty
log4j.logger.org.mortbay=ERROR
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-10-05 10:13:43 UTC (rev 845)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-10-05 10:30:48 UTC (rev 846)
@@ -43,6 +43,12 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
@@ -61,6 +67,10 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-10-05 10:13:43 UTC (rev 845)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2010-10-05 10:30:48 UTC (rev 846)
@@ -300,7 +300,7 @@
c.setMaxAge(second.intValue());
}
c.setPath(cookie.getPath());
- c.setSecure(cookie.toHttpClient().getSecure());
+ c.setSecure(cookie.toHttpClient().isSecure());
c.setVersion(cookie.toHttpClient().getVersion());
result.add(c);
}
@@ -735,12 +735,8 @@
}
public InputStream getInputStream() {
- try {
- return wc.getCurrentWindow().getEnclosedPage().getWebResponse()
- .getContentAsStream();
- } catch (IOException e) {
- throw new RuntimeException(e);
- }
+ return wc.getCurrentWindow().getEnclosedPage().getWebResponse()
+ .getContentAsStream();
}
public InputStream getInputStream(URL resourceUrl)
@@ -755,9 +751,6 @@
} catch (FailingHttpStatusCodeException aException) {
throw new TestingEngineResponseException(
aException.getStatusCode(), aException);
-
- } catch (IOException aException) {
- throw new RuntimeException(aException);
} finally {
if (imageWindow != null) {
wc.deregisterWebWindow(imageWindow);
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-10-05 10:13:43 UTC (rev 845)
+++ trunk/pom.xml 2010-10-05 10:30:48 UTC (rev 846)
@@ -337,7 +337,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
- <version>2.7</version>
+ <version>2.8</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
@@ -357,12 +357,17 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.5.0</version>
+ <version>1.6.1</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>1.6.1</version>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.5.0</version>
+ <version>1.6.1</version>
<optional>true</optional>
</dependency>
</dependencies>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-10-05 10:13:43 UTC (rev 845)
+++ trunk/src/changes/changes.xml 2010-10-05 10:30:48 UTC (rev 846)
@@ -30,6 +30,12 @@
<body>
<release version="2.5" date="UNKNOW" description="">
<action type="update" dev="henryju">
+ Updated to slf4j 1.6.1.
+ </action>
+ <action type="update" dev="henryju">
+ Updated to HtmlUnit 2.8.
+ </action>
+ <action type="update" dev="henryju">
Updated to JUnit 4.8.2.
</action>
<action type="add" dev="henryju" issue="1864365" due-to="Jason McSwain">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-10-05 11:30:42
|
Revision: 847
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=847&view=rev
Author: henryju
Date: 2010-10-05 11:30:35 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Replaced log4j by logback for test suite.
Modified Paths:
--------------
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/pom.xml
Added Paths:
-----------
trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
Removed Paths:
-------------
trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
Deleted: trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/log4j.properties 2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/jwebunit-commons-tests/src/main/resources/log4j.properties 2010-10-05 11:30:35 UTC (rev 847)
@@ -1,45 +0,0 @@
-#
-# Copyright (c) 2010, JWebUnit team.
-#
-# This file is part of JWebUnit.
-#
-# JWebUnit is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# JWebUnit is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-#
-
-log4j.rootLogger=DEBUG, consoleAppender
-
-# consoleAppender is set to be a ConsoleAppender which outputs to System.out.
-log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender
-log4j.appender.consoleAppender.Target=System.out
-log4j.appender.consoleAppender.layout=org.apache.log4j.PatternLayout
-log4j.appender.consoleAppender.layout.ConversionPattern=%-4r %-5p %x [%t] %15c : %m%n
-
-
-#jwebunit
-log4j.logger.net.sourceforge.jwebunit=ERROR
-
-#htmlunit
-log4j.logger.com.gargoylesoftware=ERROR
-log4j.logger.com.gargoylesoftware.javascript=ERROR
-
-#httpclient
-log4j.logger.org.apache.commons.httpclient=ERROR
-log4j.logger.org.apache.http=ERROR
-
-#mime4j
-log4j.logger.org.apache.james.mime4j=ERROR
-
-
-#Jetty
-log4j.logger.org.mortbay=ERROR
Added: trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml (rev 0)
+++ trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml 2010-10-05 11:30:35 UTC (rev 847)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2010, JWebUnit team.
+
+ This file is part of JWebUnit.
+
+ JWebUnit is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ JWebUnit is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<configuration>
+ <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender">
+ <Target>System.out</Target>
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="net.sourceforge.jwebunit" level="ERROR"/>
+
+ <logger name="com.gargoylesoftware" level="ERROR"/>
+ <logger name="com.gargoylesoftware.javascript" level="ERROR"/>
+
+ <logger name="org.apache.james.mime4j" level="ERROR"/>
+
+ <logger name="org.apache.commons.httpclient" level="ERROR"/>
+ <logger name="org.apache.http" level="ERROR"/>
+
+ <logger name="org.mortbay" level="ERROR"/>
+
+ <logger name="ch.qos.logback" level="ERROR"/>
+
+ <root level="DEBUG">
+ <appender-ref ref="consoleAppender"/>
+ </root>
+</configuration>
Property changes on: trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2010-10-05 11:30:35 UTC (rev 847)
@@ -70,8 +70,8 @@
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2010-10-05 11:30:35 UTC (rev 847)
@@ -81,8 +81,8 @@
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/pom.xml 2010-10-05 11:30:35 UTC (rev 847)
@@ -365,9 +365,9 @@
<version>1.6.1</version>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.1</version>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>0.9.24</version>
<optional>true</optional>
</dependency>
</dependencies>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-10-05 11:48:15
|
Revision: 848
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=848&view=rev
Author: henryju
Date: 2010-10-05 11:48:08 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Updated Maven plugins.
Modified Paths:
--------------
trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java
trunk/pom.xml
Modified: trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java
===================================================================
--- trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java 2010-10-05 11:30:35 UTC (rev 847)
+++ trunk/jwebunit-webtestcase-generator/src/main/javacc/Token.java 2010-10-05 11:48:08 UTC (rev 848)
@@ -17,27 +17,38 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-/* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
+/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
+/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package net.sourceforge.jwebunit.javacc;
+
/**
* Describes the input token stream.
*/
-public class Token {
+public class Token implements java.io.Serializable {
/**
+ * The version identifier for this Serializable class.
+ * Increment only if the <i>serialized</i> form of the
+ * class changes.
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
* An integer that describes the kind of this token. This numbering
* system is determined by JavaCCParser, and a table of these numbers is
* stored in the file ...Constants.java.
*/
public int kind;
- /**
- * beginLine and beginColumn describe the position of the first character
- * of this token; endLine and endColumn describe the position of the
- * last character of this token.
- */
- public int beginLine, beginColumn, endLine, endColumn;
+ /** The line number of the first character of this Token. */
+ public int beginLine;
+ /** The column number of the first character of this Token. */
+ public int beginColumn;
+ /** The line number of the last character of this Token. */
+ public int endLine;
+ /** The column number of the last character of this Token. */
+ public int endColumn;
/**
* The string image of the token.
@@ -69,11 +80,45 @@
public Token specialToken;
/**
+ * An optional attribute value of the Token.
+ * Tokens which are not used as syntactic sugar will often contain
+ * meaningful values that will be used later on by the compiler or
+ * interpreter. This attribute value is often different from the image.
+ * Any subclass of Token that actually wants to return a non-null value can
+ * override this method as appropriate.
+ */
+ public Object getValue() {
+ return null;
+ }
+
+ /**
+ * No-argument constructor
+ */
+ public Token() {}
+
+ /**
+ * Constructs a new token for the specified Image.
+ */
+ public Token(int kind)
+ {
+ this(kind, null);
+ }
+
+ /**
+ * Constructs a new token for the specified Image and Kind.
+ */
+ public Token(int kind, String image)
+ {
+ this.kind = kind;
+ this.image = image;
+ }
+
+ /**
* Returns the image.
*/
public String toString()
{
- return image;
+ return image;
}
/**
@@ -81,27 +126,37 @@
* can create and return subclass objects based on the value of ofKind.
* Simply add the cases to the switch for all those special cases.
* For example, if you have a subclass of Token called IDToken that
- * you want to create if ofKind is ID, simlpy add something like :
+ * you want to create if ofKind is ID, simply add something like :
*
- * case MyParserConstants.ID : return new IDToken();
+ * case MyParserConstants.ID : return new IDToken(ofKind, image);
*
* to the following switch statement. Then you can cast matchedToken
- * variable to the appropriate type and use it in your lexical actions.
+ * variable to the appropriate type and use sit in your lexical actions.
*/
- public static final Token newToken(int ofKind)
+ public static Token newToken(int ofKind, String image)
{
- switch(ofKind)
- {
- default : return new Token();
- case WebTestCaseGeneratorConstants.RUNSIGNEDSHIFT:
- case WebTestCaseGeneratorConstants.RSIGNEDSHIFT:
- case WebTestCaseGeneratorConstants.GT:
- return new GTToken();
- }
+ switch(ofKind)
+ {
+ case WebTestCaseGeneratorConstants.RUNSIGNEDSHIFT:
+ case WebTestCaseGeneratorConstants.RSIGNEDSHIFT:
+ case WebTestCaseGeneratorConstants.GT:
+ return new GTToken(ofKind, image);
+ default : return new Token(ofKind, image);
+ }
}
+ public static Token newToken(int ofKind)
+ {
+ return newToken(ofKind, null);
+ }
+
public static class GTToken extends Token
{
int realKind = WebTestCaseGeneratorConstants.GT;
+
+ public GTToken(int ofKind, String image) {
+ super(ofKind, image);
+ }
}
}
+/* JavaCC - OriginalChecksum=609da7eefb5a4f2a594508df0fe19464 (do not edit this line) */
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-10-05 11:30:35 UTC (rev 847)
+++ trunk/pom.xml 2010-10-05 11:48:08 UTC (rev 848)
@@ -200,7 +200,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
+ <version>2.2-beta-5</version>
<configuration>
<attach>false</attach>
<descriptors>
@@ -223,7 +223,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.1</version>
+ <version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
@@ -253,7 +253,7 @@
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
- <version>1.6.0</version>
+ <version>1.6.1</version>
<configuration>
<header>${topDirectoryLocation}/src/license/header.txt</header>
<aggregate>false</aggregate>
@@ -286,13 +286,13 @@
<inherited>true</inherited>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
- <version>2.4</version>
+ <version>2.6</version>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.1-beta-1</version>
+ <version>1.2</version>
</plugin>
<plugin>
<inherited>true</inherited>
@@ -386,7 +386,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
- <version>1.0</version>
+ <version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-10-05 14:40:36
|
Revision: 851
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=851&view=rev
Author: henryju
Date: 2010-10-05 14:40:30 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Updated change report (deprecated plugin property and added XSD + validation).
Modified Paths:
--------------
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-10-05 14:29:31 UTC (rev 850)
+++ trunk/pom.xml 2010-10-05 14:40:30 UTC (rev 851)
@@ -317,6 +317,23 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>validate-changes</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>changes-validate</goal>
+ </goals>
+ <configuration>
+ <failOnError>true</failOnError>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<properties>
@@ -494,8 +511,9 @@
</reportSet>
</reportSets>
<configuration>
- <issueLinkTemplate>
- http://sourceforge.net/support/tracker.php?aid=%ISSUE% </issueLinkTemplate>
+ <issueLinkTemplatePerSystem>
+ <sourceforge>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</sourceforge>
+ </issueLinkTemplatePerSystem>
</configuration>
</plugin>
<plugin>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2010-10-05 14:29:31 UTC (rev 850)
+++ trunk/src/changes/changes.xml 2010-10-05 14:40:30 UTC (rev 851)
@@ -20,7 +20,10 @@
-->
-<document>
+<document xmlns="http://maven.apache.org/changes/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
+
<properties>
<title>JWebUnit changes</title>
<author email="henryju at users.sourceforge.net">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|