Android Studio automatically erases my static imports in Unit tests -
android studio automatically erases static imports. started out creating new tests using robolectric , when used static import import static junit.framework.assert.assertequals;
android-studio automatically removes it. frustrating.
is there settings need set up?
go preferences --> editor --> code style --> java, select "imports" tab.
you can manage imports there see fit. example, have settings in section "packages use import '*'".
Comments
Post a Comment