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 {
19
19
}
20
20
21
21
dependencies {
22
- testCompile ' junit:junit:4.12'
23
22
compile " com.android.support:appcompat-v7:${ project.ext.support_library_version} "
24
23
compile " com.android.support:recyclerview-v7:${ project.ext.support_library_version} "
25
24
Original file line number Diff line number Diff line change 24
24
/**
25
25
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
26
26
*/
27
- public class ApplicationTest extends ApplicationTestCase <Application > {
27
+ public class DatabaseTest extends ApplicationTestCase <Application > {
28
28
29
29
private static final String APP_NAME = "firebaseui-tests" ;
30
30
31
- public ApplicationTest () {
31
+ public DatabaseTest () {
32
32
super (Application .class );
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public boolean isBool() {
68
68
69
69
@ Before
70
70
public void setUp () throws Exception {
71
- FirebaseApp app = ApplicationTest .getAppInstance (getContext ());
71
+ FirebaseApp app = DatabaseTest .getAppInstance (getContext ());
72
72
mRef = FirebaseDatabase .getInstance (app ).getReference ()
73
73
.child ("firebasearray" ).child ("objects" );
74
74
mArray = new FirebaseArray (mRef );
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class FirebaseArrayTest extends AndroidTestCase {
37
37
38
38
@ Before
39
39
public void setUp () throws Exception {
40
- FirebaseApp app = ApplicationTest .getAppInstance (getContext ());
40
+ FirebaseApp app = DatabaseTest .getAppInstance (getContext ());
41
41
mRef = FirebaseDatabase .getInstance (app ).getReference ().child ("firebasearray" );
42
42
mArray = new FirebaseArray (mRef );
43
43
mRef .removeValue ();
You can’t perform that action at this time.
0 commit comments