Yes, you're right I wrote bad unit tests 😉I updated im my repo with better 
unit tests: 
https://github.com/lofidewanto/jsinterop-simple-example/blob/master/src/test/java/com/github/lofi/CalculatorTest.java

Thanks!

[email protected] schrieb am Donnerstag, 1. Oktober 2020 um 16:02:02 
UTC+2:

> Am Mi., 30. Sept. 2020 um 22:48 Uhr schrieb [email protected] <
> [email protected]>:
>
>>
>> The check on page 42 is about the "values", so the input param 😉
>>
>>
> The null check assumes that "values" can be null. If it is null you will 
> get a NullPointerException before this check takes place because of the 
> call Arrays.asList(). Simply putting the first statement in the if-body 
> will solve the problem.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/6fa92f4a-8c98-4fe1-b25c-2338dcb6ae28n%40googlegroups.com.

Reply via email to