Skip to content

Parse query pager adapter #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ gen-external-apklibs
# Gradle
.gradle
build
ParseUI-Widget/._src
ParseUI-Widget/src/._androidTest
ParseUI-Widget/src/._main
ParseUI-Widget/src/androidTest/._AndroidManifest.xml
ParseUI-Widget/src/androidTest/._java
ParseUI-Widget/src/androidTest/._res
ParseUI-Widget/src/androidTest/res/._drawable
ParseUI-Widget/src/androidTest/res/._layout
ParseUI-Widget/src/main/._AndroidManifest.xml
ParseUI-Widget/src/main/._java
3 changes: 2 additions & 1 deletion ParseUI-Widget/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ group = 'com.parse'

dependencies {
compile 'com.parse:parse-android:1.10.3'
compile 'com.android.support:support-v13:21.0.3'

androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
Expand All @@ -39,7 +40,7 @@ android {
buildToolsVersion "21.1.1"

defaultConfig {
minSdkVersion 9
minSdkVersion 13
targetSdkVersion 21
versionName project.version
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.parse;

/**
* Modified by Pablo Baxter (Github: soaboz)
*/
public class ParseQueryPagerAdapterOfflineEnabledTest extends ParseQueryPagerAdapterTest {
@Override
public void setUp() throws Exception {
super.setUp();
Parse.enableLocalDatastore(null);
}

@Override
public void tearDown() throws Exception {
Parse.disableLocalDatastore();
super.tearDown();
}

@Override
public void testLoadObjectsWithCacheThenNetworkQueryAndPagination() throws Exception {
// Do nothing, there is no cache policy when LDS is enabled.
}
}
Loading