From: <rb...@us...> - 2017-03-18 10:46:08
|
Revision: 13816 http://sourceforge.net/p/htmlunit/code/13816 Author: rbri Date: 2017-03-18 10:46:05 +0000 (Sat, 18 Mar 2017) Log Message: ----------- re-tested and fixed for latest chrome; code cleanup Modified Paths: -------------- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfATest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfHTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfITest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfMTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfPTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfSTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfWTest.java Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfATest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfATest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfATest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -386,15 +386,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _AudioContext_webkitAudioContext() throws Exception { - test("AudioContext", "webkitAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "true", IE = "false") public void _AudioDestinationNode_AudioDestinationNode() throws Exception { @@ -1122,15 +1113,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _AutocompleteErrorEvent_AutocompleteErrorEvent() throws Exception { - test("AutocompleteErrorEvent", "AutocompleteErrorEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _ApplicationCacheErrorEvent_ApplicationCacheErrorEvent() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -562,15 +562,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _Element_HTMLKeygenElement() throws Exception { - test("Element", "HTMLKeygenElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _Element_HTMLLIElement() throws Exception { test("Element", "HTMLLIElement"); @@ -1082,15 +1073,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _Element_SVGCursorElement() throws Exception { - test("Element", "SVGCursorElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _Element_SVGDefsElement() throws Exception { test("Element", "SVGDefsElement"); @@ -2408,15 +2390,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _EventTarget_HTMLKeygenElement() throws Exception { - test("EventTarget", "HTMLKeygenElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "true", IE = "false") public void _EventTarget_HTMLLIElement() throws Exception { @@ -3007,15 +2980,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _EventTarget_SVGCursorElement() throws Exception { - test("EventTarget", "SVGCursorElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "true", IE = "false") public void _EventTarget_SVGDefsElement() throws Exception { @@ -4168,15 +4132,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _DOMError_FileError() throws Exception { - test("DOMError", "FileError"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _DOMStringList_DOMStringList() throws Exception { test("DOMStringList", "DOMStringList"); @@ -4245,15 +4200,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _FileError_FileError() throws Exception { - test("FileError", "FileError"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _FileList_FileList() throws Exception { test("FileList", "FileList"); @@ -4739,15 +4685,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _Event_AutocompleteErrorEvent() throws Exception { - test("Event", "AutocompleteErrorEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "true", CHROME = "false") public void _Event_SVGZoomEvent() throws Exception { @@ -5007,15 +4944,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _Event_ServiceWorkerMessageEvent() throws Exception { - test("Event", "ServiceWorkerMessageEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _Event_BeforeInstallPromptEvent() throws Exception { @@ -5036,42 +4964,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _EventTarget_webkitAudioContext() throws Exception { - test("EventTarget", "webkitAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("false") - public void _EventTarget_webkitIDBDatabase() throws Exception { - test("EventTarget", "webkitIDBDatabase"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("false") - public void _EventTarget_webkitIDBRequest() throws Exception { - test("EventTarget", "webkitIDBRequest"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("false") - public void _EventTarget_webkitIDBTransaction() throws Exception { - test("EventTarget", "webkitIDBTransaction"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _EventTarget_webkitMediaStream() throws Exception { @@ -5082,15 +4974,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _EventTarget_webkitOfflineAudioContext() throws Exception { - test("EventTarget", "webkitOfflineAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _Event_WebKitTransitionEvent() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfHTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfHTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfHTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -464,15 +464,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _HTMLKeygenElement_HTMLKeygenElement() throws Exception { - test("HTMLKeygenElement", "HTMLKeygenElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _HTMLLIElement_HTMLLIElement() throws Exception { test("HTMLLIElement", "HTMLLIElement"); @@ -1214,15 +1205,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _HTMLElement_HTMLKeygenElement() throws Exception { - test("HTMLElement", "HTMLKeygenElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _HTMLElement_HTMLLIElement() throws Exception { test("HTMLElement", "HTMLLIElement"); Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfITest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfITest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfITest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -14,8 +14,6 @@ */ package com.gargoylesoftware.htmlunit.general.huge; -import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.FF; - import java.util.Collection; import org.junit.Test; @@ -24,7 +22,6 @@ import com.gargoylesoftware.htmlunit.BrowserParameterizedRunner; import com.gargoylesoftware.htmlunit.BrowserRunner.Alerts; -import com.gargoylesoftware.htmlunit.BrowserRunner.NotYetImplemented; /** * Tests two Host classes, if one prototype is parent of another. @@ -297,97 +294,6 @@ } /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBCursor_webkitIDBCursor() throws Exception { - test("IDBCursor", "webkitIDBCursor"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBDatabase_webkitIDBDatabase() throws Exception { - test("IDBDatabase", "webkitIDBDatabase"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBFactory_webkitIDBFactory() throws Exception { - test("IDBFactory", "webkitIDBFactory"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBIndex_webkitIDBIndex() throws Exception { - test("IDBIndex", "webkitIDBIndex"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBKeyRange_webkitIDBKeyRange() throws Exception { - test("IDBKeyRange", "webkitIDBKeyRange"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBObjectStore_webkitIDBObjectStore() throws Exception { - test("IDBObjectStore", "webkitIDBObjectStore"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBRequest_webkitIDBRequest() throws Exception { - test("IDBRequest", "webkitIDBRequest"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - public void _IDBTransaction_webkitIDBTransaction() throws Exception { - test("IDBTransaction", "webkitIDBTransaction"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test - @Alerts("false") - @NotYetImplemented(FF) - public void _InstallTrigger_InstallTrigger() throws Exception { - test("InstallTrigger", "InstallTrigger"); - } - - /** * @throws Exception if the test fails */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfMTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfMTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfMTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -674,16 +674,6 @@ * if the test fails */ @Test - @Alerts("false") - public void _Node_HTMLKeygenElement() throws Exception { - test("Node", "HTMLKeygenElement"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test @Alerts("true") public void _Node_HTMLLIElement() throws Exception { test("Node", "HTMLLIElement"); @@ -1227,16 +1217,6 @@ * if the test fails */ @Test - @Alerts("false") - public void _Node_SVGCursorElement() throws Exception { - test("Node", "SVGCursorElement"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test @Alerts("true") public void _Node_SVGDefsElement() throws Exception { test("Node", "SVGDefsElement"); @@ -2565,16 +2545,6 @@ * if the test fails */ @Test - @Alerts("false") - public void _OfflineAudioContext_webkitOfflineAudioContext() throws Exception { - test("OfflineAudioContext", "webkitOfflineAudioContext"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test @Alerts(DEFAULT = "false", FF = "true") public void _MozPowerManager_MozPowerManager() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfPTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfPTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfPTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -483,16 +483,6 @@ * if the test fails */ @Test - @Alerts("false") - public void _ReadableByteStream_ReadableByteStream() throws Exception { - test("ReadableByteStream", "ReadableByteStream"); - } - - /** - * @throws Exception - * if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _ReadableStream_ReadableStream() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfSTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfSTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfSTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -171,15 +171,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _SVGCursorElement_SVGCursorElement() throws Exception { - test("SVGCursorElement", "SVGCursorElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _SVGDefsElement_SVGDefsElement() throws Exception { test("SVGDefsElement", "SVGDefsElement"); @@ -855,15 +846,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _SVGElement_SVGCursorElement() throws Exception { - test("SVGElement", "SVGCursorElement"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts("true") public void _SVGElement_SVGDefsElement() throws Exception { test("SVGElement", "SVGDefsElement"); @@ -2738,15 +2720,6 @@ * @throws Exception if the test fails */ @Test - @Alerts("false") - public void _ServiceWorkerMessageEvent_ServiceWorkerMessageEvent() throws Exception { - test("ServiceWorkerMessageEvent", "ServiceWorkerMessageEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test @Alerts(DEFAULT = "false", CHROME = "true") public void _SyncManager_SyncManager() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfWTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfWTest.java 2017-03-18 08:38:28 UTC (rev 13815) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfWTest.java 2017-03-18 10:46:05 UTC (rev 13816) @@ -429,227 +429,7 @@ @Test @Alerts(DEFAULT = "false", CHROME = "true") - public void _webkitAudioContext_AudioContext() throws Exception { - test("webkitAudioContext", "AudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("false") @NotYetImplemented(CHROME) - public void _webkitAudioContext_OfflineAudioContext() throws Exception { - test("webkitAudioContext", "OfflineAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitAudioContext_webkitAudioContext() throws Exception { - test("webkitAudioContext", "webkitAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("false") - @NotYetImplemented(CHROME) - public void _webkitAudioContext_webkitOfflineAudioContext() throws Exception { - test("webkitAudioContext", "OfflineAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBCursor_IDBCursor() throws Exception { - test("webkitIDBCursor", "IDBCursor"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBCursor_IDBCursorWithValue() throws Exception { - test("webkitIDBCursor", "IDBCursorWithValue"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBCursor_webkitIDBCursor() throws Exception { - test("webkitIDBCursor", "webkitIDBCursor"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBDatabase_IDBDatabase() throws Exception { - test("webkitIDBDatabase", "IDBDatabase"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBDatabase_webkitIDBDatabase() throws Exception { - test("webkitIDBDatabase", "webkitIDBDatabase"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBFactory_IDBFactory() throws Exception { - test("webkitIDBFactory", "IDBFactory"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBFactory_webkitIDBFactory() throws Exception { - test("webkitIDBFactory", "webkitIDBFactory"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBIndex_IDBIndex() throws Exception { - test("webkitIDBIndex", "IDBIndex"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBIndex_webkitIDBIndex() throws Exception { - test("webkitIDBIndex", "webkitIDBIndex"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBKeyRange_IDBKeyRange() throws Exception { - test("webkitIDBKeyRange", "IDBKeyRange"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBKeyRange_webkitIDBKeyRange() throws Exception { - test("webkitIDBKeyRange", "webkitIDBKeyRange"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBObjectStore_IDBObjectStore() throws Exception { - test("webkitIDBObjectStore", "IDBObjectStore"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBObjectStore_webkitIDBObjectStore() throws Exception { - test("webkitIDBObjectStore", "webkitIDBObjectStore"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBRequest_IDBOpenDBRequest() throws Exception { - test("webkitIDBRequest", "IDBOpenDBRequest"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBRequest_IDBRequest() throws Exception { - test("webkitIDBRequest", "IDBRequest"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBRequest_webkitIDBRequest() throws Exception { - test("webkitIDBRequest", "webkitIDBRequest"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBTransaction_IDBTransaction() throws Exception { - test("webkitIDBTransaction", "IDBTransaction"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitIDBTransaction_webkitIDBTransaction() throws Exception { - test("webkitIDBTransaction", "webkitIDBTransaction"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - @NotYetImplemented(CHROME) public void _webkitMediaStream_MediaStream() throws Exception { test("webkitMediaStream", "MediaStream"); } @@ -670,26 +450,6 @@ @Test @Alerts(DEFAULT = "false", CHROME = "true") - public void _webkitOfflineAudioContext_OfflineAudioContext() throws Exception { - test("webkitOfflineAudioContext", "OfflineAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _webkitOfflineAudioContext_webkitOfflineAudioContext() throws Exception { - test("webkitOfflineAudioContext", "webkitOfflineAudioContext"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") public void _webkitSpeechGrammarList_webkitSpeechGrammarList() throws Exception { test("webkitSpeechGrammarList", "webkitSpeechGrammarList"); } |