File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
main/java/com/browserstack/local
test/java/com/browserstack/local Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ public Local() {
23
23
parameters = new HashMap <String , String >();
24
24
parameters .put ("v" , "-vvv" );
25
25
parameters .put ("f" , "-f" );
26
- parameters .put ("h" , "-h" );
27
- parameters .put ("version" , "-version" );
28
26
parameters .put ("force" , "-force" );
29
27
parameters .put ("only" , "-only" );
30
28
parameters .put ("forcelocal" , "-forcelocal" );
@@ -34,6 +32,7 @@ public Local() {
34
32
parameters .put ("proxyPort" , "-proxyPort" );
35
33
parameters .put ("proxyUser" , "-proxyUser" );
36
34
parameters .put ("proxyPass" , "-proxyPass" );
35
+ parameters .put ("forceproxy" , "-forceproxy" );
37
36
parameters .put ("hosts" , "-hosts" );
38
37
}
39
38
Original file line number Diff line number Diff line change @@ -89,6 +89,14 @@ public void testEnableForceLocal() throws Exception {
89
89
assertTrue (l .command .contains ("-forcelocal" ));
90
90
}
91
91
92
+ @ Test
93
+ public void testEnableForceProxy () throws Exception {
94
+ options .put ("forceproxy" , "" );
95
+ options .put ("onlyCommand" , "true" );
96
+ l .start (options );
97
+ assertTrue (l .command .contains ("-forceproxy" ));
98
+ }
99
+
92
100
@ Test
93
101
public void testSetLocalIdentifier () throws Exception {
94
102
options .put ("localIdentifier" , "abcdef" );
You can’t perform that action at this time.
0 commit comments