jwebunit-development Mailing List for JWebUnit (Page 6)
Brought to you by:
henryju
You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(98) |
Jul
(45) |
Aug
(49) |
Sep
(90) |
Oct
(28) |
Nov
(18) |
Dec
(17) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(14) |
Feb
(21) |
Mar
(52) |
Apr
(39) |
May
(61) |
Jun
(35) |
Jul
(42) |
Aug
(31) |
Sep
(34) |
Oct
(16) |
Nov
(14) |
Dec
(61) |
| 2006 |
Jan
(39) |
Feb
(11) |
Mar
(29) |
Apr
(29) |
May
(30) |
Jun
(145) |
Jul
(61) |
Aug
(40) |
Sep
(36) |
Oct
(66) |
Nov
(50) |
Dec
(11) |
| 2007 |
Jan
(30) |
Feb
(1) |
Mar
(47) |
Apr
(9) |
May
(36) |
Jun
(13) |
Jul
(7) |
Aug
(5) |
Sep
(6) |
Oct
(3) |
Nov
(11) |
Dec
(36) |
| 2008 |
Jan
(12) |
Feb
|
Mar
(4) |
Apr
(29) |
May
(1) |
Jun
(8) |
Jul
(10) |
Aug
|
Sep
(2) |
Oct
(77) |
Nov
(107) |
Dec
(46) |
| 2009 |
Jan
(17) |
Feb
(13) |
Mar
(27) |
Apr
(5) |
May
(8) |
Jun
(17) |
Jul
(10) |
Aug
(25) |
Sep
(15) |
Oct
(4) |
Nov
(4) |
Dec
(10) |
| 2010 |
Jan
|
Feb
(6) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(5) |
Jul
(9) |
Aug
(5) |
Sep
(5) |
Oct
(63) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(9) |
Feb
(3) |
Mar
(15) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(14) |
Sep
(15) |
Oct
(11) |
Nov
(1) |
Dec
(2) |
| 2012 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(14) |
Aug
(17) |
Sep
(8) |
Oct
(1) |
Nov
(17) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(13) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
|
From: <he...@us...> - 2011-09-23 14:17:18
|
Revision: 917
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=917&view=rev
Author: henryju
Date: 2011-09-23 14:17:12 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
Use tempus-fugit instead of custom code to run parallel test.
Modified Paths:
--------------
trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java
trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java
Modified: trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java 2011-09-23 13:57:52 UTC (rev 916)
+++ trunk/jwebunit-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/JWebUnitTest.java 2011-09-23 14:17:12 UTC (rev 917)
@@ -31,7 +31,7 @@
import net.sourceforge.jwebunit.tests.HtmlParsingTest;
import net.sourceforge.jwebunit.tests.IElementTest;
import net.sourceforge.jwebunit.tests.ImageTest;
-import net.sourceforge.jwebunit.tests.JUnitPerfTest;
+import net.sourceforge.jwebunit.tests.ConcurrentJWebUnitTest;
import net.sourceforge.jwebunit.tests.JavaScriptEventsTest;
import net.sourceforge.jwebunit.tests.JavaScriptTest;
import net.sourceforge.jwebunit.tests.NavigationTest;
@@ -82,7 +82,7 @@
IElementTest.class,
ResponseServletTest.class,
CustomTesterTest.class,
- JUnitPerfTest.class
+ ConcurrentJWebUnitTest.class
})
public class JWebUnitTest extends JettySetup {
Modified: trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java
===================================================================
--- trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java 2011-09-23 13:57:52 UTC (rev 916)
+++ trunk/jwebunit-selenium-plugin/src/test/java/net/sourceforge/jwebunit/selenium/JWebUnitTest.java 2011-09-23 14:17:12 UTC (rev 917)
@@ -59,7 +59,7 @@
IElementTest.class,
ResponseServletTest.class,
CustomTesterTest.class,
- JUnitPerfTest.class
+ ConcurrentJWebUnitTest.class
})
public class JWebUnitTest extends JettySetup {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-09-23 13:57:58
|
Revision: 916
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=916&view=rev
Author: henryju
Date: 2011-09-23 13:57:52 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
Deprecate gotoWindow(windowID) and fix gotoRootWindow().
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java
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
trunk/src/changes/changes.xml
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java 2011-09-22 09:18:05 UTC (rev 915)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java 2011-09-23 13:57:52 UTC (rev 916)
@@ -57,12 +57,6 @@
assertTextPresent("child 1");
}
- @Test public void testGotoWindowByID() {
- gotoRootAndOpenChild("ChildPage3");
- gotoWindow(1);
- assertTextPresent("child 3");
- }
-
@Test public void testGotoWindowByTitle() {
gotoRootAndOpenChild("ChildPage2");
gotoWindowByTitle("Child Page 2");
@@ -74,13 +68,6 @@
assertPassFail("assertWindowPresentWithTitle", new Object[]{"Child Page 2"}, new Object[]{"NoSuchTitle"});
}
- @Test public void testSwitchWindows() {
- gotoRootAndOpenChild("ChildPage1");
- gotoWindow("ChildPage1");
- gotoRootWindow();
- assertTextPresent("This is the Root");
- }
-
@Test public void testCloseWindow() {
beginAt("RootPage.html");
assertTitleEquals("This is the Root");
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java 2011-09-22 09:18:05 UTC (rev 915)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java 2011-09-23 13:57:52 UTC (rev 916)
@@ -130,18 +130,23 @@
* Goto window with the given Javascript ID.
*
* @param windowID Javascript ID of the window
+ * @deprecated Javascript ID does'nt not exists. Currently this is an index
+ * in the list of available windows, but this is not portable (and probably not stable).
+ * Use {@link #gotoWindow(String)} or {@link #gotoWindowByTitle(String)} instead.
*/
+ @Deprecated
void gotoWindow(int windowID);
/**
- * Make the root window active.
+ * Make the root window active. Used to reset the effect of {@link ITestingEngine#gotoFrame(String)}.
+ *
*/
void gotoRootWindow();
/**
- * Get the number of openend Windows.
+ * Get the number of opened Windows.
*
- * @return Number of openend Windows.
+ * @return Number of opened Windows.
*/
int getWindowCount();
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 2011-09-22 09:18:05 UTC (rev 915)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2011-09-23 13:57:52 UTC (rev 916)
@@ -2984,14 +2984,18 @@
* Make a given window active.
*
* @param windowID Javascript ID of the window
+ * @deprecated Javascript ID does'nt not exists. Currently this is an index
+ * in the list of available windows, but this is not portable (and probably not stable).
+ * Use {@link #gotoWindow(String)} or {@link #gotoWindowByTitle(String)} instead.
*/
+ @Deprecated
public void gotoWindow(int windowID) {
assertWindowPresent(windowID);
getTestingEngine().gotoWindow(windowID);
}
/**
- * Make the root window active.
+ * Make the root window active. Used to reset the effect of {@link ITestingEngine#gotoFrame(String)}.
*/
public void gotoRootWindow() {
getTestingEngine().gotoRootWindow();
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 2011-09-22 09:18:05 UTC (rev 915)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2011-09-23 13:57:52 UTC (rev 916)
@@ -2192,10 +2192,10 @@
}
/**
- * Make the root window in the current conversation active.
+ * {@inheritDoc}
*/
public void gotoRootWindow() {
- setMainWindow((WebWindow) wc.getWebWindows().get(0));
+ win = win.getTopWindow();
}
private void setMainWindow(WebWindow win) {
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2011-09-22 09:18:05 UTC (rev 915)
+++ trunk/src/changes/changes.xml 2011-09-23 13:57:52 UTC (rev 916)
@@ -30,6 +30,14 @@
</author>
</properties>
<body>
+ <release version="3.1" date="UNKNOW" description="Cleanup for Webdriver integration">
+ <action type="update" dev="henryju">
+ gotoRootWindow() now goes to the root "frame" in a multi-frame window. Previously it was only by chance.
+ </action>
+ <action type="update" dev="henryju">
+ Deprecated gotoWindow(windowID) method as implementation is not stable and window ID is not something well-defined.
+ </action>
+ </release>
<release version="3.0.1" date="UNKNOW" description="Minor fixes">
<action type="fix" dev="henryju" issue="3395872" due-to="Tim Pizey">
HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status. Broken since 2.5 after applying
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-09-22 09:18:16
|
Revision: 915
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=915&view=rev
Author: henryju
Date: 2011-09-22 09:18:05 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
Use tempus-fugit instead of custom code to run parallel test.
Modified Paths:
--------------
trunk/jwebunit-commons-tests/pom.xml
Added Paths:
-----------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ConcurrentJWebUnitTest.java
Removed Paths:
-------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2011-08-22 09:27:38 UTC (rev 914)
+++ trunk/jwebunit-commons-tests/pom.xml 2011-09-22 09:18:05 UTC (rev 915)
@@ -30,11 +30,18 @@
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
+ <version>1.2.2</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
+ <version>2.0.1</version>
</dependency>
+ <dependency>
+ <groupId>com.google.code.tempus-fugit</groupId>
+ <artifactId>tempus-fugit</artifactId>
+ <version>1.1</version>
+ </dependency>
</dependencies>
<properties>
<topDirectoryLocation>..</topDirectoryLocation>
Copied: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ConcurrentJWebUnitTest.java (from rev 913, trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java)
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ConcurrentJWebUnitTest.java (rev 0)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ConcurrentJWebUnitTest.java 2011-09-22 09:18:05 UTC (rev 915)
@@ -0,0 +1,84 @@
+/**
+ * Copyright (c) 2011, 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.tests;
+
+import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
+import static net.sourceforge.jwebunit.junit.JWebUnit.beginAt;
+import static net.sourceforge.jwebunit.junit.JWebUnit.clickLinkWithText;
+import static net.sourceforge.jwebunit.junit.JWebUnit.setBaseUrl;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
+import com.google.code.tempusfugit.concurrency.annotations.Repeating;
+
+import com.google.code.tempusfugit.concurrency.annotations.Concurrent;
+
+import com.google.code.tempusfugit.concurrency.ConcurrentRule;
+
+import com.google.code.tempusfugit.concurrency.RepeatingRule;
+
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.Timeout;
+
+
+/**
+ * Test parallel execution of JWebUnit.
+ *
+ * @author Julien Henry
+ */
+public class ConcurrentJWebUnitTest extends JWebUnitAPITestCase {
+
+ public void setUp() throws Exception {
+ super.setUp();
+ setBaseUrl(HOST_PATH + "/NavigationTest");
+ }
+
+ @Rule public Timeout timeoutRule = new Timeout(2000);
+
+ @Rule public ConcurrentRule concurrently = new ConcurrentRule();
+ @Rule public RepeatingRule repeatedly = new RepeatingRule();
+
+ @Test
+ @Concurrent(count = 5)
+ @Repeating (repetition = 10)
+ public void testClickLinkWithTextN() {
+ beginAt("/pageWithLink.html");
+ assertTitleEquals("pageWithLink");
+
+ clickLinkWithText("an active link", 0);
+ assertTitleEquals("targetPage");
+
+ beginAt("/pageWithLink.html");
+ clickLinkWithText("an active link", 1);
+
+ assertTitleEquals("targetPage2");
+ beginAt("/pageWithLink.html");
+ try {
+ clickLinkWithText("an active link", 2);
+ fail();
+ } catch (AssertionError expected) {
+ assertEquals("Link with text [an active link] and index [2] "
+ + "not found in response.", expected.getMessage());
+ }
+ assertTitleEquals("pageWithLink");
+ }
+
+}
\ No newline at end of file
Deleted: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java 2011-08-22 09:27:38 UTC (rev 914)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java 2011-09-22 09:18:05 UTC (rev 915)
@@ -1,78 +0,0 @@
-/**
- * Copyright (c) 2011, 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.tests;
-
-import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
-import static net.sourceforge.jwebunit.junit.JWebUnit.beginAt;
-import static net.sourceforge.jwebunit.junit.JWebUnit.clickLinkWithText;
-import static net.sourceforge.jwebunit.junit.JWebUnit.setBaseUrl;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import net.sourceforge.jwebunit.tests.util.Concurrent;
-import net.sourceforge.jwebunit.tests.util.ConcurrentRule;
-
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.Timeout;
-
-
-/**
- * Test junit perf integration.
- *
- * @author Julien Henry
- */
-public class JUnitPerfTest extends JWebUnitAPITestCase {
-
- public void setUp() throws Exception {
- super.setUp();
- setBaseUrl(HOST_PATH + "/NavigationTest");
- }
-
- @Rule
- public Timeout timeoutRule = new Timeout(1000);
-
- @Rule
- public ConcurrentRule concurrentRule = new ConcurrentRule();
-
- @Test
- @Concurrent(5)
- public void testClickLinkWithTextN() {
- beginAt("/pageWithLink.html");
- assertTitleEquals("pageWithLink");
-
- clickLinkWithText("an active link", 0);
- assertTitleEquals("targetPage");
-
- beginAt("/pageWithLink.html");
- clickLinkWithText("an active link", 1);
-
- assertTitleEquals("targetPage2");
- beginAt("/pageWithLink.html");
- try {
- clickLinkWithText("an active link", 2);
- fail();
- } catch (AssertionError expected) {
- assertEquals("Link with text [an active link] and index [2] "
- + "not found in response.", expected.getMessage());
- }
- assertTitleEquals("pageWithLink");
- }
-
-}
\ No newline at end of file
Deleted: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java 2011-08-22 09:27:38 UTC (rev 914)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java 2011-09-22 09:18:05 UTC (rev 915)
@@ -1,33 +0,0 @@
-/**
- * Copyright (c) 2011, 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.tests.util;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * @author Mathieu Carbou (mat...@gm...)
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.METHOD})
-public @interface Concurrent {
- int value() default 10;
-}
Deleted: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java 2011-08-22 09:27:38 UTC (rev 914)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java 2011-09-22 09:18:05 UTC (rev 915)
@@ -1,96 +0,0 @@
-/**
- * Copyright (c) 2011, 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.tests.util;
-
-import org.junit.rules.MethodRule;
-import org.junit.runners.model.FrameworkMethod;
-import org.junit.runners.model.Statement;
-
-import java.util.concurrent.CountDownLatch;
-
-/**
- * @author Mathieu Carbou (mat...@gm...)
- */
-public final class ConcurrentRule implements MethodRule {
-
- public Statement apply(final Statement statement, final FrameworkMethod frameworkMethod, final Object o) {
- return new Statement() {
- @Override
- public void evaluate() throws Throwable {
- Concurrent concurrent = frameworkMethod.getAnnotation(Concurrent.class);
- if (concurrent == null)
- statement.evaluate();
- else {
- final String name = frameworkMethod.getName();
- final Thread[] threads = new Thread[concurrent.value()];
- final CountDownLatch go = new CountDownLatch(1);
- final CountDownLatch finished = new CountDownLatch(threads.length);
- final Throwable[] fThrown = new Throwable[threads.length];
- for (int i = 0; i < threads.length; i++) {
- threads[i] = new Thread(new MyIndexedRunnable(i) {
-
- public void run() {
- try {
- go.await();
- statement.evaluate();
- } catch (InterruptedException e) {
- Thread.currentThread().interrupt();
- } catch (Throwable throwable) {
- fThrown[getIndex()] = throwable;
- if (throwable instanceof RuntimeException)
- throw (RuntimeException) throwable;
- if (throwable instanceof Error)
- throw (Error) throwable;
- RuntimeException r = new RuntimeException(throwable.getMessage(), throwable);
- r.setStackTrace(throwable.getStackTrace());
- throw r;
- } finally {
- finished.countDown();
- }
- }
- }, name + "-Thread-" + i);
- threads[i].start();
- }
- go.countDown();
- finished.await();
- //Check exceptions
- for (int i = 0; i < threads.length; i++) {
- if (fThrown[i] != null) {
- throw fThrown[i];
- }
- }
- }
- }
- };
- }
-
- private abstract class MyIndexedRunnable implements Runnable {
-
- private int index;
-
- public MyIndexedRunnable(int index) {
- this.index = index;
- }
-
- public int getIndex() {
- return index;
- }
-
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Julien H. <he...@ya...> - 2011-09-19 14:46:58
|
Sorry, I must add a precision. gotoRootWindow() was used for 2 usages: - return to top level window after usage of gotoFrame (currently it only works by chance when there is only one open window) - return to "root window" after usage of gotoWindowXX. Here rootWindow was in fact the first window in the htmlunit internal list of window This is the second use case I want to deprecate. So I propose to keep the method gotoRootWindow, but I will update the HtmlUnit implementation to only do the first use case (and fix it at the same time). WDYT? Regards Julien >________________________________ >De : Julien HENRY <he...@ya...> >À : "jwe...@li..." <jwe...@li...> >Envoyé le : Lundi 19 Septembre 2011 16h09 >Objet : [JWebUnit-users] Deprecate gotoWindow(int windowID) and gotoRootWindow() > > >Hi JWebUnit users, > > >I would like to deprecated gotoWindow(int windowID) and gotoRootWindow(). These 2 methods are not portable to other testing engines (like Selenium) before they rely on HtmlUnit specific internals. I did some search and it seems "window ID" and "root window" is not something that is specified in HTML. > > >My guess is that it was introduced to give access to windows without name nor title. Is it still something we need in 2011? > > >Please tell me if you see any valid use case for theses methods. If nobody has concerns, theses methods will be deprecated in next release and not implemented in Selenium/WebDriver backend. > > >Regards, > > >Julien >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >Learn about the latest advances in developing for the >BlackBerry® mobile platform with sessions, labs & more. >See new tools and technologies. Register for BlackBerry® DevCon today! >http://p.sf.net/sfu/rim-devcon-copy1 >_______________________________________________ >JWebUnit-users mailing list >JWe...@li... >https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > |
|
From: <he...@us...> - 2011-08-22 09:27:45
|
Revision: 914
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=914&view=rev
Author: henryju
Date: 2011-08-22 09:27:38 +0000 (Mon, 22 Aug 2011)
Log Message:
-----------
[3395872] HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status. Fix and add tests. Thanks to Tim Pizey for reporting.
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
trunk/src/changes/changes.xml
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java 2011-08-18 13:18:44 UTC (rev 913)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java 2011-08-22 09:27:38 UTC (rev 914)
@@ -91,17 +91,19 @@
assertException(AssertionError.class, methodName, args);
}
- public void assertException(Class<?> exceptionClass, String methodName,
+ public <G extends Throwable> G assertException(Class<G> exceptionClass, String methodName,
Object[] args) {
StaticMethodInvoker invoker = new StaticMethodInvoker(JWebUnit.class, methodName, args);
try {
invoker.invoke();
fail("Expected test failure did not occur for method: "
+ methodName);
+ return null; //never called
} catch (InvocationTargetException e) {
assertTrue("Expected " + exceptionClass.getName() + "but was "
+ e.getTargetException().getClass().getName(),
exceptionClass.isInstance(e.getTargetException()));
+ return (G) e.getTargetException();
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e.getMessage());
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java 2011-08-18 13:18:44 UTC (rev 913)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java 2011-08-22 09:27:38 UTC (rev 914)
@@ -76,12 +76,11 @@
@Test
public void testInvalidBeginAt() {
-
//the testing engines should throw an exception if a 404 Error is found.
- assertException(TestingEngineResponseException.class, "beginAt", new Object[] {"/nosuchresource.html"});
-
+ TestingEngineResponseException e = assertException(TestingEngineResponseException.class, "beginAt", new Object[] {"/nosuchresource.html"});
+ assertEquals(404, e.getHttpStatusCode());
}
-
+
@Test
public void testClickLinkWithText() {
beginAt("/pageWithLink.html");
@@ -170,7 +169,7 @@
gotoPage("/targetPage2.html");
assertTitleEquals("targetPage2");
}
-
+
@Test
public void testGotoPageAbsolute() {
beginAt("/targetPage.html");
@@ -179,6 +178,14 @@
assertTitleEquals("targetPage2");
}
+ @Test
+ public void testInvalidGotoPage() {
+ beginAt("/targetPage.html");
+ //the testing engines should throw an exception if a 404 Error is found.
+ TestingEngineResponseException e = assertException(TestingEngineResponseException.class, "gotoPage", new Object[] {"/nosuchresource.html"});
+ assertEquals(404, e.getHttpStatusCode());
+ }
+
//For bug 726143
@Test
public void testLinkWithEscapedText() {
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 2011-08-18 13:18:44 UTC (rev 913)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2011-08-22 09:27:38 UTC (rev 914)
@@ -259,7 +259,7 @@
} catch (FailingHttpStatusCodeException ex) {
// only throw exception if necessary
if (!ignoreFailingStatusCodes) {
- throw new TestingEngineResponseException(
+ throw new TestingEngineResponseException(ex.getStatusCode(),
"unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex);
}
} catch (IOException ex) {
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2011-08-18 13:18:44 UTC (rev 913)
+++ trunk/src/changes/changes.xml 2011-08-22 09:27:38 UTC (rev 914)
@@ -30,6 +30,12 @@
</author>
</properties>
<body>
+ <release version="3.0.1" date="UNKNOW" description="Minor fixes">
+ <action type="fix" dev="henryju" issue="3395872" due-to="Tim Pizey">
+ HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status. Broken since 2.5 after applying
+ patch from issue 1864365.
+ </action>
+ </release>
<release version="3.0" date="August 18, 2011" description="Updated all internals to JUnit 4. HtmlUnit 2.9.">
<action type="update" dev="henryju">
Updated to HtmlUnit 2.9.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2011-08-22 07:33:01
|
Bugs item #3395872, was opened at 2011-08-21 22:59 Message generated for change (Comment added) made by henryju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3395872&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HtmlUnit plugin >Group: Release 3.0.1 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Tim P (timp) >Assigned to: Julien HENRY (henryju) Summary: TestingEngineResponseException created without HttpStatu Initial Comment: HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status public void gotoPage(URL initialURL) throws TestingEngineResponseException { try { wc.getPage(initialURL); win = wc.getCurrentWindow(); form = null; } catch (FailingHttpStatusCodeException ex) { // only throw exception if necessary if (!ignoreFailingStatusCodes) { throw new TestingEngineResponseException( "unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex); } } catch (IOException ex) { throw new RuntimeException(ex); } } should be public void gotoPage(URL initialURL) throws TestingEngineResponseException { try { wc.getPage(initialURL); win = wc.getCurrentWindow(); form = null; } catch (FailingHttpStatusCodeException ex) { // only throw exception if necessary if (!ignoreFailingStatusCodes) { throw new TestingEngineResponseException(ex.getStatusCode(), "unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex); } } catch (IOException ex) { throw new RuntimeException(ex); } } ---------------------------------------------------------------------- >Comment By: Julien HENRY (henryju) Date: 2011-08-22 09:33 Message: Fixed in trunk. Was caused by applying patch from issue 1864365. I will try to push a 3.0.1 with only minor fixes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3395872&group_id=61302 |
|
From: SourceForge.net <no...@so...> - 2011-08-21 20:59:24
|
Bugs item #3395872, was opened at 2011-08-21 20:59 Message generated for change (Tracker Item Submitted) made by timp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3395872&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HtmlUnit plugin Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tim P (timp) Assigned to: Nobody/Anonymous (nobody) Summary: TestingEngineResponseException created without HttpStatu Initial Comment: HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status public void gotoPage(URL initialURL) throws TestingEngineResponseException { try { wc.getPage(initialURL); win = wc.getCurrentWindow(); form = null; } catch (FailingHttpStatusCodeException ex) { // only throw exception if necessary if (!ignoreFailingStatusCodes) { throw new TestingEngineResponseException( "unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex); } } catch (IOException ex) { throw new RuntimeException(ex); } } should be public void gotoPage(URL initialURL) throws TestingEngineResponseException { try { wc.getPage(initialURL); win = wc.getCurrentWindow(); form = null; } catch (FailingHttpStatusCodeException ex) { // only throw exception if necessary if (!ignoreFailingStatusCodes) { throw new TestingEngineResponseException(ex.getStatusCode(), "unexpected status code ["+ex.getStatusCode()+"] at URL: ["+initialURL+"]", ex); } } catch (IOException ex) { throw new RuntimeException(ex); } } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3395872&group_id=61302 |
|
From: <he...@us...> - 2011-08-18 13:18:49
|
Revision: 913
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=913&view=rev
Author: henryju
Date: 2011-08-18 13:18:44 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
Work on webdriver plugin
Added Paths:
-----------
trunk/jwebunit-webdriver-plugin/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-18 12:17:57
|
Revision: 912
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=912&view=rev
Author: henryju
Date: 2011-08-18 12:17:50 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
Update documentation and site deployment location.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/xdoc/how-to-release.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
+++ trunk/pom.xml 2011-08-18 12:17:50 UTC (rev 912)
@@ -248,12 +248,21 @@
<version>2.2.1</version>
<configuration>
<attach>false</attach>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
<descriptors>
- <descriptor>
- src/assemble/release.xml
- </descriptor>
+ <descriptor>src/assemble/release.xml</descriptor>
</descriptors>
+ <descriptorRefs>
+ <descriptorRef>source-release</descriptorRef>
+ </descriptorRefs>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+ <artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>1.0.3</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -669,7 +678,7 @@
<id>jwebunit-website</id>
<name>JWebUnit WebSite - Sourceforge</name>
<url>
- scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs
+ scp://web.sourceforge.net/home/project-web/jwebunit/htdocs
</url>
</site>
<snapshotRepository>
Modified: trunk/src/site/xdoc/how-to-release.xml
===================================================================
--- trunk/src/site/xdoc/how-to-release.xml 2011-08-18 08:27:33 UTC (rev 911)
+++ trunk/src/site/xdoc/how-to-release.xml 2011-08-18 12:17:50 UTC (rev 912)
@@ -45,9 +45,14 @@
<source><![CDATA[
<server>
<id>jwebunit-website</id>
- <username>henryju,jwebunit</username>
+ <username>henryju</username>
<password>XXXXXXXX</password>
</server>
+ <server>
+ <id>jwebunit.svn.sourceforge.net</id>
+ <username>henryju</username>
+ <password>XXXXXXXX</password>
+ </server>
<server>
<id>sonatype-nexus</id>
@@ -55,7 +60,7 @@
<password>YYYYYYYYYY</password>
</server>
]]></source>
- Don't forget to put your own sourceforge account and password for jwebunit-website. Concerning sonatype-nexus you need
+ Don't forget to put your own sourceforge account and password for jwebunit-website and svn. Concerning sonatype-nexus you need
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>.
@@ -75,55 +80,43 @@
</p>
</subsection>
<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.
+ The process is done by maven-release-plugin.
<source>mvn release:perform -Darguments="-Dgpg.passphrase=XXXXXXXXXX"</source>
</p>
<p>
This will automatically checkout the tag from SVN in target/checkout folder then run <tt>mvn deploy site-deploy</tt>.
- Artifacts will be uploaded in http://jwebunit.sourceforge.net/m2-repo (this repository is synchronized to Maven central repo).
+ Artifacts will be staged in http://oss.sonatype.org.
Site will also be uploaded.
</p>
<p>
- Now close your Sourceforge shell:
- <source>ssh henryju,jwe...@sh... shutdown</source> (Linux)
- <source>plink henryju,jwe...@sh... shutdown</source> (Windows)
+ Now connect to http://oss.sonatype.org and go to <i>Staging Repositories</i> section. There you can close and release the repository.
+ If everything is fine the artifacts will be synced to Maven central.
</p>
</subsection>
<subsection name="Dealing with non-maven bundle">
<p>
- We have to provide a bundle for non Maven users.
+ We also provide a bundle for non Maven users.
<source>
cd target
cd checkout
mvn package assembly:assembly
</source>
- This will create a release bundle in target/checkout/target/jwebunit-XX-release.zip. Move this zip to another directory then run:
- <source>mvn clean</source>
- Now remove every .svn folders in target/checkout:
- <tt>find . -name .svn -exec rm -rf '{}' \;</tt> (works for Linux, on Windows I use the graphical search feature)
- And finally create a zip of the whole target/checkout folder content with name <tt>jwebunit-XX-sources.zip</tt>
+ This will create a release bundle in [target/checkout/]target/jwebunit-XX-release.zip and a source bundle in [target/checkout/]target/jwebunit-XX-source-release.zip.
</p>
<p>
- Open your browser at <a href="https://sourceforge.net/projects/jwebunit/">JWebUnir admin page</a>.<br/>
+ Open your browser at <a href="https://sourceforge.net/projects/jwebunit/">JWebUnit admin page</a>.<br/>
Use your Sourceforge account to log in.<br/>
- In the menu select Project Admin -> File Manager (beta).<br/>
+ In the menu select "Files".<br/>
Click on JWebUnit folder.<br/>
Click on the [Add Folder] button.<br/>
- Type the name of the new release: JWebUnit-XX<br/>
+ Type the name of the new release: JWebUnit XX<br/>
Select the folder you just have created<br/>
Click on the [Add File] button.<br/>
Browse and select for upload:
<ul>
<li>jwebunit-XX-release.zip</li>
- <li>jwebunit-XX-sources.zip</li>
+ <li>jwebunit-XX-source-release.zip</li>
<li>README.txt</li>
</ul>
Click on the [Upload] button.<br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-18 08:27:39
|
Revision: 911
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=911&view=rev
Author: henryju
Date: 2011-08-18 08:27:33 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Modified Paths:
--------------
trunk/jwebunit-code-generator/pom.xml
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-code-generator/pom.xml
===================================================================
--- trunk/jwebunit-code-generator/pom.xml 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/jwebunit-code-generator/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0</version>
+ <version>3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/jwebunit-commons-tests/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0</version>
+ <version>3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/jwebunit-core/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0</version>
+ <version>3.1-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 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0</version>
+ <version>3.1-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 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0</version>
+ <version>3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-18 08:27:09 UTC (rev 910)
+++ trunk/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
@@ -3,7 +3,7 @@
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit</artifactId>
<name>JWebUnit</name>
- <version>3.0</version>
+ <version>3.1-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-3.0</connection>
- <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-3.0</developerConnection>
- <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-3.0</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...> - 2011-08-18 08:27:15
|
Revision: 910
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=910&view=rev
Author: henryju
Date: 2011-08-18 08:27:09 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
[maven-release-plugin] copy for tag jwebunit-3.0
Added Paths:
-----------
tags/jwebunit-3.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-18 08:26:45
|
Revision: 909
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=909&view=rev
Author: henryju
Date: 2011-08-18 08:26:38 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
[maven-release-plugin] prepare release jwebunit-3.0
Modified Paths:
--------------
trunk/jwebunit-code-generator/pom.xml
trunk/jwebunit-commons-tests/pom.xml
trunk/jwebunit-core/pom.xml
trunk/jwebunit-htmlunit-plugin/pom.xml
trunk/jwebunit-selenium-plugin/pom.xml
trunk/pom.xml
Modified: trunk/jwebunit-code-generator/pom.xml
===================================================================
--- trunk/jwebunit-code-generator/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/jwebunit-code-generator/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-commons-tests/pom.xml
===================================================================
--- trunk/jwebunit-commons-tests/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/jwebunit-commons-tests/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-core/pom.xml
===================================================================
--- trunk/jwebunit-core/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/jwebunit-core/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/jwebunit-selenium-plugin/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -2,7 +2,7 @@
<parent>
<artifactId>jwebunit</artifactId>
<groupId>net.sourceforge.jwebunit</groupId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-18 08:17:32 UTC (rev 908)
+++ trunk/pom.xml 2011-08-18 08:26:38 UTC (rev 909)
@@ -1,10 +1,9 @@
-<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">
+<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>
+ <version>3.0</version>
<packaging>pom</packaging>
<description>
JWebUnit is a Java framework that facilitates creation of
@@ -181,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-3.0</connection>
+ <developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/tags/jwebunit-3.0</developerConnection>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/tags/jwebunit-3.0</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...> - 2011-08-18 08:17:39
|
Revision: 908
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=908&view=rev
Author: henryju
Date: 2011-08-18 08:17:32 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
Prepare the release
Modified Paths:
--------------
trunk/README.txt
trunk/src/changes/changes.xml
Modified: trunk/README.txt
===================================================================
--- trunk/README.txt 2011-08-16 11:56:33 UTC (rev 907)
+++ trunk/README.txt 2011-08-18 08:17:32 UTC (rev 908)
@@ -1,4 +1,4 @@
-The JWebUnit team is pleased to announce the JWebUnit 2.4 release!
+The JWebUnit team is pleased to announce the JWebUnit 3.0 release!
http://jwebunit.sourceforge.net
@@ -7,7 +7,7 @@
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.
-We are now using HtmlUnit (htmlunit.sourceforge.net).
+We are using HtmlUnit (htmlunit.sourceforge.net).
Changes in this version are available here:
http://jwebunit.sourceforge.net/changes-report.html
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2011-08-16 11:56:33 UTC (rev 907)
+++ trunk/src/changes/changes.xml 2011-08-18 08:17:32 UTC (rev 908)
@@ -30,7 +30,7 @@
</author>
</properties>
<body>
- <release version="3.0" date="UNKNOW" description="Updated all internals to JUnit 4. HtmlUnit 2.9.">
+ <release version="3.0" date="August 18, 2011" description="Updated all internals to JUnit 4. HtmlUnit 2.9.">
<action type="update" dev="henryju">
Updated to HtmlUnit 2.9.
</action>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-16 11:56:39
|
Revision: 907
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=907&view=rev
Author: henryju
Date: 2011-08-16 11:56:33 +0000 (Tue, 16 Aug 2011)
Log Message:
-----------
Update documentation (indentation issue).
Modified Paths:
--------------
trunk/src/site/xdoc/index.xml
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2011-08-16 11:55:37 UTC (rev 906)
+++ trunk/src/site/xdoc/index.xml 2011-08-16 11:56:33 UTC (rev 907)
@@ -72,21 +72,21 @@
public class ExampleWebTestCase {
- @Before
+ @Before
public void prepare() {
- setBaseUrl("http://localhost:8080/test");
- }
+ setBaseUrl("http://localhost:8080/test");
+ }
@Test
- public void testLogin() {
- beginAt("/home");
- clickLink("login");
- assertTitleEquals("Login");
- setTextField("username", "test");
- setTextField("password", "test123");
- submit();
- assertTitleEquals("Welcome, test!");
- }
+ public void testLogin() {
+ beginAt("/home");
+ clickLink("login");
+ assertTitleEquals("Login");
+ setTextField("username", "test");
+ setTextField("password", "test123");
+ submit();
+ assertTitleEquals("Welcome, test!");
+ }
}
</source>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-16 11:55:43
|
Revision: 906
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=906&view=rev
Author: henryju
Date: 2011-08-16 11:55:37 +0000 (Tue, 16 Aug 2011)
Log Message:
-----------
Update plugins and dependencies versions. A fix was needed for MCHECKSTYLE-159.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/checkstyle/jwebunit-checkstyle.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-16 10:05:52 UTC (rev 905)
+++ trunk/pom.xml 2011-08-16 11:55:37 UTC (rev 906)
@@ -226,7 +226,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.8</version>
+ <version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -236,7 +236,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -246,7 +246,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2</version>
+ <version>2.2.1</version>
<configuration>
<attach>false</attach>
<descriptors>
@@ -259,7 +259,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
- <version>2.1</version>
+ <version>2.2.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean install</preparationGoals>
@@ -279,12 +279,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.2</version>
+ <version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
+ <version>2.8</version>
<configuration>
<quiet>true</quiet>
</configuration>
@@ -348,7 +348,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>2.4</version>
+ <version>2.6</version>
<inherited>false</inherited>
<executions>
<execution>
@@ -429,7 +429,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
- <version>0.9.28</version>
+ <version>0.9.29</version>
<optional>true</optional>
</dependency>
<dependency>
@@ -454,7 +454,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
- <version>1.1</version>
+ <version>1.3</version>
<executions>
<execution>
<id>sign-artifacts</id>
@@ -525,7 +525,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.6</version>
+ <version>2.7</version>
<configuration>
<configLocation>
${basedir}/${topDirectoryLocation}/src/checkstyle/jwebunit-checkstyle.xml
@@ -536,12 +536,16 @@
<xrefLocation>
${project.reporting.outputDirectory}/${topDirectoryLocation}/xref
</xrefLocation>
+ <!-- Needed for MCHECKSTYLE-159 -->
+ <propertyExpansion>
+ cacheFile=${project.build.directory}/checkstyle-cachefile
+ </propertyExpansion>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.8</version>
+ <version>2.9</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
@@ -572,7 +576,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.1</version>
+ <version>2.3.2</version>
<configuration>
<xrefLocation>
${project.reporting.outputDirectory}/${topDirectoryLocation}/xref
@@ -582,7 +586,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
+ <version>2.8</version>
<reportSets>
<reportSet>
<id>aggregate</id>
@@ -618,7 +622,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>2.2</version>
+ <version>2.3</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
@@ -643,7 +647,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.3.1</version>
+ <version>2.4</version>
<reportSets>
<reportSet>
<reports>
Modified: trunk/src/checkstyle/jwebunit-checkstyle.xml
===================================================================
--- trunk/src/checkstyle/jwebunit-checkstyle.xml 2011-08-16 10:05:52 UTC (rev 905)
+++ trunk/src/checkstyle/jwebunit-checkstyle.xml 2011-08-16 11:55:37 UTC (rev 906)
@@ -36,6 +36,7 @@
</module>
<module name="FileLength" />
<module name="TreeWalker">
+ <property name="cacheFile" value="${cacheFile}"/><!-- Needed for MCHECKSTYLE-159 -->
<module name="JavadocMethod" />
<module name="JavadocType" />
<module name="JavadocVariable">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-16 10:06:05
|
Revision: 905
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=905&view=rev
Author: henryju
Date: 2011-08-16 10:05:52 +0000 (Tue, 16 Aug 2011)
Log Message:
-----------
Update header of all files (2010->2011).
Modified Paths:
--------------
trunk/jwebunit-code-generator/src/site/site.xml
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/Concurrent.java
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.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/java/net/sourceforge/jwebunit/tests/util/reflect/StaticMethodInvoker.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/jetty-users.properties
trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
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/RefreshHandlerTest/testPage.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/HttpHeader.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/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-htmlunit-plugin/src/test/java/net/sourceforge/jwebunit/htmlunit/RefreshHandlerTest.java
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/src/assemble/release.xml
trunk/src/changes/changes.xml
trunk/src/checkstyle/header-checkstyle.txt
trunk/src/checkstyle/jwebunit-checkstyle.xml
trunk/src/license/header.txt
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/migration.xml
trunk/src/site/xdoc/quickstart.xml
Modified: trunk/jwebunit-code-generator/src/site/site.xml
===================================================================
--- trunk/jwebunit-code-generator/src/site/site.xml 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-code-generator/src/site/site.xml 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -19,7 +19,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<project name="JWebUnit">
<body>
<menu ref="reports" />
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CharsetTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CharsetTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CharsetTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CustomTesterTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CustomTesterTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/CustomTesterTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsHtmlTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.beginAt;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ExpectedTableAssertionsXHtmlTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import org.junit.Test;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import org.junit.Test;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsWithLabelTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsWithLabelTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsWithLabelTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import java.io.BufferedWriter;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HelloWorldTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HelloWorldTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HelloWorldTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HtmlParsingTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HtmlParsingTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/HtmlParsingTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertElementPresent;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertCommentNotPresent;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ImageTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ImageTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ImageTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JUnitPerfTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import java.lang.reflect.InvocationTargetException;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptEventsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptEventsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptEventsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertButtonPresent;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JavaScriptTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertLinkNotPresent;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NavigationTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertLinkPresentWithExactText;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertDownloadedFileEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/RedirectionTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/RedirectionTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/RedirectionTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResourceBundleAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResourceBundleAssertionsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResourceBundleAssertionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.beginAt;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResponseServletTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResponseServletTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ResponseServletTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertHeaderEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/SelectOptionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/SelectOptionsTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/SelectOptionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertSelectOptionNotPresent;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TableAssertionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTableEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTextPresent;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebAssertionsTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertElementPresent;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebCookieTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebCookieTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/WebCookieTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import java.util.List;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/XPathTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/XPathTest.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/XPathTest.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests;
import static net.sourceforge.jwebunit.junit.JWebUnit.assertTitleEquals;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/Concurrent.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import java.lang.annotation.ElementType;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ConcurrentRule.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import org.junit.rules.MethodRule;
Modified: 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/CookiesServlet.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import java.io.IOException;
Modified: 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/HtmlHelper.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/HtmlHelper.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests.util;
public abstract class HtmlHelper {
Modified: 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/JettySetup.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/JettySetup.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import java.net.URL;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ParamsServlet.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import java.io.IOException;
Modified: 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/RedirectServlet.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/RedirectServlet.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -16,7 +16,6 @@
* 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.tests.util;
import java.io.IOException;
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 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/ResponseServlet.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests.util;
import java.io.IOException;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvoker.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvoker.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/MethodInvoker.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests.util.reflect;
import java.lang.reflect.InvocationTargetException;
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/StaticMethodInvoker.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/StaticMethodInvoker.java 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/reflect/StaticMethodInvoker.java 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2010, JWebUnit team.
+ * Copyright (c) 2011, JWebUnit team.
*
* This file is part of JWebUnit.
*
@@ -17,7 +17,6 @@
* along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
*/
-
package net.sourceforge.jwebunit.tests.util.reflect;
import java.lang.reflect.InvocationTargetException;
Modified: trunk/jwebunit-commons-tests/src/main/resources/MessageBundle.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/MessageBundle.properties 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/MessageBundle.properties 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2010, JWebUnit team.
+# Copyright (c) 2011, JWebUnit team.
#
# This file is part of JWebUnit.
#
Modified: trunk/jwebunit-commons-tests/src/main/resources/TestContextBundle.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/TestContextBundle.properties 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/TestContextBundle.properties 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2010, JWebUnit team.
+# Copyright (c) 2011, JWebUnit team.
#
# This file is part of JWebUnit.
#
Modified: trunk/jwebunit-commons-tests/src/main/resources/jetty-users.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/jetty-users.properties 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/jetty-users.properties 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2010, JWebUnit team.
+# Copyright (c) 2011, JWebUnit team.
#
# This file is part of JWebUnit.
#
Modified: trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -19,7 +19,6 @@
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>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -19,7 +19,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithTwoForms.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithTwoForms.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithTwoForms.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -19,7 +19,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/CustomTesterTest/test.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/CustomTesterTest/test.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/CustomTesterTest/test.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head>
<title>test [custom]</title>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageHtml.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageHtml.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageHtml.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageXHtml.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageXHtml.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ExpectedTableAssertionsTest/TableAssertionsTestPageXHtml.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -19,7 +19,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head>
<title>assertButtonWithText</title>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/noFormPage.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/noFormPage.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/noFormPage.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head>
<title>No Form Page</title>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head>
<title>This is a test page.</title>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxForm.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxForm.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxForm.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head></head>
<body>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxFormWithLabels.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxFormWithLabels.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/CheckboxFormWithLabels.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head>
<title>test</title>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputFileForm.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputFileForm.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputFileForm.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head></head>
<body>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputImageForm.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputImageForm.html 2011-08-16 09:40:44 UTC (rev 904)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InputImageForm.html 2011-08-16 10:05:52 UTC (rev 905)
@@ -1,6 +1,6 @@
<!--
- Copyright (c) 2010, JWebUnit team.
+ Copyright (c) 2011, JWebUnit team.
This file is part of JWebUnit.
@@ -18,7 +18,6 @@
along with JWebUnit. If not, see <http://www.gnu.org/licenses/>.
-->
-
<html>
<head></head>
<body>
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormSubmissionTest/InvalidActionForm.html
====================...
[truncated message content] |
|
From: <he...@us...> - 2011-08-16 09:40:50
|
Revision: 904
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=904&view=rev
Author: henryju
Date: 2011-08-16 09:40:44 +0000 (Tue, 16 Aug 2011)
Log Message:
-----------
Update documentation to use JUnit 4 syntax.
Modified Paths:
--------------
trunk/src/site/xdoc/index.xml
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2011-08-16 09:40:07 UTC (rev 903)
+++ trunk/src/site/xdoc/index.xml 2011-08-16 09:40:44 UTC (rev 904)
@@ -64,16 +64,22 @@
<p>
To use JWebUnit you only need to <a href="http://sourceforge.net/projects/jwebunit/files">download the latest release JARs</a>
and include them into your project classpath. You may then test your web application
- by extending WebTestCase, and running these test cases with JUnit:
+ by importing JWebUnit static helpers, and running these test cases with JUnit:
<source>
-public class ExampleWebTestCase extends WebTestCase {
- public void setUp() {
- super.setUp();
+import org.junit.*;
+
+import static net.sourceforge.jwebunit.junit.JWebUnit.*;
+
+public class ExampleWebTestCase {
+
+ @Before
+ public void prepare() {
setBaseUrl("http://localhost:8080/test");
}
- public void test1() {
+ @Test
+ public void testLogin() {
beginAt("/home");
clickLink("login");
assertTitleEquals("Login");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2011-08-16 09:40:14
|
Revision: 903
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=903&view=rev
Author: henryju
Date: 2011-08-16 09:40:07 +0000 (Tue, 16 Aug 2011)
Log Message:
-----------
Update to HtmlUnit 2.9
Modified Paths:
--------------
trunk/pom.xml
trunk/src/changes/changes.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-03-28 23:30:22 UTC (rev 902)
+++ trunk/pom.xml 2011-08-16 09:40:07 UTC (rev 903)
@@ -399,7 +399,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
- <version>2.8</version>
+ <version>2.9</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2011-03-28 23:30:22 UTC (rev 902)
+++ trunk/src/changes/changes.xml 2011-08-16 09:40:07 UTC (rev 903)
@@ -31,7 +31,10 @@
</author>
</properties>
<body>
- <release version="3.0" date="UNKNOW" description="Updated all internals to JUnit 4">
+ <release version="3.0" date="UNKNOW" description="Updated all internals to JUnit 4. HtmlUnit 2.9.">
+ <action type="update" dev="henryju">
+ Updated to HtmlUnit 2.9.
+ </action>
<action type="fix" dev="henryju" issue="3190055" due-to="Achim Westermann">
Fixed handling of several cookies/headers with same name. getAllHeaders() was wrongly returning only the latest header
header with the same name so this method was deprecated and a new one was added with a different return type.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2011-06-16 01:05:43
|
Support Requests item #3310278, was opened at 2011-06-02 06:34 Message generated for change (Comment added) made by jevonwright You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Private: No Submitted By: devishri (devishri) Assigned to: Nobody/Anonymous (nobody) Summary: Issue in run mode Initial Comment: Hi , My sample Jwebunit test case is running fine in debug more but fails on run mode.. Any thoughts why this could? Regards Devshri ---------------------------------------------------------------------- >Comment By: Jevon Wright (jevonwright) Date: 2011-06-16 13:05 Message: Moved to users mailing list. ---------------------------------------------------------------------- Comment By: Jevon Wright (jevonwright) Date: 2011-06-02 15:06 Message: Hi Devshri, you will have to be more specific. How does your test case fail? What are you testing? How are you using JWebUnit? Do you get any stack traces? How are you debugging it -- through Eclipse, NetBeans, ...? I suggest posting this to the jwebunit-users mailing list instead. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 |
|
From: SourceForge.net <no...@so...> - 2011-06-02 03:06:12
|
Support Requests item #3310278, was opened at 2011-06-02 06:34 Message generated for change (Comment added) made by jevonwright You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: devishri (devishri) Assigned to: Nobody/Anonymous (nobody) Summary: Issue in run mode Initial Comment: Hi , My sample Jwebunit test case is running fine in debug more but fails on run mode.. Any thoughts why this could? Regards Devshri ---------------------------------------------------------------------- >Comment By: Jevon Wright (jevonwright) Date: 2011-06-02 15:06 Message: Hi Devshri, you will have to be more specific. How does your test case fail? What are you testing? How are you using JWebUnit? Do you get any stack traces? How are you debugging it -- through Eclipse, NetBeans, ...? I suggest posting this to the jwebunit-users mailing list instead. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 |
|
From: SourceForge.net <no...@so...> - 2011-06-01 18:34:06
|
Support Requests item #3310278, was opened at 2011-06-02 00:04 Message generated for change (Tracker Item Submitted) made by devishri You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: devishri (devishri) Assigned to: Nobody/Anonymous (nobody) Summary: Issue in run mode Initial Comment: Hi , My sample Jwebunit test case is running fine in debug more but fails on run mode.. Any thoughts why this could? Regards Devshri ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=3310278&group_id=61302 |
|
From: <jev...@us...> - 2011-03-28 23:30:29
|
Revision: 902
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=902&view=rev
Author: jevonwright
Date: 2011-03-28 23:30:22 +0000 (Mon, 28 Mar 2011)
Log Message:
-----------
clarifying the functionality of assertButtonPresentWithText() when the Button is currently invisible
adding test case to check functionality
fixing a bug in assertButtonPresentWithText() where <button>s were treated differently from <input>s
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java
trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java
Modified: trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2011-03-21 16:20:16 UTC (rev 901)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/ButtonAssertionsTest.java 2011-03-28 23:30:22 UTC (rev 902)
@@ -21,6 +21,8 @@
import static net.sourceforge.jwebunit.junit.JWebUnit.*;
+import net.sourceforge.jwebunit.junit.WebTester;
+
import org.junit.Test;
public class ButtonAssertionsTest extends JWebUnitAPITestCase {
@@ -85,5 +87,16 @@
assertButtonPresentWithText("Testbutton2");
assertButtonPresentWithText("Outside");
}
+
+ /**
+ * As per the semantics of {@link WebTester#assertButtonPresentWithText(String)},
+ * buttons that are not currently displayed are still "present".
+ */
+ @Test
+ public void testHiddenButtonsAreStillFound() {
+ beginAt("/pageWithOneForm.html");
+ assertButtonPresentWithText("Hidden Input");
+ assertButtonPresentWithText("Hidden Button");
+ }
}
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2011-03-21 16:20:16 UTC (rev 901)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/ButtonAssertionsTest/pageWithOneForm.html 2011-03-28 23:30:22 UTC (rev 902)
@@ -30,5 +30,8 @@
</form>
<button id="buttonOutside">Outside</button>
<input type="button" value="Input button" />
+
+<input type="button" value="Hidden Input" style="display: none;" />
+<button style="display: none;">Hidden Button</button>
</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 2011-03-21 16:20:16 UTC (rev 901)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2011-03-28 23:30:22 UTC (rev 902)
@@ -1359,7 +1359,11 @@
* Checks whether a button containing the specified text as its label exists.
* For HTML input tags of type submit, reset, or button, this checks the
* value attribute. For HTML button tags, this checks the element's
- * content by converting it to text.
+ * content by retrieving the text content.
+ *
+ * <p>This method does not check whether the button is currently visible to the
+ * client.
+ *
* @param text the text of the button (between <button></button>)
* or the value of the "value" attribute.
* @return <code>true</code> when the button with text could be found.
@@ -1372,19 +1376,29 @@
* Returns the first button that contains the specified text as its label.
* For HTML input tags of type submit, reset, or button, this checks the
* value attribute. For HTML button tags, this checks the element's
- * content by converting it to text.
+ * content by retrieving the text content.
+ *
+ * <p>This method does not check whether the button is currently visible to the
+ * client.
+ *
* @param buttonValueText the text of the button (between <button></button>)
* or the value of the "value" attribute.
* @return the ClickableElement with the specified text or null if
* no such button is found.
*/
public HtmlElement getButtonWithText(String buttonValueText) {
+ if (buttonValueText == null)
+ throw new NullPointerException("Cannot search for button with null text");
+
List<? extends HtmlElement> l = ((HtmlPage) win.getEnclosedPage()).getDocumentElement()
.getHtmlElementsByTagNames(
Arrays.asList(new String[] { "button", "input" }));
for (HtmlElement e : l) {
if ( e instanceof HtmlButton ) {
- if (((HtmlButton) e).asText().equals(buttonValueText)) {
+ // we cannot use asText(), as this returns an empty string if the
+ // button is not currently displayed, resulting in different
+ // behaviour as the <input> Buttons
+ if (buttonValueText.equals(((HtmlButton) e).getTextContent())) {
return e;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Jevon W. <je...@je...> - 2011-03-28 23:08:45
|
Hi Julien, Yes, the local revision was up-to-date. So I decided to 'mvn clean' and it failed, but I realised that there may be an open file handle in the system. I found and closed the file handle, ran 'mvn clean' again (and it passed), and now 'mvn test' passes. So apparently "method not found" is a synonym for "cannot delete directory". :D Thanks for all your help :) Jevon On Mon, Mar 28, 2011 at 8:18 PM, Julien HENRY <he...@ya...> wrote: > Hi Jevon, > > Is your SVN workspace up to date? I just checked and the method exists in > JWebUnit trunk. See line 412 of WebTester: > http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java?revision=901&view=markup > > > Regards, > > Julien > > > > ----- Message d'origine ---- >> De : Jevon Wright <je...@je...> >> À : JWebUnit Development mail list > <jwe...@li...> >> Envoyé le : Lun 28 mars 2011, 1h 46min 24s >> Objet : Re: [JWebUnit-development] mvn test crashes with NoSuchMethodError on >>Mockito.when >> >> Hi Julien, >> >> Thanks very much for your help. I was using Maven 2.2.1, so I upgraded >> to Maven 3.0.3 but now I am getting a different error when trying to >> test Core - API: >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile >> (default-compile) on project jwebunit-core: Compilation failure: >> Compilation failure: >> [ERROR] \Documents and >>Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\JWebUnit.java:[291,26] >>] >> cannot find symbol >> [ERROR] symbol : method getResponseHeaders() >> [ERROR] location: class net.sourceforge.jwebunit.junit.WebTester >> [ERROR] \Documents and >>Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\WebTestCase.java:[447,25] >>] >> cannot find symbol >> [ERROR] symbol : method getResponseHeaders() >> [ERROR] location: class net.sourceforge.jwebunit.junit.WebTester >> [ERROR] -> [Help 1] >> >> Attached is the build log trace and the dependency tree in .zip format. >> >> Cheers >> Jevon >> >> On Fri, Mar 25, 2011 at 9:30 PM, Julien HENRY <he...@ya...> wrote: >> > Hi Jevon, >> > >> > I just tried and I can't reproduce the issue. Note that I am using Maven >>3.0.3 >> > on Windows so maybe the issue you are facing is related to Maven version or >>OS. >> > >> > Can you send me the full build log trace (mvn test -X > build.log) and also >>the >> > dependency tree (mvn dependency:tree > tree.log). >> > >> > Thanks >> > >> > Julien >> > >> > >> > >> > ----- Message d'origine ---- >> >> De : Jevon Wright <je...@je...> >> >> À : JWebUnit Development mail list >> > <jwe...@li...> >> >> Envoyé le : Ven 25 mars 2011, 6h 58min 40s >> >> Objet : [JWebUnit-development] mvn test crashes with NoSuchMethodError on >> >>Mockito.when >> >> >> >> Hi, >> >> >> >> I am trying to get JWebUnit trunk to test using mvn ("mvn test"), but >> >> the tests crash quickly with an error: >> >> >> >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.969 >> >> sec <<< FAILURE! >>>>testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(net.sourceforge.jwebunit.junit.WebTesterTest) >>) >> >>) >> >> Time elapsed: 0.468 sec <<< ERROR! >> >> java.lang.NoSuchMethodError: >>>>org.mockito.Mockito.when(Ljava/lang/Object;)Lorg/mockito/internal/progress/NewOngoingStubbing; >>; >> >>; >> >> at >> >>net.sourceforge.jwebunit.junit.WebTesterTest.engine(WebTesterTest.java:57) >> >> at >>>>net.sourceforge.jwebunit.junit.WebTesterTest.testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(WebTesterTest.java:32) >>) >> >> >> >> ... >> >> >> >> According to [1] this is due to multiple versions of Mockito being on >> >> the class path. Is this a Maven configuration setting? Any ideas on >> >> how to fix the problem? I'm still a Maven novice so any help would be >> >> appreciated. :) >> >> >> >> Jevon >> >> >> >> [1]: >>>>http://groups.google.com/group/mockito/browse_thread/thread/6c21dc83d1974ead?pli=1 >>1 >> >> >> >> >> >> >>------------------------------------------------------------------------------ >> >> ; Enable your software for Intel(R) Active Management Technology to meet >>the >> >> growing manageability and security demands of your customers. Businesses >> >> are taking advantage of Intel(R) vPro (TM) technology - will your > software >> >> be a part of the solution? Download the Intel(R) Manageability Checker >> >> today! http://p.sf.net/sfu/intel-dev2devmar >> >> _______________________________________________ >> >> JWebUnit-development mailing list >> >> JWe...@li... >> >> https://lists.sourceforge.net/lists/listinfo/jwebunit-development >> >> >> > >> > >>------------------------------------------------------------------------------ >> > ; Enable your software for Intel(R) Active Management Technology to meet > the >> > growing manageability and security demands of your customers. Businesses >> > are taking advantage of Intel(R) vPro (TM) technology - will your software >> > be a part of the solution? Download the Intel(R) Manageability Checker >> > today! http://p.sf.net/sfu/intel-dev2devmar >> > _______________________________________________ >> > JWebUnit-development mailing list >> > JWe...@li... >> > https://lists.sourceforge.net/lists/listinfo/jwebunit-development >> > >> > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > JWebUnit-development mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > |
|
From: Julien H. <he...@ya...> - 2011-03-28 07:18:16
|
Hi Jevon, Is your SVN workspace up to date? I just checked and the method exists in JWebUnit trunk. See line 412 of WebTester: http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java?revision=901&view=markup Regards, Julien ----- Message d'origine ---- > De : Jevon Wright <je...@je...> > À : JWebUnit Development mail list <jwe...@li...> > Envoyé le : Lun 28 mars 2011, 1h 46min 24s > Objet : Re: [JWebUnit-development] mvn test crashes with NoSuchMethodError on >Mockito.when > > Hi Julien, > > Thanks very much for your help. I was using Maven 2.2.1, so I upgraded > to Maven 3.0.3 but now I am getting a different error when trying to > test Core - API: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on project jwebunit-core: Compilation failure: > Compilation failure: > [ERROR] \Documents and >Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\JWebUnit.java:[291,26] >] > cannot find symbol > [ERROR] symbol : method getResponseHeaders() > [ERROR] location: class net.sourceforge.jwebunit.junit.WebTester > [ERROR] \Documents and >Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\WebTestCase.java:[447,25] >] > cannot find symbol > [ERROR] symbol : method getResponseHeaders() > [ERROR] location: class net.sourceforge.jwebunit.junit.WebTester > [ERROR] -> [Help 1] > > Attached is the build log trace and the dependency tree in .zip format. > > Cheers > Jevon > > On Fri, Mar 25, 2011 at 9:30 PM, Julien HENRY <he...@ya...> wrote: > > Hi Jevon, > > > > I just tried and I can't reproduce the issue. Note that I am using Maven >3.0.3 > > on Windows so maybe the issue you are facing is related to Maven version or >OS. > > > > Can you send me the full build log trace (mvn test -X > build.log) and also >the > > dependency tree (mvn dependency:tree > tree.log). > > > > Thanks > > > > Julien > > > > > > > > ----- Message d'origine ---- > >> De : Jevon Wright <je...@je...> > >> À : JWebUnit Development mail list > > <jwe...@li...> > >> Envoyé le : Ven 25 mars 2011, 6h 58min 40s > >> Objet : [JWebUnit-development] mvn test crashes with NoSuchMethodError on > >>Mockito.when > >> > >> Hi, > >> > >> I am trying to get JWebUnit trunk to test using mvn ("mvn test"), but > >> the tests crash quickly with an error: > >> > >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.969 > >> sec <<< FAILURE! >>>testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(net.sourceforge.jwebunit.junit.WebTesterTest) >) > >>) > >> Time elapsed: 0.468 sec <<< ERROR! > >> java.lang.NoSuchMethodError: >>>org.mockito.Mockito.when(Ljava/lang/Object;)Lorg/mockito/internal/progress/NewOngoingStubbing; >; > >>; > >> at > >>net.sourceforge.jwebunit.junit.WebTesterTest.engine(WebTesterTest.java:57) > >> at >>>net.sourceforge.jwebunit.junit.WebTesterTest.testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(WebTesterTest.java:32) >) > >> > >> ... > >> > >> According to [1] this is due to multiple versions of Mockito being on > >> the class path. Is this a Maven configuration setting? Any ideas on > >> how to fix the problem? I'm still a Maven novice so any help would be > >> appreciated. :) > >> > >> Jevon > >> > >> [1]: >>>http://groups.google.com/group/mockito/browse_thread/thread/6c21dc83d1974ead?pli=1 >1 > >> > >> > >> >------------------------------------------------------------------------------ > >> ; Enable your software for Intel(R) Active Management Technology to meet >the > >> growing manageability and security demands of your customers. Businesses > >> are taking advantage of Intel(R) vPro (TM) technology - will your software > >> be a part of the solution? Download the Intel(R) Manageability Checker > >> today! http://p.sf.net/sfu/intel-dev2devmar > >> _______________________________________________ > >> JWebUnit-development mailing list > >> JWe...@li... > >> https://lists.sourceforge.net/lists/listinfo/jwebunit-development > >> > > > > >------------------------------------------------------------------------------ > > ; Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > JWebUnit-development mailing list > > JWe...@li... > > https://lists.sourceforge.net/lists/listinfo/jwebunit-development > > > |
|
From: Jevon W. <je...@je...> - 2011-03-27 23:46:31
|
Hi Julien,
Thanks very much for your help. I was using Maven 2.2.1, so I upgraded
to Maven 3.0.3 but now I am getting a different error when trying to
test Core - API:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project jwebunit-core: Compilation failure:
Compilation failure:
[ERROR] \Documents and
Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\JWebUnit.java:[291,26]
cannot find symbol
[ERROR] symbol : method getResponseHeaders()
[ERROR] location: class net.sourceforge.jwebunit.junit.WebTester
[ERROR] \Documents and
Settings\jmwright.MASSEY\workspace-iaml-branch\jwebunit-trunk\jwebunit-core\target\generated-sources\main\java\net\sourceforge\jwebunit\junit\WebTestCase.java:[447,25]
cannot find symbol
[ERROR] symbol : method getResponseHeaders()
[ERROR] location: class net.sourceforge.jwebunit.junit.WebTester
[ERROR] -> [Help 1]
Attached is the build log trace and the dependency tree in .zip format.
Cheers
Jevon
On Fri, Mar 25, 2011 at 9:30 PM, Julien HENRY <he...@ya...> wrote:
> Hi Jevon,
>
> I just tried and I can't reproduce the issue. Note that I am using Maven 3.0.3
> on Windows so maybe the issue you are facing is related to Maven version or OS.
>
> Can you send me the full build log trace (mvn test -X > build.log) and also the
> dependency tree (mvn dependency:tree > tree.log).
>
> Thanks
>
> Julien
>
>
>
> ----- Message d'origine ----
>> De : Jevon Wright <je...@je...>
>> À : JWebUnit Development mail list
> <jwe...@li...>
>> Envoyé le : Ven 25 mars 2011, 6h 58min 40s
>> Objet : [JWebUnit-development] mvn test crashes with NoSuchMethodError on
>>Mockito.when
>>
>> Hi,
>>
>> I am trying to get JWebUnit trunk to test using mvn ("mvn test"), but
>> the tests crash quickly with an error:
>>
>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.969
>> sec <<< FAILURE!
>>testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(net.sourceforge.jwebunit.junit.WebTesterTest)
>>)
>> Time elapsed: 0.468 sec <<< ERROR!
>> java.lang.NoSuchMethodError:
>>org.mockito.Mockito.when(Ljava/lang/Object;)Lorg/mockito/internal/progress/NewOngoingStubbing;
>>;
>> at
>>net.sourceforge.jwebunit.junit.WebTesterTest.engine(WebTesterTest.java:57)
>> at
>>net.sourceforge.jwebunit.junit.WebTesterTest.testAssertImageSrcContainsShouldDelegateXPathExpressionToUnderlyingTestingEngine(WebTesterTest.java:32)
>>
>> ...
>>
>> According to [1] this is due to multiple versions of Mockito being on
>> the class path. Is this a Maven configuration setting? Any ideas on
>> how to fix the problem? I'm still a Maven novice so any help would be
>> appreciated. :)
>>
>> Jevon
>>
>> [1]:
>>http://groups.google.com/group/mockito/browse_thread/thread/6c21dc83d1974ead?pli=1
>>
>>
>> ------------------------------------------------------------------------------
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software
>> be a part of the solution? Download the Intel(R) Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> JWebUnit-development mailing list
>> JWe...@li...
>> https://lists.sourceforge.net/lists/listinfo/jwebunit-development
>>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> JWebUnit-development mailing list
> JWe...@li...
> https://lists.sourceforge.net/lists/listinfo/jwebunit-development
>
|