File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
library/src/test/java/com/firebase/ui/database Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ android {
1919}
2020
2121dependencies {
22- testCompile ' junit:junit:4.12'
2322 compile " com.android.support:appcompat-v7:${ project.ext.support_library_version} "
2423 compile " com.android.support:recyclerview-v7:${ project.ext.support_library_version} "
2524
Original file line number Diff line number Diff line change 2424/**
2525 * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
2626 */
27- public class ApplicationTest extends ApplicationTestCase <Application > {
27+ public class DatabaseTest extends ApplicationTestCase <Application > {
2828
2929 private static final String APP_NAME = "firebaseui-tests" ;
3030
31- public ApplicationTest () {
31+ public DatabaseTest () {
3232 super (Application .class );
3333 }
3434
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public boolean isBool() {
6868
6969 @ Before
7070 public void setUp () throws Exception {
71- FirebaseApp app = ApplicationTest .getAppInstance (getContext ());
71+ FirebaseApp app = DatabaseTest .getAppInstance (getContext ());
7272 mRef = FirebaseDatabase .getInstance (app ).getReference ()
7373 .child ("firebasearray" ).child ("objects" );
7474 mArray = new FirebaseArray (mRef );
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class FirebaseArrayTest extends AndroidTestCase {
3737
3838 @ Before
3939 public void setUp () throws Exception {
40- FirebaseApp app = ApplicationTest .getAppInstance (getContext ());
40+ FirebaseApp app = DatabaseTest .getAppInstance (getContext ());
4141 mRef = FirebaseDatabase .getInstance (app ).getReference ().child ("firebasearray" );
4242 mArray = new FirebaseArray (mRef );
4343 mRef .removeValue ();
You can’t perform that action at this time.
0 commit comments