File tree Expand file tree Collapse file tree
app/src/test/kotlin/com/vrem/wifianalyzer/wifi/band Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class WiFiChannelCountryTest {
3333 val expected = Locale .US
3434 val actual = WiFiChannelCountry .find(expected.country)
3535 assertThat(actual.countryCode).isEqualTo(expected.country)
36- assertThat(actual.countryName(expected)).isEqualTo(expected.displayCountry )
36+ assertThat(actual.countryName(expected)).isEqualTo(expected.getDisplayCountry(expected) )
3737 }
3838
3939 @Test
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ package com.vrem.wifianalyzer.wifi.band
2020import com.vrem.util.EMPTY
2121import com.vrem.wifianalyzer.wifi.model.WiFiWidth
2222import org.assertj.core.api.Assertions.assertThat
23+ import org.junit.Test
2324import org.junit.runner.RunWith
2425import org.junit.runners.Parameterized
2526import org.junit.runners.Parameterized.Parameter
2627import org.junit.runners.Parameterized.Parameters
27- import kotlin.test.Test
2828
2929@RunWith(Parameterized ::class )
3030class WiFiChannelsParameterizedTest {
@@ -166,7 +166,7 @@ class WiFiChannelsParameterizedTest {
166166 @Test
167167 fun availableChannelsUsingWiFiBandAndCountry () {
168168 countries.forEach { country ->
169- assertThat(fixture.availableChannels(wiFiBand, country.countryCode).map { it -> it .channel })
169+ assertThat(fixture.availableChannels(wiFiBand, country.countryCode).map { it.channel })
170170 .describedAs(" Country: ${country.countryCode} " )
171171 .containsExactlyElementsOf(country.channels(wiFiBand))
172172 }
You can’t perform that action at this time.
0 commit comments