Package io.stargate.it.grpc
Class CollectionsTest
- java.lang.Object
-
- io.stargate.it.BaseIntegrationTest
-
- io.stargate.it.grpc.GrpcIntegrationTest
-
- io.stargate.it.grpc.CollectionsTest
-
@ExtendWith(CqlSessionExtension.class) public class CollectionsTest extends GrpcIntegrationTest
-
-
Field Summary
-
Fields inherited from class io.stargate.it.grpc.GrpcIntegrationTest
asyncStub, authToken, managedChannel, stub
-
Fields inherited from class io.stargate.it.BaseIntegrationTest
backend
-
-
Constructor Summary
Constructors Constructor Description CollectionsTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collections(QueryOuterClass.Value collection, String tableName, com.datastax.oss.driver.api.core.CqlIdentifier keyspace)
static Stream<org.junit.jupiter.params.provider.Arguments>
collectionValues()
void
emptyCollections(QueryOuterClass.Value collection, QueryOuterClass.Value expected, String tableName, com.datastax.oss.driver.api.core.CqlIdentifier keyspace)
static Stream<org.junit.jupiter.params.provider.Arguments>
emptyValues()
void
invalidCollections(QueryOuterClass.Value collection, String tableName, String expectedMessage, com.datastax.oss.driver.api.core.CqlIdentifier keyspace)
static Stream<org.junit.jupiter.params.provider.Arguments>
invalidValues()
-
Methods inherited from class io.stargate.it.grpc.GrpcIntegrationTest
asyncStubWithCallCredentials, asyncStubWithCallCredentials, batchParameters, batchParameters, cleanUp, cqlBatchQuery, cqlQuery, cqlQuery, generateAuthToken, queryParameters, queryParameters, reactiveStubWithCallCredentials, rowOf, setup, stubWithCallCredentials, stubWithCallCredentials, valuesOf
-
Methods inherited from class io.stargate.it.BaseIntegrationTest
backendSupportsSAI, init, isCassandra4, isCassandra41, now, withProtocolV4, withProtocolV5
-
-
-
-
Method Detail
-
collections
@ParameterizedTest @MethodSource("collectionValues") public void collections(QueryOuterClass.Value collection, String tableName, com.datastax.oss.driver.api.core.CqlIdentifier keyspace) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
collectionValues
public static Stream<org.junit.jupiter.params.provider.Arguments> collectionValues()
-
emptyCollections
@ParameterizedTest @MethodSource("emptyValues") public void emptyCollections(QueryOuterClass.Value collection, QueryOuterClass.Value expected, String tableName, com.datastax.oss.driver.api.core.CqlIdentifier keyspace) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
emptyValues
public static Stream<org.junit.jupiter.params.provider.Arguments> emptyValues()
-
invalidCollections
@ParameterizedTest @MethodSource("invalidValues") public void invalidCollections(QueryOuterClass.Value collection, String tableName, String expectedMessage, com.datastax.oss.driver.api.core.CqlIdentifier keyspace)
-
invalidValues
public static Stream<org.junit.jupiter.params.provider.Arguments> invalidValues()
-
-