@@ -1579,29 +1579,6 @@ public void testOrQueriesWithIn() {
1579
1579
collection .where (or (equalTo ("a" , 2 ), inArray ("b" , asList (2 , 3 )))), "doc3" , "doc4" , "doc6" );
1580
1580
}
1581
1581
1582
- @ Test
1583
- public void testOrQueriesWithNotIn () {
1584
- assumeTrue (
1585
- "Skip this test if running against production because it results in a "
1586
- + "'missing index' error. The Firestore Emulator, however, does serve these "
1587
- + " queries" ,
1588
- isRunningAgainstEmulator ());
1589
- Map <String , Map <String , Object >> testDocs =
1590
- map (
1591
- "doc1" , map ("a" , 1 , "b" , 0 ),
1592
- "doc2" , map ("b" , 1 ),
1593
- "doc3" , map ("a" , 3 , "b" , 2 ),
1594
- "doc4" , map ("a" , 1 , "b" , 3 ),
1595
- "doc5" , map ("a" , 1 ),
1596
- "doc6" , map ("a" , 2 ));
1597
- CollectionReference collection = testCollectionWithDocs (testDocs );
1598
-
1599
- // a==2 || b not-in [2,3]
1600
- // Has implicit orderBy b.
1601
- checkOnlineAndOfflineResultsMatch (
1602
- collection .where (or (equalTo ("a" , 2 ), notInArray ("b" , asList (2 , 3 )))), "doc1" , "doc2" );
1603
- }
1604
-
1605
1582
@ Test
1606
1583
public void testOrQueriesWithArrayMembership () {
1607
1584
Map <String , Map <String , Object >> testDocs =
@@ -1628,10 +1605,6 @@ public void testOrQueriesWithArrayMembership() {
1628
1605
1629
1606
@ Test
1630
1607
public void testMultipleInOps () {
1631
- // TODO(orquery): Enable this test against production when possible.
1632
- assumeTrue (
1633
- "Skip this test if running against production because it's not yet supported." ,
1634
- isRunningAgainstEmulator ());
1635
1608
Map <String , Map <String , Object >> testDocs =
1636
1609
map (
1637
1610
"doc1" , map ("a" , 1 , "b" , 0 ),
@@ -1654,10 +1627,6 @@ public void testMultipleInOps() {
1654
1627
1655
1628
@ Test
1656
1629
public void testUsingInWithArrayContainsAny () {
1657
- // TODO(orquery): Enable this test against production when possible.
1658
- assumeTrue (
1659
- "Skip this test if running against production because it's not yet supported." ,
1660
- isRunningAgainstEmulator ());
1661
1630
Map <String , Map <String , Object >> testDocs =
1662
1631
map (
1663
1632
"doc1" , map ("a" , 1 , "b" , asList (0 )),
@@ -1711,11 +1680,6 @@ public void testUsingInWithArrayContains() {
1711
1680
1712
1681
@ Test
1713
1682
public void testOrderByEquality () {
1714
- // TODO(orquery): Enable this test against production when possible.
1715
- assumeTrue (
1716
- "Skip this test if running against production because order-by-equality is "
1717
- + "not supported yet." ,
1718
- isRunningAgainstEmulator ());
1719
1683
Map <String , Map <String , Object >> testDocs =
1720
1684
map (
1721
1685
"doc1" , map ("a" , 1 , "b" , asList (0 )),
0 commit comments