Skip to content

Commit e528777

Browse files
authored
Use release version of Sync when testing (#5358)
1 parent 68d1bf8 commit e528777

6 files changed

Lines changed: 2 additions & 8 deletions

File tree

realm/realm-library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ext.coreDir = file(project.coreSourcePath ?
3737
ext.ccachePath = project.findProperty('ccachePath') ?: System.getenv('NDK_CCACHE')
3838
ext.lcachePath = project.findProperty('lcachePath') ?: System.getenv('NDK_LCACHE')
3939
// Set to true to enable linking with debug core.
40-
ext.enableDebugCore = project.hasProperty('enableDebugCore') ? project.getProperty('enableDebugCore') : true
40+
ext.enableDebugCore = project.hasProperty('enableDebugCore') ? project.getProperty('enableDebugCore') : false //FIXME Use 'false' as default until https://github.com/realm/realm-java/issues/5354 is fixed
4141

4242
android {
4343
compileSdkVersion 26

realm/realm-library/src/androidTest/java/io/realm/CollectionTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,14 @@ protected enum OrderedCollectionMutatorMethod {
8484
protected void populateRealm(Realm realm, int objects) {
8585
realm.beginTransaction();
8686
realm.delete(AllJavaTypes.class);
87-
// realm.delete(NonLatinFieldNames.class); FIXME Disabled until https://github.com/realm/realm-java/issues/5354 is fixed
87+
realm.delete(NonLatinFieldNames.class);
8888
if (objects > 0) {
8989
for (int i = 0; i < objects; i++) {
9090
AllJavaTypes obj = realm.createObject(AllJavaTypes.class, i);
9191
fillObject(i, objects, obj);
92-
/** FIXME Disabled until https://github.com/realm/realm-java/issues/5354 is fixed
9392
NonLatinFieldNames nonLatinFieldNames = realm.createObject(NonLatinFieldNames.class);
9493
nonLatinFieldNames.set델타(i);
9594
nonLatinFieldNames.setΔέλτα(i);
96-
*/
9795
// Sets the linked object to itself.
9896
obj.setFieldObject(obj);
9997
}

realm/realm-library/src/androidTest/java/io/realm/ManagedRealmCollectionTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ public void sum_partialNullRows() {
481481
}
482482

483483
@Test
484-
@Ignore("See https://github.com/realm/realm-java/issues/5354")
485484
public void sum_nonLatinColumnNames() {
486485
OrderedRealmCollection<NonLatinFieldNames> resultList = createNonLatinCollection(realm, collectionClass);
487486

realm/realm-library/src/androidTest/java/io/realm/RealmAsyncQueryTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ public void onChange(RealmResults<AllTypes> object) {
499499

500500
@Test
501501
@RunTestInLooperThread
502-
@Ignore("See https://github.com/realm/realm-java/issues/5354")
503502
public void accessingRealmListOnUnloadedRealmObjectShouldThrow() {
504503
Realm realm = looperThread.getRealm();
505504
populateTestRealm(realm, 10);

realm/realm-library/src/androidTest/java/io/realm/RealmObjectSchemaTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ public void getFieldIndex() {
11101110
}
11111111

11121112
@Test
1113-
@Ignore("See https://github.com/realm/realm-java/issues/5354")
11141113
public void getFieldType_nonLatinName() {
11151114
RealmObjectSchema objSchema = realm.getSchema().get(NonLatinFieldNames.class.getSimpleName());
11161115
assertEquals(RealmFieldType.INTEGER, objSchema.getFieldType(NonLatinFieldNames.FIELD_LONG_GREEK_CHAR));

realm/realm-library/src/androidTest/java/io/realm/RealmObjectTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,6 @@ public void setter_string_long_values() {
21242124
}
21252125

21262126
@Test
2127-
@Ignore("See https://github.com/realm/realm-java/issues/5354")
21282127
public void setter_nonLatinFieldName() {
21292128
// Reproduces https://github.com/realm/realm-java/pull/5346
21302129
realm.beginTransaction();

0 commit comments

Comments
 (0)