A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/31190f8edd801a2ead8ba3d49982cbdbc838885d below:

[java] fix aliases for windows 7 and vista platform name · SeleniumHQ/selenium@31190f8 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+3

-3

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+3

-3

lines changed Original file line number Diff line number Diff line change

@@ -58,7 +58,7 @@ public String toString() {

58 58

/**

59 59

* For versions of Windows that "feel like" Windows Vista.

60 60

*/

61 -

VISTA("windows 7", "win7") {

61 +

VISTA("windows vista", "Windows Server 2008") {

62 62

@Override

63 63

public Platform family() {

64 64

return WINDOWS;

Original file line number Diff line number Diff line change

@@ -100,7 +100,7 @@ public void testShouldIdentifyXPVariants() {

100 100 101 101

@Test

102 102

public void testShouldIdentifyVistaVariants() {

103 -

assertAllAre(Platform.VISTA, "Windows Vista", "windows server 2008", "Windows 7", "win7");

103 +

assertAllAre(Platform.VISTA, "Windows Vista", "windows server 2008");

104 104

}

105 105 106 106

@Test

Original file line number Diff line number Diff line change

@@ -94,7 +94,7 @@ public void testExtractDebugLogLevelFromCapabilityMap() {

94 94

@Test

95 95

public void shouldAutomaticallyConvertPlatformFromStringToEnum() {

96 96

DesiredCapabilities caps = new DesiredCapabilities();

97 -

caps.setCapability(CapabilityType.PLATFORM_NAME, "windows 7");

97 +

caps.setCapability(CapabilityType.PLATFORM_NAME, "Windows Server 2008");

98 98

assertThat(caps.getCapability(CapabilityType.PLATFORM_NAME)).isEqualTo(Platform.VISTA);

99 99

caps.setCapability(CapabilityType.PLATFORM_NAME, "win8.1");

100 100

assertThat(caps.getCapability(CapabilityType.PLATFORM_NAME)).isEqualTo(Platform.WIN8_1);

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4