@@ -1432,31 +1432,6 @@ public void testOrQueriesWithIn() {
1432
1432
"doc6" );
1433
1433
}
1434
1434
1435
- @ Test
1436
- public void testOrQueriesWithNotIn () {
1437
- assumeTrue (
1438
- "Skip this test if running against production because it results in a "
1439
- + "'missing index' error. The Firestore Emulator, however, does serve these "
1440
- + " queries" ,
1441
- isRunningAgainstEmulator ());
1442
- Map <String , Map <String , Object >> testDocs =
1443
- map (
1444
- "doc1" , map ("a" , 1 , "b" , 0 ),
1445
- "doc2" , map ("b" , 1 ),
1446
- "doc3" , map ("a" , 3 , "b" , 2 ),
1447
- "doc4" , map ("a" , 1 , "b" , 3 ),
1448
- "doc5" , map ("a" , 1 ),
1449
- "doc6" , map ("a" , 2 ));
1450
- CollectionReference collection = testCollectionWithDocs (testDocs );
1451
-
1452
- // a==2 || b not-in [2,3]
1453
- // Has implicit orderBy b.
1454
- checkOnlineAndOfflineResultsMatch (
1455
- collection .where (Filter .or (Filter .equalTo ("a" , 2 ), Filter .notInArray ("b" , asList (2 , 3 )))),
1456
- "doc1" ,
1457
- "doc2" );
1458
- }
1459
-
1460
1435
@ Test
1461
1436
public void testOrQueriesWithArrayMembership () {
1462
1437
Map <String , Map <String , Object >> testDocs =
@@ -1487,10 +1462,6 @@ public void testOrQueriesWithArrayMembership() {
1487
1462
1488
1463
@ Test
1489
1464
public void testMultipleInOps () {
1490
- // TODO(orquery): Enable this test against production when possible.
1491
- assumeTrue (
1492
- "Skip this test if running against production because it's not yet supported." ,
1493
- isRunningAgainstEmulator ());
1494
1465
Map <String , Map <String , Object >> testDocs =
1495
1466
map (
1496
1467
"doc1" , map ("a" , 1 , "b" , 0 ),
@@ -1517,10 +1488,6 @@ public void testMultipleInOps() {
1517
1488
1518
1489
@ Test
1519
1490
public void testUsingInWithArrayContainsAny () {
1520
- // TODO(orquery): Enable this test against production when possible.
1521
- assumeTrue (
1522
- "Skip this test if running against production because it's not yet supported." ,
1523
- isRunningAgainstEmulator ());
1524
1491
Map <String , Map <String , Object >> testDocs =
1525
1492
map (
1526
1493
"doc1" , map ("a" , 1 , "b" , asList (0 )),
@@ -1584,11 +1551,6 @@ public void testUsingInWithArrayContains() {
1584
1551
1585
1552
@ Test
1586
1553
public void testOrderByEquality () {
1587
- // TODO(orquery): Enable this test against production when possible.
1588
- assumeTrue (
1589
- "Skip this test if running against production because order-by-equality is "
1590
- + "not supported yet." ,
1591
- isRunningAgainstEmulator ());
1592
1554
Map <String , Map <String , Object >> testDocs =
1593
1555
map (
1594
1556
"doc1" , map ("a" , 1 , "b" , asList (0 )),
0 commit comments