diff --git a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/AssociationDashboardRoboTest.java b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/AssociationDashboardRoboTest.java index 885aaaa..0628bfe 100644 --- a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/AssociationDashboardRoboTest.java +++ b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/AssociationDashboardRoboTest.java @@ -14,7 +14,6 @@ import fr.paris10.projet.assogenda.assogenda.BuildConfig; import fr.paris10.projet.assogenda.assogenda.R; -import fr.paris10.projet.assogenda.assogenda.model.Association; import static org.junit.Assert.*; diff --git a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/LoginActivityRoboTest.java b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/LoginActivityRoboTest.java index 0f18585..64d1899 100644 --- a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/LoginActivityRoboTest.java +++ b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/LoginActivityRoboTest.java @@ -1,9 +1,5 @@ package fr.paris10.projet.assogenda.assogenda.ui.activites; -import android.app.AlertDialog; -import android.app.Dialog; -import android.content.Context; -import android.content.Intent; import android.widget.Button; import android.widget.TextView; @@ -16,16 +12,12 @@ import org.robolectric.RobolectricTestRunner; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Config; -import org.robolectric.shadows.ShadowAlertDialog; import fr.paris10.projet.assogenda.assogenda.BuildConfig; import fr.paris10.projet.assogenda.assogenda.R; -import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.robolectric.Shadows.shadowOf; diff --git a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/MainActivityRoboTest.java b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/MainActivityRoboTest.java index 4967889..a83bbc3 100644 --- a/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/MainActivityRoboTest.java +++ b/app/src/test/java/fr/paris10/projet/assogenda/assogenda/ui/activites/MainActivityRoboTest.java @@ -5,23 +5,18 @@ import com.google.firebase.FirebaseApp; -import org.apache.tools.ant.Main; -import org.hamcrest.core.IsEqual; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import org.robolectric.RuntimeEnvironment; -import org.robolectric.Shadows; import org.robolectric.annotation.Config; -import org.robolectric.shadows.ShadowToast; import fr.paris10.projet.assogenda.assogenda.BuildConfig; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertThat; import static org.robolectric.Shadows.shadowOf; @RunWith(RobolectricTestRunner.class)