File tree Expand file tree Collapse file tree
ActiveAndroid/src/androidTest/java/de/greenrobot/performance/activeandroid
src/androidTest/java/de/greenrobot/performance/cupboard
src/androidTest/java/de/greenrobot/performance/firebase
src/androidTest/java/de/greenrobot/performance/parse
androidTest/java/de/greenrobot/performance/realm
main/java/de/greenrobot/performance/realm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import java .util .List ;
1313
1414/**
15+ * Note: looks like development has ceased. Last commit on 2014-10-07.
16+ *
1517 * https://github.com/pardom/ActiveAndroid/wiki/Getting-started
1618 */
17- public class PerformanceTestActiveAndroid extends BasePerfTestCase {
19+ public class PerfTestActiveAndroid extends BasePerfTestCase {
1820
1921 private static final String DATABASE_NAME = "active-android.db" ;
2022
2123 @ Override
2224 protected String getLogTag () {
23- return "PerfTestActiveAndroid" ;
25+ return getClass (). getSimpleName () ;
2426 }
2527
2628 @ Override
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ android {
2121
2222dependencies {
2323 androidTestCompile project(' :Common' )
24- androidTestCompile ' nl.qbusict:cupboard:2.1.2 '
24+ androidTestCompile ' nl.qbusict:cupboard:2.1.4 '
2525}
Original file line number Diff line number Diff line change 1414import nl .qbusict .cupboard .DatabaseCompartment ;
1515
1616/**
17- * https://bitbucket.org/qbusict /cupboard/wiki/GettingStarted
17+ * https://bitbucket.org/littlerobots /cupboard/wiki/GettingStarted
1818 */
19- public class PerformanceTestCupboard extends BasePerfTestCase {
19+ public class PerfTestCupboard extends BasePerfTestCase {
2020
2121 private static final String DATABASE_NAME = "cupboard.db" ;
2222 private static final int DATABASE_VERSION = 1 ;
@@ -25,7 +25,7 @@ public class PerformanceTestCupboard extends BasePerfTestCase {
2525
2626 @ Override
2727 protected String getLogTag () {
28- return "PerfTestCupboard" ;
28+ return getClass (). getSimpleName () ;
2929 }
3030
3131 @ Override
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ android {
2727
2828dependencies {
2929 androidTestCompile project(' :Common' )
30- androidTestCompile ' com.firebase:firebase-client-android:2.3 .1'
30+ androidTestCompile ' com.firebase:firebase-client-android:2.5 .1'
3131}
Original file line number Diff line number Diff line change 2626 *
2727 * https://www.firebase.com/docs/android/guide/
2828 */
29- public class PerformanceTestFirebase extends BasePerfTestCase {
29+ public class PerfTestFirebase extends BasePerfTestCase {
3030
3131 private Firebase rootFirebaseRef ;
3232 private List <SimpleEntityNotNull > reloaded ;
3333
3434 @ Override
3535 protected String getLogTag () {
36- return "PerfTestFirebase" ;
36+ return getClass (). getSimpleName () ;
3737 }
3838
3939 @ Override
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ android {
2828
2929dependencies {
3030 androidTestCompile project(' :Common' )
31- compile ' com.parse.bolts:bolts-android:1.2.1'
32- compile ' com.parse:parse-android:1.10.2'
31+ compile ' com.parse:parse-android:1.13.0'
3332}
3433
Original file line number Diff line number Diff line change 1515/**
1616 * https://parse.com/docs/android/guide
1717 */
18- public class PerformanceTestParse extends BasePerfTestCase {
18+ public class PerfTestParse extends BasePerfTestCase {
1919
2020 // reduced query count due to slow performance
2121 private static final int QUERY_COUNT = 100 ;
2222
2323 @ Override
2424 protected String getLogTag () {
25- return "PerfTestParse" ;
25+ return getClass (). getSimpleName () ;
2626 }
2727
2828 @ Override
Original file line number Diff line number Diff line change 11buildscript {
22 dependencies {
33 classpath dep. androidPlugin
4+ classpath ' com.neenbedankt.gradle.plugins:android-apt:1.8'
5+ classpath ' io.realm:realm-gradle-plugin:0.88.0'
46 }
57}
68
79apply plugin : ' com.android.application'
10+ apply plugin : ' com.neenbedankt.android-apt'
11+ apply plugin : ' realm-android'
812
913android {
1014 buildToolsVersion rootProject. ext. buildToolsVersion
1115 compileSdkVersion rootProject. ext. compileSdkVersion
1216
1317 defaultConfig {
1418 applicationId ' de.greenrobot.performance.realm'
15- minSdkVersion rootProject . ext . minSdkVersion
19+ minSdkVersion 9
1620 targetSdkVersion rootProject. ext. targetSdkVersion
1721
1822 testInstrumentationRunner ' android.test.InstrumentationTestRunner'
@@ -21,5 +25,4 @@ android {
2125
2226dependencies {
2327 androidTestCompile project(' :Common' )
24- androidTestCompile ' io.realm:realm-android:0.82.2'
2528}
Original file line number Diff line number Diff line change 1515/**
1616 * https://realm.io/docs/java/latest/ https://github.com/realm/realm-java/
1717 */
18- public class PerformanceTestRealm extends BasePerfTestCase {
18+ public class PerfTestRealm extends BasePerfTestCase {
1919
2020 private boolean inMemory = false ;
2121
2222 private Realm realm ;
2323
2424 @ Override
2525 protected String getLogTag () {
26- return "PerfTestRealm" ;
26+ return getClass (). getSimpleName () ;
2727 }
2828
2929 @ Override
File renamed without changes.
You can’t perform that action at this time.
0 commit comments