Class CollectionsTest

    • Constructor Detail

      • CollectionsTest

        public CollectionsTest()
    • 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()