[JWebUnit-development] SF.net SVN: jwebunit:[757] trunk
Brought to you by:
henryju
|
From: <jev...@us...> - 2008-10-29 03:14:13
|
Revision: 757
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=757&view=rev
Author: jevonwright
Date: 2008-10-29 03:14:02 +0000 (Wed, 29 Oct 2008)
Log Message:
-----------
cleaning up Eclipse warnings (serialVersionUIDs, missing generics, unused imports etc)
Modified Paths:
--------------
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.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/NonHtmlContentTest.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/util/CookiesServlet.java
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html
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/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-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
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/IElementTest.java
===================================================================
--- trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/IElementTest.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -44,7 +44,7 @@
public void testMissing() {
// a missing element should throw an exception
try {
- IElement element = getElementByXPath("//input[@id='test2']");
+ getElementByXPath("//input[@id='test2']");
fail("getElementByXPath() should have thrown an assertion exception.");
} catch (AssertionFailedError e) {
// nothing
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/JWebUnitAPITestCase.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -86,7 +86,7 @@
assertException(AssertionFailedError.class, methodName, args);
}
- public void assertException(Class exceptionClass, String methodName,
+ public void assertException(Class<?> exceptionClass, String methodName,
Object[] args) {
MethodInvoker invoker = new MethodInvoker(this, methodName, args);
try {
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/NonHtmlContentTest.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -4,12 +4,10 @@
******************************************************************************/
package net.sourceforge.jwebunit.tests;
-import java.io.File;
import java.io.IOException;
import junit.framework.Test;
import junit.framework.TestSuite;
-
import net.sourceforge.jwebunit.tests.util.JettySetup;
/**
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/TestContextTest.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -32,7 +32,7 @@
assertTrue(context.hasCookies());
assertEquals(context.getUser(), "user");
assertEquals(context.getPassword(), "pwd");
- List cookies = context.getCookies();
+ List<?> cookies = context.getCookies();
Cookie c = (Cookie)cookies.get(0);
assertEquals(c.getName(), "key");
assertEquals(c.getValue(), "val");
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/util/CookiesServlet.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -6,8 +6,6 @@
import java.io.IOException;
import java.io.PrintWriter;
-import java.util.Iterator;
-import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
@@ -15,12 +13,6 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.apache.commons.fileupload.FileItem;
-import org.apache.commons.fileupload.FileItemFactory;
-import org.apache.commons.fileupload.FileUploadException;
-import org.apache.commons.fileupload.disk.DiskFileItemFactory;
-import org.apache.commons.fileupload.servlet.ServletFileUpload;
-
public class CookiesServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
Modified: trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/testPage.html 2008-10-29 03:14:02 UTC (rev 757)
@@ -76,7 +76,7 @@
</label>
<label id="label5">
<input type="radio" value="1">Not selected<br />
- <input type="radio" value="2" selected>Selected<br />
+ <input type="radio" value="2" checked>Selected<br />
<input type="text" name="label5_field1" value="Ignore this" />
</label>
<label id="label6">
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/api/ITestingEngine.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -71,7 +71,7 @@
*
* @return List of javax.servlet.http.Cookie.
*/
- List getCookies();
+ List<?> getCookies();
/**
* Test if the window with the given name is present.
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ElementNotFoundException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ElementNotFoundException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ElementNotFoundException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -12,7 +12,9 @@
*/
public class ElementNotFoundException extends Exception {
- public ElementNotFoundException(String msg) {
+ private static final long serialVersionUID = 1L;
+
+ public ElementNotFoundException(String msg) {
super(msg);
}
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptAlertException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptAlertException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptAlertException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -4,7 +4,6 @@
******************************************************************************/
package net.sourceforge.jwebunit.exception;
-import junit.framework.AssertionFailedError;
/**
* A Javascript alert was expected but was not thrown.
@@ -13,6 +12,8 @@
*/
public class ExpectedJavascriptAlertException extends Exception {
+ private static final long serialVersionUID = 1L;
+
/**
* Expected message in the alert
*/
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptConfirmException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptConfirmException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptConfirmException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -4,7 +4,6 @@
******************************************************************************/
package net.sourceforge.jwebunit.exception;
-import junit.framework.AssertionFailedError;
/**
* A Javascript confirm was expected but was not thrown.
@@ -13,6 +12,8 @@
*/
public class ExpectedJavascriptConfirmException extends Exception {
+ private static final long serialVersionUID = 1L;
+
/**
* Expected message in the confirm
*/
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptPromptException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptPromptException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/ExpectedJavascriptPromptException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -4,7 +4,6 @@
******************************************************************************/
package net.sourceforge.jwebunit.exception;
-import junit.framework.AssertionFailedError;
/**
* A Javascript prompt was expected but was not thrown.
@@ -12,7 +11,10 @@
* @author Julien Henry
*/
public class ExpectedJavascriptPromptException extends Exception {
- /**
+
+ private static final long serialVersionUID = 1L;
+
+ /**
* Expected message in the prompt
*/
private String message;
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineRegistryException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineRegistryException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineRegistryException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -10,7 +10,10 @@
* @author Nick Neuberger
*/
public class TestingEngineRegistryException extends RuntimeException {
- public TestingEngineRegistryException() {
+
+ private static final long serialVersionUID = 1L;
+
+ public TestingEngineRegistryException() {
}
public TestingEngineRegistryException(String s) {
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineResponseException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineResponseException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/TestingEngineResponseException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -15,6 +15,7 @@
*/
public class TestingEngineResponseException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
private int httpStatusCode = -1;
/**
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnableToSetFormException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnableToSetFormException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnableToSetFormException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -11,7 +11,10 @@
* @author Wilkes Joiner
*/
public class UnableToSetFormException extends RuntimeException {
- public UnableToSetFormException() {
+
+ private static final long serialVersionUID = 1L;
+
+ public UnableToSetFormException() {
}
public UnableToSetFormException(String s) {
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptAlertException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptAlertException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptAlertException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -11,6 +11,8 @@
*/
public class UnexpectedJavascriptAlertException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+
/**
* Message in the unexpected alert
*/
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptConfirmException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptConfirmException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptConfirmException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -11,6 +11,8 @@
*/
public class UnexpectedJavascriptConfirmException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+
/**
* Message in the unexpected confirm
*/
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptPromptException.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptPromptException.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/exception/UnexpectedJavascriptPromptException.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -11,6 +11,8 @@
*/
public class UnexpectedJavascriptPromptException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+
/**
* Message in the unexpected prompt
*/
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/junit/WebTester.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -94,7 +94,7 @@
protected ITestingEngine initializeDialog() {
ITestingEngine theIJWebUnitDialog = null;
String theTestingEngineKey = getTestingEngineKey();
- Class theClass;
+ Class<?> theClass;
try {
theClass = TestingEngineRegistry
.getTestingEngineClass(theTestingEngineKey);
@@ -2081,8 +2081,8 @@
* @param cookieName The cookie name
*/
public void assertCookiePresent(String cookieName) {
- List cookies = getTestingEngine().getCookies();
- for (Iterator i = cookies.iterator(); i.hasNext();) {
+ List<?> cookies = getTestingEngine().getCookies();
+ for (Iterator<?> i = cookies.iterator(); i.hasNext();) {
if (((Cookie) i.next()).getName().equals(cookieName)) {
return;
}
@@ -2098,8 +2098,8 @@
*/
public void assertCookieValueEquals(String cookieName, String expectedValue) {
assertCookiePresent(cookieName);
- List cookies = getTestingEngine().getCookies();
- for (Iterator i = cookies.iterator(); i.hasNext();) {
+ List<?> cookies = getTestingEngine().getCookies();
+ for (Iterator<?> i = cookies.iterator(); i.hasNext();) {
Cookie c = (Cookie) i.next();
if (c.getName().equals(cookieName)) {
Assert.assertEquals(expectedValue, c.getValue());
@@ -2123,8 +2123,8 @@
} catch (RESyntaxException e) {
Assert.fail(e.toString());
}
- List cookies = getTestingEngine().getCookies();
- for (Iterator i = cookies.iterator(); i.hasNext();) {
+ List<?> cookies = getTestingEngine().getCookies();
+ for (Iterator<?> i = cookies.iterator(); i.hasNext();) {
Cookie c = (Cookie) i.next();
if (c.getName().equals(cookieName)) {
Assert.assertTrue("Unable to match [" + regexp
@@ -2645,7 +2645,7 @@
value = field.getAttribute("value");
}
} else if (field.getAttribute("type").toLowerCase().equals("radio")) {
- if (field.getAttribute("selected") != null) {
+ if (field.getAttribute("checked") != null) {
value = field.getAttribute("value");
}
} else {
@@ -2758,8 +2758,8 @@
*
*/
public void dumpCookies() {
- List cookies = getTestingEngine().getCookies();
- for (Iterator i = cookies.iterator(); i.hasNext();) {
+ List<?> cookies = getTestingEngine().getCookies();
+ for (Iterator<?> i = cookies.iterator(); i.hasNext();) {
Cookie c = (Cookie) i.next();
System.out.println("Name=" + c.getName() + "; Value="
+ c.getValue() + "; Domain=" + c.getDomain() + "; Comment="
@@ -2825,7 +2825,7 @@
tmp.deleteOnExit();
saveAs(tmp);
Assert.assertTrue("Files are not binary equals.", areFilesEqual(
- expected, tmp.toURL()));
+ expected, tmp.toURI().toURL()));
} catch (IOException e) {
e.printStackTrace();
Assert.fail(e.toString());
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestContext.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -60,7 +60,7 @@
* Construct a test client context.
*/
public TestContext() {
- cookies = new ArrayList();
+ cookies = new ArrayList<javax.servlet.http.Cookie>();
try {
baseUrl = new URL("http://localhost:8080");
} catch (MalformedURLException e) {
@@ -330,7 +330,7 @@
*
*/
public void clearRequestHeaders() {
- requestHeaders = new HashMap();
+ requestHeaders = new HashMap<String, String>();
}
}
Modified: trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestingEngineRegistry.java
===================================================================
--- trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestingEngineRegistry.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-core/src/main/java/net/sourceforge/jwebunit/util/TestingEngineRegistry.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -26,7 +26,7 @@
*/
public final static String TESTING_ENGINE_SELENIUM = "TestingEngineSelenium";
- private static Hashtable testingEngineMap = new Hashtable();
+ private static Hashtable<String,Class<?>> testingEngineMap = new Hashtable<String,Class<?>>();
static {
String cp = "net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl";
@@ -51,9 +51,9 @@
* @param aKey Key of the testing engine
* @return the testing engine class.
*/
- public static Class getTestingEngineClass(String aKey)
+ public static Class<?> getTestingEngineClass(String aKey)
throws ClassNotFoundException {
- Class theClass = (Class) testingEngineMap.get(aKey);
+ Class<?> theClass = (Class<?>) testingEngineMap.get(aKey);
return theClass;
}
@@ -66,7 +66,7 @@
*/
public static void addTestingEngine(String key, String classpath)
throws ClassNotFoundException {
- Class c = Class.forName(classpath);
+ Class<?> c = Class.forName(classpath);
if (ITestingEngine.class.isAssignableFrom(c)) {
testingEngineMap.put(key, c);
} else {
Modified: trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
===================================================================
--- trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -6,12 +6,11 @@
import java.util.ArrayList;
import java.util.List;
+import net.sourceforge.jwebunit.api.IElement;
+
import com.gargoylesoftware.htmlunit.html.DomNode;
import com.gargoylesoftware.htmlunit.html.HtmlElement;
-import com.gargoylesoftware.htmlunit.javascript.host.Node;
-import net.sourceforge.jwebunit.api.IElement;
-
/**
* HtmlUnit implementation of IElement wrapper.
*
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 2008-10-29 02:08:52 UTC (rev 756)
+++ trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java 2008-10-29 03:14:02 UTC (rev 757)
@@ -13,7 +13,6 @@
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
-import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
@@ -70,14 +69,12 @@
import com.gargoylesoftware.htmlunit.html.HtmlButtonInput;
import com.gargoylesoftware.htmlunit.html.HtmlCheckBoxInput;
import com.gargoylesoftware.htmlunit.html.HtmlElement;
-import com.gargoylesoftware.htmlunit.html.HtmlFileInput;
import com.gargoylesoftware.htmlunit.html.HtmlForm;
import com.gargoylesoftware.htmlunit.html.HtmlHiddenInput;
import com.gargoylesoftware.htmlunit.html.HtmlImageInput;
import com.gargoylesoftware.htmlunit.html.HtmlInput;
import com.gargoylesoftware.htmlunit.html.HtmlOption;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.gargoylesoftware.htmlunit.html.HtmlPasswordInput;
import com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput;
import com.gargoylesoftware.htmlunit.html.HtmlResetInput;
import com.gargoylesoftware.htmlunit.html.HtmlSelect;
@@ -86,7 +83,6 @@
import com.gargoylesoftware.htmlunit.html.HtmlTableCell;
import com.gargoylesoftware.htmlunit.html.HtmlTableRow;
import com.gargoylesoftware.htmlunit.html.HtmlTextArea;
-import com.gargoylesoftware.htmlunit.html.HtmlTextInput;
import com.gargoylesoftware.htmlunit.html.HtmlTableRow.CellIterator;
import com.gargoylesoftware.htmlunit.xml.XmlPage;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|