DATACASS-538 - Polishing.

Remove tests for methods that do not exist.
This commit is contained in:
Mark Paluch
2020-03-10 10:41:58 +01:00
parent 1a2f999e60
commit a6dabe9754
3 changed files with 0 additions and 27 deletions

View File

@@ -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`() {

View File

@@ -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`() {

View File

@@ -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`() {