Skip to content

Commit 2021fb4

Browse files
update dependencies
1 parent 955a179 commit 2021fb4

File tree

12 files changed

+21
-19
lines changed

12 files changed

+21
-19
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies {
4242
testImplementation 'androidx.test.ext:junit:1.1.4'
4343
testImplementation 'com.googlecode.junit-toolbox:junit-toolbox:2.4'
4444
testImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0'
45-
testImplementation 'io.mockk:mockk:1.13.2'
45+
testImplementation 'io.mockk:mockk:1.13.3'
4646
testImplementation 'junit:junit:4.13.2'
4747
testImplementation 'org.mockito:mockito-core:4.9.0'
4848
testImplementation 'org.robolectric:robolectric:4.9'

app/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Build Properties
2-
#Sat Nov 26 10:10:07 EST 2022
2+
#Sat Dec 10 14:14:00 EST 2022
33
version_minor=0
44
version_store=61
55
version_patch=9
6-
version_build=4
6+
version_build=5
77
version_major=3

app/src/main/kotlin/com/vrem/wifianalyzer/navigation/NavigationMenuController.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ import com.vrem.wifianalyzer.R
2626

2727
@OpenClass
2828
class NavigationMenuController(
29-
navigationMenuControl: NavigationMenuControl,
30-
val navigationView: NavigationView = navigationMenuControl.findViewById(R.id.nav_drawer),
31-
val bottomNavigationView: BottomNavigationView = navigationMenuControl.findViewById(R.id.nav_bottom)) {
29+
navigationMenuControl: NavigationMenuControl,
30+
val navigationView: NavigationView = navigationMenuControl.findViewById(R.id.nav_drawer),
31+
val bottomNavigationView: BottomNavigationView = navigationMenuControl.findViewById(R.id.nav_bottom)
32+
) {
3233

3334
private lateinit var currentNavigationMenu: NavigationMenu
3435

app/src/main/kotlin/com/vrem/wifianalyzer/vendor/VendorFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import com.vrem.wifianalyzer.databinding.VendorContentBinding
2929

3030
class VendorFragment : ListFragment() {
3131

32-
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
32+
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
3333
val binding: VendorContentBinding = VendorContentBinding.inflate(inflater, container, false)
3434
val vendorAdapter = VendorAdapter(requireActivity(), MainContext.INSTANCE.vendorService)
3535
listAdapter = vendorAdapter

app/src/main/kotlin/com/vrem/wifianalyzer/wifi/accesspoint/AccessPointsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AccessPointsFragment : Fragment(), OnRefreshListener {
3333
lateinit var accessPointsAdapter: AccessPointsAdapter
3434
private set
3535

36-
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
36+
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
3737
val binding = AccessPointsContentBinding.inflate(inflater, container, false)
3838
swipeRefreshLayout = binding.accessPointsRefresh
3939
swipeRefreshLayout.setOnRefreshListener(this)

app/src/main/kotlin/com/vrem/wifianalyzer/wifi/channelgraph/ChannelGraphFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ChannelGraphFragment : Fragment(), OnRefreshListener {
3434
lateinit var channelGraphAdapter: ChannelGraphAdapter
3535
private set
3636

37-
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
37+
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
3838
val binding = GraphContentBinding.inflate(inflater, container, false)
3939
swipeRefreshLayout = binding.graphRefresh
4040
swipeRefreshLayout.setOnRefreshListener(this)

app/src/main/kotlin/com/vrem/wifianalyzer/wifi/channelrating/ChannelRatingFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ChannelRatingFragment : Fragment(), OnRefreshListener {
3636
lateinit var channelRatingAdapter: ChannelRatingAdapter
3737
private set
3838

39-
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
39+
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
4040
val binding: ChannelRatingContentBinding = ChannelRatingContentBinding.inflate(inflater, container, false)
4141
swipeRefreshLayout = binding.channelRatingRefresh
4242
swipeRefreshLayout.setOnRefreshListener(this)

app/src/main/kotlin/com/vrem/wifianalyzer/wifi/timegraph/TimeGraphFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class TimeGraphFragment : Fragment(), OnRefreshListener {
3939
lateinit var timeGraphAdapter: TimeGraphAdapter
4040
private set
4141

42-
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
42+
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
4343
val binding = GraphContentBinding.inflate(inflater, container, false)
4444
swipeRefreshLayout = binding.graphRefresh
4545
swipeRefreshLayout.setOnRefreshListener(this)

app/src/test/kotlin/com/vrem/wifianalyzer/wifi/band/WiFiChannelCountryGHZ6Test.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WiFiChannelCountryGHZ6Test {
3838
@Test
3939
fun testChannelsForWorld() {
4040
listOf("GB", "XYZ", "US", "AU", "AE")
41-
.forEach { validateChannels(channelsSet, fixture.findChannels()) }
41+
.forEach { _ -> validateChannels(channelsSet, fixture.findChannels()) }
4242
}
4343

4444
private fun validateChannels(expected: SortedSet<Int>, actual: SortedSet<Int>) {

app/src/test/kotlin/com/vrem/wifianalyzer/wifi/channelgraph/ChannelGraphAdapterTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ChannelGraphAdapterTest {
4949
@Test
5050
fun testGetGraphViewNotifiers() {
5151
// setup
52-
val expected = WiFiBand.values().map { it.wiFiChannels.wiFiChannelPairs().size }.sum()
52+
val expected = WiFiBand.values().sumOf { it.wiFiChannels.wiFiChannelPairs().size }
5353
// execute
5454
val graphViewNotifiers = fixture.graphViewNotifiers()
5555
// validate
@@ -59,7 +59,7 @@ class ChannelGraphAdapterTest {
5959
@Test
6060
fun testGetGraphViews() {
6161
// setup
62-
val expected = WiFiBand.values().map { it.wiFiChannels.wiFiChannelPairs().size }.sum()
62+
val expected = WiFiBand.values().sumOf { it.wiFiChannels.wiFiChannelPairs().size }
6363
// execute
6464
val graphViews = fixture.graphViews()
6565
// validate

0 commit comments

Comments
 (0)