Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Commit 122f76c

Browse files
committed
fix style issues
1 parent d79900e commit 122f76c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/androidTest/java/androidx/core/widget/AdapterViewTest.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ import android.widget.ListView
2626
import android.widget.Spinner
2727
import androidx.core.view.get
2828
import androidx.testutils.assertThrows
29-
import org.junit.Assert.*
29+
import org.junit.Assert.assertEquals
30+
import org.junit.Assert.assertFalse
31+
import org.junit.Assert.assertNull
32+
import org.junit.Assert.assertTrue
3033
import org.junit.Before
3134
import org.junit.Test
3235
import java.lang.ClassCastException
@@ -75,7 +78,6 @@ class AdapterViewTest {
7578
adapterView.performItemClick(null, 1, INVALID_ROW_ID)
7679
}
7780

78-
7981
@Test(expected = RuntimeException::class)
8082
fun onItemClickRuntimeExceptionWithSpinner() {
8183
spinner.onItemClick { _: Any? -> }
@@ -188,6 +190,8 @@ class AdapterViewTest {
188190
private const val LAYOUT_WIDTH = 200
189191
private const val LAYOUT_HEIGHT = 200
190192

193+
class WrongClass
194+
191195
/**
192196
* Reflection used to shortcut trigger selection via AdapterView#fireOnSelected()
193197
*
@@ -209,8 +213,5 @@ class AdapterViewTest {
209213
throw e.targetException
210214
}
211215
}
212-
213-
class WrongClass
214-
215216
}
216217
}

0 commit comments

Comments
 (0)