From: <rb...@us...> - 2017-08-04 06:26:40
|
Revision: 14761 http://sourceforge.net/p/htmlunit/code/14761 Author: rbri Date: 2017-08-04 06:26:38 +0000 (Fri, 04 Aug 2017) Log Message: ----------- split Modified Paths: -------------- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java Added Paths: ----------- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfFTest.java 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-08-04 06:14:26 UTC (rev 14760) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfDTest.java 2017-08-04 06:26:38 UTC (rev 14761) @@ -31,7 +31,7 @@ /** * Tests two Host classes, if one prototype is parent of another. * - * This class handles all host names which starts by character 'D' to 'G'. + * This class handles all host names which starts by character 'D' to 'E'. * * @author Ahmed Ashour */ @@ -47,7 +47,7 @@ public static Collection<Object[]> data() throws Exception { return HostParentOf.data(input -> { final char ch = Character.toUpperCase(input.charAt(0)); - return ch >= 'D' && ch <= 'G'; + return ch >= 'D' && ch <= 'E'; }); } @@ -5183,197 +5183,4 @@ test("External", "External"); } - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - CHROME = "true") - public void _FederatedCredential_FederatedCredential() throws Exception { - test("FederatedCredential", "FederatedCredential"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _File_File() throws Exception { - test("File", "File"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _FileList_FileList() throws Exception { - test("FileList", "FileList"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _FileReader_FileReader() throws Exception { - test("FileReader", "FileReader"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF52 = "true") - public void _FileSystem_FileSystem() throws Exception { - test("FileSystem", "FileSystem"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF52 = "true") - public void _FileSystemDirectoryEntry_FileSystemDirectoryEntry() throws Exception { - test("FileSystemDirectoryEntry", "FileSystemDirectoryEntry"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF52 = "true") - public void _FileSystemDirectoryReader_FileSystemDirectoryReader() throws Exception { - test("FileSystemDirectoryReader", "FileSystemDirectoryReader"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF52 = "true") - public void _FileSystemEntry_FileSystemEntry() throws Exception { - test("FileSystemEntry", "FileSystemEntry"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF52 = "true") - public void _FileSystemFileEntry_FileSystemFileEntry() throws Exception { - test("FileSystemFileEntry", "FileSystemFileEntry"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _Float32Array_Float32Array() throws Exception { - test("Float32Array", "Float32Array"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _Float64Array_Float64Array() throws Exception { - test("Float64Array", "Float64Array"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _FocusEvent_FocusEvent() throws Exception { - test("FocusEvent", "FocusEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "true", - IE = "false") - public void _FontFace_FontFace() throws Exception { - test("FontFace", "FontFace"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - FF = "true") - public void _FontFaceSet_FontFaceSet() throws Exception { - test("FontFaceSet", "FontFaceSet"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts("true") - public void _FormData_FormData() throws Exception { - test("FormData", "FormData"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "true", - IE = "false") - public void _GainNode_GainNode() throws Exception { - test("GainNode", "GainNode"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "true", - IE = "false") - public void _Gamepad_Gamepad() throws Exception { - test("Gamepad", "Gamepad"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "true", - IE = "false") - public void _GamepadButton_GamepadButton() throws Exception { - test("GamepadButton", "GamepadButton"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "true", - IE = "false") - public void _GamepadEvent_GamepadEvent() throws Exception { - test("GamepadEvent", "GamepadEvent"); - } - - /** - * @throws Exception if the test fails - */ - @Test - @Alerts(DEFAULT = "false", - IE = "true") - public void _Geolocation_Geolocation() throws Exception { - test("Geolocation", "Geolocation"); - } - } Added: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfFTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfFTest.java (rev 0) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfFTest.java 2017-08-04 06:26:38 UTC (rev 14761) @@ -0,0 +1,242 @@ +/* + * Copyright (c) 2002-2017 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.gargoylesoftware.htmlunit.general.huge; + +import java.util.Collection; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized.Parameters; + +import com.gargoylesoftware.htmlunit.BrowserParameterizedRunner; +import com.gargoylesoftware.htmlunit.BrowserRunner.Alerts; + +/** + * Tests two Host classes, if one prototype is parent of another. + * + * This class handles all host names which starts by character 'F' to 'G'. + * + * @author Ahmed Ashour + */ +@RunWith(BrowserParameterizedRunner.class) +public class HostParentOfFTest extends HostParentOf { + + /** + * Returns the parameterized data. + * @return the parameterized data + * @throws Exception if an error occurs + */ + @Parameters + public static Collection<Object[]> data() throws Exception { + return HostParentOf.data(input -> { + final char ch = Character.toUpperCase(input.charAt(0)); + return ch >= 'F' && ch <= 'G'; + }); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + CHROME = "true") + public void _FederatedCredential_FederatedCredential() throws Exception { + test("FederatedCredential", "FederatedCredential"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _File_File() throws Exception { + test("File", "File"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _FileList_FileList() throws Exception { + test("FileList", "FileList"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _FileReader_FileReader() throws Exception { + test("FileReader", "FileReader"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF52 = "true") + public void _FileSystem_FileSystem() throws Exception { + test("FileSystem", "FileSystem"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF52 = "true") + public void _FileSystemDirectoryEntry_FileSystemDirectoryEntry() throws Exception { + test("FileSystemDirectoryEntry", "FileSystemDirectoryEntry"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF52 = "true") + public void _FileSystemDirectoryReader_FileSystemDirectoryReader() throws Exception { + test("FileSystemDirectoryReader", "FileSystemDirectoryReader"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF52 = "true") + public void _FileSystemEntry_FileSystemEntry() throws Exception { + test("FileSystemEntry", "FileSystemEntry"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF52 = "true") + public void _FileSystemFileEntry_FileSystemFileEntry() throws Exception { + test("FileSystemFileEntry", "FileSystemFileEntry"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _Float32Array_Float32Array() throws Exception { + test("Float32Array", "Float32Array"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _Float64Array_Float64Array() throws Exception { + test("Float64Array", "Float64Array"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _FocusEvent_FocusEvent() throws Exception { + test("FocusEvent", "FocusEvent"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "true", + IE = "false") + public void _FontFace_FontFace() throws Exception { + test("FontFace", "FontFace"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + FF = "true") + public void _FontFaceSet_FontFaceSet() throws Exception { + test("FontFaceSet", "FontFaceSet"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void _FormData_FormData() throws Exception { + test("FormData", "FormData"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "true", + IE = "false") + public void _GainNode_GainNode() throws Exception { + test("GainNode", "GainNode"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "true", + IE = "false") + public void _Gamepad_Gamepad() throws Exception { + test("Gamepad", "Gamepad"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "true", + IE = "false") + public void _GamepadButton_GamepadButton() throws Exception { + test("GamepadButton", "GamepadButton"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "true", + IE = "false") + public void _GamepadEvent_GamepadEvent() throws Exception { + test("GamepadEvent", "GamepadEvent"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "false", + IE = "true") + public void _Geolocation_Geolocation() throws Exception { + test("Geolocation", "Geolocation"); + } + +} Property changes on: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/huge/HostParentOfFTest.java ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property |