Skip to content

Commit 13077e6

Browse files
committed
Remove broken test
1 parent 6a024dc commit 13077e6

File tree

1 file changed

+0
-33
lines changed
  • firebase-firestore/src/test/java/com/google/firebase/firestore/core

1 file changed

+0
-33
lines changed

firebase-firestore/src/test/java/com/google/firebase/firestore/core/PipelineTests.kt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ import com.google.common.truth.Truth.assertThat
44
import com.google.firebase.firestore.RealtimePipelineSource
55
import com.google.firebase.firestore.TestUtil
66
import com.google.firebase.firestore.model.MutableDocument
7-
import com.google.firebase.firestore.model.Values
87
import com.google.firebase.firestore.pipeline.Expr.Companion.field
9-
import com.google.firebase.firestore.pipeline.minus
10-
import com.google.firebase.firestore.pipeline.plus
118
import com.google.firebase.firestore.testutil.TestUtilKtx.doc
12-
import com.google.protobuf.Timestamp
139
import kotlinx.coroutines.flow.flowOf
1410
import kotlinx.coroutines.flow.toList
1511
import kotlinx.coroutines.runBlocking
@@ -30,33 +26,4 @@ internal class PipelineTests {
3026

3127
assertThat(list).hasSize(1)
3228
}
33-
34-
@Test
35-
fun xxx(): Unit = runBlocking {
36-
val zero: Timestamp = Values.timestamp(0, 0)
37-
38-
assertThat(plus(zero, 0, 0))
39-
.isEqualTo(zero)
40-
41-
assertThat(plus(Values.timestamp(1, 1), 1, 1))
42-
.isEqualTo(Values.timestamp(2, 2))
43-
44-
assertThat(plus(Values.timestamp(1, 1), 0, 1))
45-
.isEqualTo(Values.timestamp(1, 2))
46-
47-
assertThat(plus(Values.timestamp(1, 1), 1, 0))
48-
.isEqualTo(Values.timestamp(2, 1))
49-
50-
assertThat(minus(zero, 0, 0))
51-
.isEqualTo(zero)
52-
53-
assertThat(minus(Values.timestamp(1, 1), 1, 1))
54-
.isEqualTo(zero)
55-
56-
assertThat(minus(Values.timestamp(1, 1), 0, 1))
57-
.isEqualTo(Values.timestamp(1, 0))
58-
59-
assertThat(minus(Values.timestamp(1, 1), 1, 0))
60-
.isEqualTo(Values.timestamp(0, 1))
61-
}
6229
}

0 commit comments

Comments
 (0)