ColorUtilsTest.java |
|
1325 |
MockitoHelpers.kt |
Matches anything that is non-null: use this when [Mockito.any] crashes.
A normal [Mockito.any] is a nullable type, so this allows us to test non-null
code.
Taken from https://medium.com/@elye.project/befriending-kotlin-and-mockito-1c2e7b0ef791
|
814 |
PreventLiveDataMainLooperCrashRule.kt |
This rule prevents a crash when unit testing [LiveData].
Internally, [LiveData] adds some runnables to the main Android event loop,
which does not exist on the JVM. With this rule active, these are run
immediately instead.
See: https://medium.com/pxhouse/unit-testing-with-mutablelivedata-22b3283a7819
|
750 |
publicsuffix |
|
|
SupportUtilsTest.java |
Super simple sumo URL test - it exists primarily to verify that we're setting the language
and page tags correctly. appVersion is null in tests, so we just test that there's a null there,
which doesn't seem too useful...
|
1989 |
TestFormattedDomain.java |
");
/**
Returns true if {@link URI#getPath()} is not empty, false otherwise where empty means the given path contains
characters other than "/".
This is necessary because the URI method will return "/" for "http://google.com/".
|
11644 |
UrlUtilsTest.kt |
|
9720 |