File tree 2 files changed +4
-3
lines changed
java/client/test/org/openqa/selenium/firefox
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ LARGE_TESTS = [
8
8
]
9
9
10
10
java_test_suite (
11
- name = "medium -tests" ,
12
- size = "medium " ,
11
+ name = "small -tests" ,
12
+ size = "small " ,
13
13
srcs = glob (
14
14
["*.java" ],
15
15
exclude = LARGE_TESTS ,
Original file line number Diff line number Diff line change 22
22
import static java .util .Collections .singleton ;
23
23
import static org .assertj .core .api .Assertions .assertThat ;
24
24
import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
25
+ import static org .assertj .core .api .Assertions .assertThatNoException ;
25
26
import static org .assertj .core .api .Assumptions .assumeThat ;
26
27
import static org .assertj .core .api .InstanceOfAssertFactories .LIST ;
27
28
import static org .assertj .core .api .InstanceOfAssertFactories .MAP ;
@@ -261,7 +262,7 @@ public void shouldThrowAnExceptionIfSystemPropertyProfileDoesNotExist() {
261
262
public void callingToStringWhenTheBinaryDoesNotExistShouldNotCauseAnException () {
262
263
FirefoxOptions options =
263
264
new FirefoxOptions ().setBinary ("there's nothing better in life than cake or peas." );
264
- options . toString ( );
265
+ assertThatNoException (). isThrownBy ( options :: toString );
265
266
// The binary does not exist on this machine, but could do elsewhere. Be chill.
266
267
}
267
268
You can’t perform that action at this time.
0 commit comments