DATACASS-538 - Polishing.
Remove tests for methods that do not exist.
This commit is contained in:
@@ -19,7 +19,6 @@ import com.datastax.oss.driver.api.core.cql.Row
|
||||
import com.datastax.oss.driver.api.core.cql.SimpleStatement
|
||||
import io.mockk.mockk
|
||||
import io.mockk.verify
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import org.springframework.data.cassandra.domain.Person
|
||||
import org.springframework.scheduling.annotation.AsyncResult
|
||||
@@ -100,14 +99,6 @@ class AsyncCqlOperationsExtensionsUnitTests {
|
||||
verify { operations.queryForList("", Person::class.java, arrayOf("foo", "bar")) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
@Ignore("No such method: queryForList(CQL, RowMapper, Args), see DATACASS-538")
|
||||
fun `queryForList(String, RowMapper, array) extension should call its Java counterpart`() {
|
||||
|
||||
//operations.queryForList("", 3) { rs: Row, _: Int -> rs.getInt(1) }
|
||||
verify { operations.queryForList(eq(""), any<RowMapper<Int>>(), eq(3)) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
fun `queryForList(Statement, KClass) extension should call its Java counterpart`() {
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ import com.datastax.oss.driver.api.core.cql.Row
|
||||
import com.datastax.oss.driver.api.core.cql.SimpleStatement
|
||||
import io.mockk.mockk
|
||||
import io.mockk.verify
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import org.springframework.data.cassandra.domain.Person
|
||||
|
||||
@@ -99,14 +98,6 @@ class CqlOperationsExtensionsUnitTests {
|
||||
verify { operations.queryForList("", Person::class.java, arrayOf("foo", "bar")) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
@Ignore("No such method: queryForList(CQL, RowMapper, Args), see DATACASS-538")
|
||||
fun `queryForList(String, RowMapper, array) extension should call its Java counterpart`() {
|
||||
|
||||
//operations.queryForList("", 3) { rs: Row, _: Int -> rs.getInt(1) }
|
||||
verify { operations.queryForList(eq(""), any<RowMapper<Int>>(), eq(3)) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
fun `queryForList(Statement, KClass) extension should call its Java counterpart`() {
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ import com.datastax.oss.driver.api.core.cql.Row
|
||||
import com.datastax.oss.driver.api.core.cql.SimpleStatement
|
||||
import io.mockk.mockk
|
||||
import io.mockk.verify
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import org.springframework.data.cassandra.domain.Person
|
||||
|
||||
@@ -99,14 +98,6 @@ class ReactiveCqlOperationsExtensionsUnitTests {
|
||||
verify { operations.queryForFlux("", Person::class.java, arrayOf("foo", "bar")) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
@Ignore("No such method: queryForFlux(CQL, RowMapper, Args), see DATACASS-538")
|
||||
fun `queryForFlux(String, RowMapper, array) extension should call its Java counterpart`() {
|
||||
|
||||
//operations.queryForFlux("", 3) { rs: Row, _: Int -> rs.getInt(1) }
|
||||
verify { operations.queryForFlux(eq(""), any<RowMapper<Int>>(), eq(3)) }
|
||||
}
|
||||
|
||||
@Test // DATACASS-484
|
||||
fun `queryForFlux(Statement, KClass) extension should call its Java counterpart`() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user