You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-cassandra/src/test/kotlin/org/springframework/data/cassandra/core/query/CriteriaExtensionsUnitTests.kt
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ class CriteriaExtensionsUnitTests {
35
35
@Mock(answer =Answers.RETURNS_MOCKS)
36
36
lateinitvar criteria:Criteria
37
37
38
-
@Test
38
+
@Test// DATACASS-484
39
39
fun`isEqualTo() extension should call its Java counterpart`() {
40
40
41
41
val foo ="foo"
@@ -44,15 +44,15 @@ class CriteriaExtensionsUnitTests {
44
44
verify(criteria).`is`(foo)
45
45
}
46
46
47
-
@Test
47
+
@Test// DATACASS-484
48
48
fun`isEqualTo() extension should support nullable value`() {
49
49
50
50
criteria.isEqualTo(null)
51
51
52
52
verify(criteria).`is`(null)
53
53
}
54
54
55
-
@Test
55
+
@Test// DATACASS-484
56
56
fun`inValues(varags) extension should call its Java counterpart`() {
57
57
58
58
val foo ="foo"
@@ -63,15 +63,15 @@ class CriteriaExtensionsUnitTests {
63
63
Mockito.verify(criteria).`in`(foo, bar)
64
64
}
65
65
66
-
@Test
66
+
@Test// DATACASS-484
67
67
fun`inValues(varags) extension should support nullable values`() {
68
68
69
69
criteria.inValues(null, null)
70
70
71
71
Mockito.verify(criteria).`in`(null, null)
72
72
}
73
73
74
-
@Test
74
+
@Test// DATACASS-484
75
75
fun`inValues(Collection) extension should call its Java counterpart`() {
76
76
77
77
val c =listOf("foo", "bar")
@@ -81,7 +81,7 @@ class CriteriaExtensionsUnitTests {
81
81
verify(criteria).`in`(c)
82
82
}
83
83
84
-
@Test
84
+
@Test// DATACASS-484
85
85
fun`inValues(Collection) extension should support nullable values`() {
86
86
87
87
val c =listOf("foo", null, "bar")
@@ -91,7 +91,7 @@ class CriteriaExtensionsUnitTests {
91
91
verify(criteria).`in`(c)
92
92
}
93
93
94
-
@Test
94
+
@Test// DATACASS-484
95
95
fun`where(String) should create Criteria`() {
96
96
97
97
val criteria = where("foo").isEqualTo("bar");
@@ -100,7 +100,7 @@ class CriteriaExtensionsUnitTests {
100
100
assertThat(criteria.predicate).isNotNull()
101
101
}
102
102
103
-
@Test
103
+
@Test// DATACASS-484
104
104
fun`and(CriteriaDefinition) should concatenate criteria`() {
105
105
106
106
val criteriaDefinitions = where("foo").isEqualTo("bar") and where("baz").isEqualTo("bar") and where("name").isEqualTo("Doe")
Copy file name to clipboardExpand all lines: spring-data-cassandra/src/test/kotlin/org/springframework/data/cassandra/core/query/QueryExtensionsUnitTests.kt
0 commit comments