From: <asa...@us...> - 2017-07-20 09:47:40
|
Revision: 14676 http://sourceforge.net/p/htmlunit/code/14676 Author: asashour Date: 2017-07-20 09:47:37 +0000 (Thu, 20 Jul 2017) Log Message: ----------- a/an Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebClient.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlElement.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlHiddenInput.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptErrorListener.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/ClientRectList.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/URL.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSMediaRule.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSRule.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet2.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Attr.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceTiming.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest2.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/DebuggingWebConnection.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebClient3Test.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebTestCase.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParser2Test.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParserListenerTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlElementTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WebSocketTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/Event2Test.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/ExtJS22Test.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/MooTools121Test.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -664,7 +664,7 @@ /** * Returns the value used by the browser for the {@code Accept} header - * if requesting an script. + * if requesting a script. * @return the accept header string */ public String getScriptAcceptHeader() { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -213,11 +213,11 @@ @BrowserFeature(IE) EVENT_ONMOUSEDOWN_NOT_FOR_SELECT_OPTION, - /** FF triggers an mouseover event even if the option is disabled. */ + /** FF triggers a mouseover event even if the option is disabled. */ @BrowserFeature(FF) EVENT_ONMOUSEOVER_FOR_DISABLED_OPTION, - /** IE never triggers an mouseover event for select options. */ + /** IE never triggers a mouseover event for select options. */ @BrowserFeature(IE) EVENT_ONMOUSEOVER_NEVER_FOR_SELECT_OPTION, @@ -269,7 +269,7 @@ @BrowserFeature(IE) FORM_PARAMETRS_NOT_SUPPORTED_FOR_IMAGE, - /** Form submit forces an real request also if only the hash was changed. */ + /** Form submit forces a real request also if only the hash was changed. */ @BrowserFeature(CHROME) FORM_SUBMISSION_DOWNLOWDS_ALSO_IF_ONLY_HASH_CHANGED, @@ -484,7 +484,7 @@ @BrowserFeature({CHROME, FF}) HTMLTEXTAREA_SET_DEFAULT_VALUE_UPDATES_VALUE, - /** When calculation the value of an text area ie uses a recursive approach. */ + /** When calculation the value of a text area ie uses a recursive approach. */ @BrowserFeature(IE) HTMLTEXTAREA_USE_ALL_TEXT_CHILDREN, @@ -1454,7 +1454,7 @@ @BrowserFeature(CHROME) QUERYSELECTORALL_NO_TARGET, - /** IE throws a syntax error if a css3 pseudo selector is used on an detached node. */ + /** IE throws a syntax error if a css3 pseudo selector is used on a detached node. */ @BrowserFeature(IE) QUERYSELECTOR_CSS3_PSEUDO_REQUIRE_ATTACHED_NODE, @@ -1525,11 +1525,11 @@ @BrowserFeature({CHROME, FF}) URL_AUTH_CREDENTIALS, - /** Replace only ' ' with %20 when encode the query part of an url. */ + /** Replace only ' ' with %20 when encode the query part of a url. */ @BrowserFeature(IE) URL_MINIMAL_QUERY_ENCODING, - /** */ + /** Handles missing slashes. */ @BrowserFeature({CHROME, FF}) URL_MISSING_SLASHES, Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebClient.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebClient.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebClient.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -438,7 +438,7 @@ } /** - * Convenient method to build an URL and load it into the current WebWindow as it would be done + * Convenient method to build a URL and load it into the current WebWindow as it would be done * by {@link #getPage(WebWindow, WebRequest)}. * @param url the URL of the new content * @param <P> the page type @@ -1226,7 +1226,7 @@ /** * Tries to guess the content type of the file.<br> - * This utility could be located in an helper class but we can compare this functionality + * This utility could be located in a helper class but we can compare this functionality * for instance with the "Helper Applications" settings of Mozilla and therefore see it as a * property of the "browser". * @param file the file Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -1196,7 +1196,7 @@ * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br> * * Detach this node from all relationships with other nodes. - * This is the first step of an move. + * This is the first step of a move. */ protected void detach() { final DomNode exParent = parent_; Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlElement.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlElement.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlElement.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -1265,7 +1265,7 @@ * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br> * * Detach this node from all relationships with other nodes. - * This is the first step of an move. + * This is the first step of a move. */ @Override protected void detach() { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlHiddenInput.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlHiddenInput.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlHiddenInput.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -59,7 +59,7 @@ /** * @see com.gargoylesoftware.htmlunit.html.HtmlInput#asText() - * @return an empty string as an hidden field is not visible + * @return an empty string as hidden field is not visible */ // we need to preserve this method as it is there since many versions with the above documentation. @Override Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -1244,7 +1244,7 @@ final FrameWindow fw = (FrameWindow) window; final BaseFrameElement frame = fw.getFrameElement(); - // if part of an document fragment, then the load event is not triggered + // if part of a document fragment, then the load event is not triggered if (Event.TYPE_LOAD.equals(eventType) && frame.getParentNode() instanceof DomDocumentFragment) { return true; } Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -270,7 +270,7 @@ @Override public X509Certificate[] getAcceptedIssuers() { // it seems to be OK for Java <= 6 to return an empty array but not for Java 7 (at least 1.7.0_04-b20): - // requesting an URL with a valid certificate (working without WebClient.setUseInsecureSSL(true)) throws a + // requesting a URL with a valid certificate (working without WebClient.setUseInsecureSSL(true)) throws a // javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated // when the array returned here is empty if (acceptedIssuers_.isEmpty()) { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptErrorListener.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptErrorListener.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptErrorListener.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -55,7 +55,7 @@ MalformedURLException malformedURLException); /** - * Informs about an exception during load of an javascript file refereed from a page. + * Informs about an exception during load of a javascript file refereed from a page. * * @param page the page that causes the problem * @param scriptUrl the url to load the script from Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/ClientRectList.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/ClientRectList.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/ClientRectList.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -91,7 +91,7 @@ } /** - * Add an rect. + * Add a rect. * @param clientRect the rect to add */ public void add(final ClientRect clientRect) { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/URL.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/URL.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/URL.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -41,7 +41,7 @@ } /** - * The URL.createObjectURL() static method creates a DOMString containing an URL + * The URL.createObjectURL() static method creates a DOMString containing a URL * representing the object given in parameter. * The URL lifetime is tied to the document in the window on which it was created. * The new object URL represents the specified File object or Blob object. Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSMediaRule.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSMediaRule.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSMediaRule.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -64,8 +64,8 @@ } /** - * Returns the wrapped rule, as an media rule. - * @return the wrapped rule, as an media rule + * Returns the wrapped rule, as a media rule. + * @return the wrapped rule, as a media rule */ private org.w3c.dom.css.CSSMediaRule getMediaRule() { return (org.w3c.dom.css.CSSMediaRule) getRule(); Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSRule.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSRule.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSRule.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -246,7 +246,7 @@ } /** - * If this rule is contained inside another rule (e.g. a style rule inside an @media block), + * If this rule is contained inside another rule (e.g. a style rule inside a @media block), * this is the containing rule. If this rule is not nested inside any other rules, this returns {@code null}. * @return the parent rule */ Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -303,7 +303,7 @@ * Loads the stylesheet at the specified link or href. * @param window the current window * @param element the parent DOM element - * @param link the stylesheet's link (may be {@code null} if an <tt>url</tt> is specified) + * @param link the stylesheet's link (may be {@code null} if a <tt>url</tt> is specified) * @param url the stylesheet's url (may be {@code null} if a <tt>link</tt> is specified) * @return the loaded stylesheet */ Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet2.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet2.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleSheet2.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -521,7 +521,7 @@ * Loads the stylesheet at the specified link or href. * @param window the current window * @param element the parent DOM element - * @param link the stylesheet's link (may be {@code null} if an <tt>url</tt> is specified) + * @param link the stylesheet's link (may be {@code null} if a <tt>url</tt> is specified) * @param url the stylesheet's url (may be {@code null} if a <tt>link</tt> is specified) * @return the loaded stylesheet */ Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Attr.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Attr.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Attr.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -66,8 +66,8 @@ } /** - * Returns {@code true} if the attribute is an custom property. - * @return {@code true} if the attribute is an custom property + * Returns {@code true} if the attribute is a custom property. + * @return {@code true} if the attribute is a custom property */ @JsxGetter(IE) public boolean isExpando() { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceTiming.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceTiming.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceTiming.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -153,7 +153,7 @@ } /** - * @return an redirectStart + * @return a redirectStart */ @JsxGetter public long getRedirectStart() { @@ -161,7 +161,7 @@ } /** - * @return an redirectEnd + * @return a redirectEnd */ @JsxGetter public long getRedirectEnd() { Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -379,7 +379,7 @@ } if (webResponse_ instanceof NetworkErrorWebResponse) { if (LOG.isDebugEnabled()) { - LOG.debug("XMLHttpRequest.responseXML returns of an network error (" + LOG.debug("XMLHttpRequest.responseXML returns of a network error (" + ((NetworkErrorWebResponse) webResponse_).getError() + ")"); } return null; Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest2.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest2.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest2.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -228,7 +228,7 @@ } if (webResponse_ instanceof NetworkErrorWebResponse) { if (LOG.isDebugEnabled()) { - LOG.debug("XMLHttpRequest.responseXML returns of an network error (" + LOG.debug("XMLHttpRequest.responseXML returns of a network error (" + ((NetworkErrorWebResponse) webResponse_).getError() + ")"); } return null; Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -232,7 +232,7 @@ } /** - * Converts the specified collection of cookies into an collection of HttpClient cookies. + * Converts the specified collection of cookies into a collection of HttpClient cookies. * @param cookies the cookies to be converted * @return the specified cookies, as HttpClient cookies */ Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/DebuggingWebConnection.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/DebuggingWebConnection.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/DebuggingWebConnection.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -62,7 +62,7 @@ * In this example an overview page will be generated under the name myTest/index.html in the temp directory * and all received responses will be saved into the myTest folder.<br> * <br> - * <em>This class is only intended as an help during the conception.</em> + * <em>This class is only intended as a help during the conception.</em> * * @author Marc Guillemot * @author Ahmed Ashour Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebClient3Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebClient3Test.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebClient3Test.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -309,7 +309,7 @@ } /** - * Ensures, that a window opened by javascript and than filled by an form with target attribute + * Ensures, that a window opened by javascript and than filled by a form with target attribute * is attached to the javascript event loop. * * @throws Exception if an error occurs Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebTestCase.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebTestCase.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebTestCase.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -309,7 +309,7 @@ } /** - * Facility to test external form of an URL. + * Facility to test external form of a URL. * @param expectedUrl the string representation of the expected URL * @param actualUrl the URL to test */ @@ -343,7 +343,7 @@ } /** - * Facility to test external form of an URL. + * Facility to test external form of a URL. * @param message the message to display if assertion fails * @param expectedUrl the string representation of the expected URL * @param actualUrl the URL to test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParser2Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParser2Test.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParser2Test.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -117,7 +117,7 @@ } /** - * This tests for an bug in NekoHTML. + * This tests for a bug in NekoHTML. * @throws Exception on test failure */ @Test @@ -145,7 +145,7 @@ } /** - * This tests for an bug in NekoHTML. + * This tests for a bug in NekoHTML. * @throws Exception on test failure */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParserListenerTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParserListenerTest.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HTMLParserListenerTest.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -172,7 +172,7 @@ } /** - * Test parsing of an fragment. + * Test parsing of a fragment. * @exception Exception If the test fails */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlElementTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlElementTest.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlElementTest.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -55,7 +55,7 @@ } /** - * Test hasAttribute() on an element with the attribute but without an value. + * Test hasAttribute() on an element with the attribute but without a value. * @throws Exception if the test fails */ @Test @@ -121,7 +121,7 @@ } /** - * Test getAttribute() on an element with the attribute but without an value. + * Test getAttribute() on an element with the attribute but without a value. * @throws Exception if the test fails */ @Test @@ -135,7 +135,7 @@ } /** - * Test getAttribute() on an element with the attribute but without an value. + * Test getAttribute() on an element with the attribute but without a value. * @throws Exception if the test fails */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WebSocketTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WebSocketTest.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WebSocketTest.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -245,7 +245,7 @@ for (final Thread thread : Thread.getAllStackTraces().keySet()) { if (thread.getName().contains("WebSocket")) { try { - // ok found one but let's wait a bit an start a second check before + // ok found one but let's wait a bit to start a second check before // pressing the panic button Thread.sleep(400); } Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/Event2Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/Event2Test.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/Event2Test.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -308,7 +308,7 @@ } /** - * Test event order for typing into an password field. + * Test event order for typing into a password field. * @throws Exception if the test fails */ @Test @@ -323,7 +323,7 @@ } /** - * Test event order for typing into an password field. + * Test event order for typing into a password field. * @throws Exception if the test fails */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -181,7 +181,7 @@ } /** - * Verifies that calling document.write() after document parsing has finished results in an whole + * Verifies that calling document.write() after document parsing has finished results in a whole * new page being loaded. * @throws Exception if an error occurs */ Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/ExtJS22Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/ExtJS22Test.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/ExtJS22Test.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -210,7 +210,7 @@ final WebDriver driver = getPage("grid", "binding"); // usually this need 1s but sometimes our build machine is slower - // this is not an performance test, we only like to ensure that all + // this is not a performance test, we only like to ensure that all // functionality is running Thread.sleep(2 * DEFAULT_WAIT_TIME); Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/MooTools121Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/MooTools121Test.java 2017-07-20 08:10:47 UTC (rev 14675) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/MooTools121Test.java 2017-07-20 09:47:37 UTC (rev 14676) @@ -85,7 +85,7 @@ driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS); driver.findElement(By.xpath("id('progress')[text() = '100']")); // usually this need 40s but sometimes our build machine is slower - // this is not an performance test, we only like to ensure that all + // this is not a performance test, we only like to ensure that all // functionality is running final List<WebElement> failed = driver.findElements(By.xpath("//li[@class = 'exception']/h4")); |