Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPROTO-273 Elements in collections are not properly limited #195

Merged
merged 1 commit into from
Aug 28, 2023

IPROTO-273 Elements in collections are not properly limited

9d8da47
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

IPROTO-273 Elements in collections are not properly limited #195

IPROTO-273 Elements in collections are not properly limited
9d8da47
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JDK 11 Tests succeeded Aug 25, 2023 in 1s

JDK 11 Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.ProtoSchemaBuilderTest.xml 37✅ 1s
core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.ReservedProcessorTest.xml 4✅ 0ms
core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.types.DocumentationExtractorTest.xml 12✅ 1ms
core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.types.ReflectionTypeFactoryTest.xml 1✅ 2ms
core/target/surefire-reports/TEST-org.infinispan.protostream.config.AnnotationConfigurationTest.xml 6✅ 7ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.ElementContainerTest.xml 3✅ 19ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.FullBufferReadTest.xml 3✅ 9ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.GenericObjectTest.xml 1✅ 3ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.parser.AnnotationParserTest.xml 7✅ 15ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.parser.DescriptorsTest.xml 44✅ 1⚪ 67ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.SerializationContextImplTest.xml 16✅ 75ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.TagWriterImplTest.xml 2✅ 16ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.TopLevelArrayTest.xml 4✅ 20ms
core/target/surefire-reports/TEST-org.infinispan.protostream.impl.UnknownFieldSetImplTest.xml 2✅ 16ms
core/target/surefire-reports/TEST-org.infinispan.protostream.MarshallingTest.xml 4✅ 1s
core/target/surefire-reports/TEST-org.infinispan.protostream.ProtobufParserTest.xml 1✅ 6ms
core/target/surefire-reports/TEST-org.infinispan.protostream.ProtobufUtilTest.xml 28✅ 146ms
core/target/surefire-reports/TEST-org.infinispan.protostream.test.AnnotationsPerformanceTest.xml 1⚪ 43ms
core/target/surefire-reports/TEST-org.infinispan.protostream.test.PerformanceTest.xml 1⚪ 1ms
core/target/surefire-reports/TEST-org.infinispan.protostream.WrappingTest.xml 17✅ 29ms
integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.annotated_package.AnnotationOnPackageIntegrationTest.xml 3✅ 45ms
integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.AnnotationProcessorCompilationTest.xml 15✅ 3s
integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.marshaller.GeneratedMarshallerTest.xml 1✅ 328ms
processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.tests.AutoProtoSchemaBuilderTest.xml 13✅ 200ms
processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.tests.test_package.AnnotationOnPackageTest.xml 1✅ 67ms
processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.types.MirrorTypeFactoryTest.xml 2✅ 597ms
types/target/surefire-reports/TEST-org.infinispan.protostream.types.java.MarshallingTest.xml 21✅ 831ms

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.ProtoSchemaBuilderTest.xml

37 tests were completed in 1s with 37 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.ProtoSchemaBuilderTest 37✅ 1s

✅ org.infinispan.protostream.annotations.impl.ProtoSchemaBuilderTest

✅ testNonNullRepeatedFields
✅ testCustomMap
✅ testListOfBytes
✅ testNestedEnum
✅ testNestedDiscoveryWithoutAutoImport
✅ testAdapter
✅ testMarshallerOverride1
✅ testMarshallerOverride2
✅ testAutoImport
✅ testAnonymousClass
✅ testOneOf
✅ testMain
✅ testFactoryMethod
✅ testUnknownFields
✅ testDocumentation
✅ testImportedEnum
✅ testGeneration
✅ testAbstractClass
✅ testNoAnnotatedFields
✅ testNullFileName
✅ testGeneration2
✅ testGeneration3
✅ testGenericMessage
✅ testEnumProtoAdapter
✅ testImplementInterface
✅ testLocalClass
✅ testInvalidOneOf1
✅ testOptional
✅ testReplaceExistingMarshaller
✅ testDuplicateFieldName
✅ testNoAnnotatedFields2
✅ testTwoFilesGeneration
✅ testReplaceExistingMarshallerWithAnnotations
✅ testDuplicateEnumValueName
✅ testAllFieldTypes
✅ testBadEnumProtoAdapter
✅ testDiscoveryWithoutAutoImport

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.ReservedProcessorTest.xml

4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.ReservedProcessorTest 4✅ 0ms

✅ org.infinispan.protostream.annotations.impl.ReservedProcessorTest

✅ testEmpty
✅ testReservedNumbers
✅ testDuplicateReservedNumber
✅ testDuplicateReservedName

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.types.DocumentationExtractorTest.xml

12 tests were completed in 1ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.types.DocumentationExtractorTest 12✅ 1ms

✅ org.infinispan.protostream.annotations.impl.types.DocumentationExtractorTest

✅ testDefaultFieldAnnotation
✅ testMixedCustomMethodAnnotation
✅ testCustomMethodAnnotation
✅ testMultiDoc1
✅ testMultiDoc2
✅ testMultiDoc3
✅ testMultiDoc4
✅ testMixedCustomFieldAnnotation
✅ testSingleDoc1
✅ testSingleDoc2
✅ testCustomFieldAnnotation
✅ testDefaultMethodAnnotation

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.types.ReflectionTypeFactoryTest.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.types.ReflectionTypeFactoryTest 1✅ 2ms

✅ org.infinispan.protostream.annotations.impl.types.ReflectionTypeFactoryTest

✅ testFromClass

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.config.AnnotationConfigurationTest.xml

6 tests were completed in 7ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.config.AnnotationConfigurationTest 6✅ 7ms

✅ org.infinispan.protostream.config.AnnotationConfigurationTest

✅ testComplexConfiguration
✅ testNullDefaultValue
✅ testMatchingDefaultValueType
✅ testAttributeNameMustNotBeEmpty
✅ testRepeatableAnnotation
✅ testWrongDefaultValueType

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.ElementContainerTest.xml

3 tests were completed in 19ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.ElementContainerTest 3✅ 19ms

✅ org.infinispan.protostream.impl.ElementContainerTest

✅ testIntArrayMarshallingWithAdapter
✅ testArrayListMarshallingWithAdapter1
✅ testArrayListMarshallingWithAdapter2

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.FullBufferReadTest.xml

3 tests were completed in 9ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.FullBufferReadTest 3✅ 9ms

✅ org.infinispan.protostream.impl.FullBufferReadTest

✅ testFullArrayInputStreamMarshaller
✅ testFullArrayMarshaller
✅ illegalStateExceptionOnMixingReadWithFullBuffer

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.GenericObjectTest.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.GenericObjectTest 1✅ 3ms

✅ org.infinispan.protostream.impl.GenericObjectTest

✅ testMarshallerProviderDynamicTypes

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.parser.AnnotationParserTest.xml

7 tests were completed in 15ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.parser.AnnotationParserTest 7✅ 15ms

✅ org.infinispan.protostream.impl.parser.AnnotationParserTest

✅ testEmptyAnnotations
✅ testMultipleAnnotations
✅ testSingleAnnotation
✅ testNoShmooExpected
✅ testDefaultArrayValue
✅ testUnexpectedShmoo
✅ testAnnotationsMustStartOnAnEmptyLine

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.parser.DescriptorsTest.xml

45 tests were completed in 67ms with 44 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.parser.DescriptorsTest 44✅ 1⚪ 67ms

✅ org.infinispan.protostream.impl.parser.DescriptorsTest

✅ testPrivateImport
✅ testNotImportedInAnotherPackage
✅ testDuplicateTypeInMessage1
✅ testDuplicateTypeInMessage2
✅ testDuplicateTypeInMessage3
✅ testDuplicateEnumConstantName
✅ testInputFromDiskFile
✅ testIndirectlyImportSameFile
✅ testUndefinedAnnotation
✅ testDuplicateTypeInPackage1
✅ testDuplicateTypeInPackage2
✅ testDuplicateOptionInFile
✅ testNestedMessageWithSameName
✅ testEnumConstantNameClashesWithEnumTypeName
✅ testArrayAnnotationAttributeNormalizing
✅ testDuplicateTypeIdInSameFile
✅ testBrokenUndefinedAnnotation
✅ testEnumConstantNameClashesWithContainingEnumTypeName
✅ testAnnotationParser
✅ testDuplicateImport
✅ testRepeatedAnnotation
✅ testAnnotationTarget
✅ testNotImportedInSamePackage
✅ testDuplicateTypeIdInImportedFile
✅ testInvalidImport
✅ testDuplicateTypeInFile1
✅ testDuplicateTypeInFile2
✅ testDuplicateTypeInFile3
✅ testMultipleAnnotationAttribute
✅ testDuplicateAnnotation
✅ testEmptyPackageName
✅ testInputFromString
✅ testImportAndPackage
✅ testCyclicImport
✅ testDefinitionNameWithDots1
✅ testDefinitionNameWithDots2
✅ testDuplicateEnumConstantValue
✅ testPublicImport
✅ testDuplicateUndefinedAnnotation
✅ testDocComment
✅ testTransform
✅ testGroupsAreNotSupported
✅ testAnnotationParserMissingRequiredAttribute
⚪ testAllowAliasOfEnumConstantValue
✅ testDocAnnotations

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.SerializationContextImplTest.xml

16 tests were completed in 75ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.SerializationContextImplTest 16✅ 75ms

✅ org.infinispan.protostream.impl.SerializationContextImplTest

✅ testRegisterProtoFiles
✅ testTwoFilesWithErrorsAtOnce
✅ testUnregisterFileWithErrors
✅ testDuplicateTypeIdInSameFile
✅ testFileCanExistWithSemanticErrors
✅ testTwoFilesWithErrorsSeparately
✅ testRegisterImproperMarshaller1
✅ testRegisterImproperMarshaller2
✅ testMarshallerProvider
✅ testFileCannotExistWithParsingErrors
✅ testFileCanExistWithParsingErrors
✅ testEnumConstantNameClashesWithOtherType1
✅ testEnumConstantNameClashesWithOtherType2
✅ testEnumConstantNameClashesWithOtherType3
✅ testDuplicateTypeIdInDifferentFiles
✅ testUnregisterMissingFiles

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.TagWriterImplTest.xml

2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.TagWriterImplTest 2✅ 16ms

✅ org.infinispan.protostream.impl.TagWriterImplTest

✅ testOutputStreamEncodeAndDecode
✅ testByteArrayEncodeAndDecode

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.TopLevelArrayTest.xml

4 tests were completed in 20ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.TopLevelArrayTest 4✅ 20ms

✅ org.infinispan.protostream.impl.TopLevelArrayTest

✅ testCustomMessageArrayMarshalling
✅ testCustomIntArrayMarshallingWithAdapter
✅ testCustomIntArrayMarshalling
✅ testCustomMessageArrayMarshallingWithAdapter

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.impl.UnknownFieldSetImplTest.xml

2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.impl.UnknownFieldSetImplTest 2✅ 16ms

✅ org.infinispan.protostream.impl.UnknownFieldSetImplTest

✅ testSerializationRoundtrip
✅ testProtobufRoundtrip

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.MarshallingTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.MarshallingTest 4✅ 1s

✅ org.infinispan.protostream.MarshallingTest

✅ testMarshallUserUsingByteArray
✅ testMarshallAccount
✅ testMarshallAccountUsingInputStream
✅ testMarshallUserUsingInputStream

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.ProtobufParserTest.xml

1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.ProtobufParserTest 1✅ 6ms

✅ org.infinispan.protostream.ProtobufParserTest

✅ testTagHandler

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.ProtobufUtilTest.xml

28 tests were completed in 146ms with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.ProtobufUtilTest 28✅ 146ms

✅ org.infinispan.protostream.ProtobufUtilTest

✅ testWithMalformedJson
✅ testWithNullEnumValue
✅ testWithMissingTypeSpecialField
✅ testWithInvalidTopLevelObject
✅ testEscaping
✅ testWrappedMessageTypeIdMapper
✅ testMissingRequiredField
✅ testMessageWrapping
✅ testJsonLong
✅ testJsonWithNull
✅ testWithInvalidJson
✅ testWithInvalidField
✅ testWithInvalidMetaField
✅ test64BitsNumberBoundaries
✅ testWithMismatchedFieldType
✅ testCanonicalJSON
✅ testFromByteArrayWithExtraPadding
✅ testArrayOfEnum
✅ testFromWrappedByteArrayWithExtraPadding
✅ testWithMismatchedArrayType2
✅ testWithWrongTypeEnumValue
✅ testWithInvalidEnumField
✅ testWithMissingValueSpecialField
✅ test32BitsNumberBoundaries
✅ testWithMismatchedArrayType
✅ testWithMismatchedMessageType
✅ testJsonWithDifferentFieldOrder
✅ testComputeMessageSize

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.test.AnnotationsPerformanceTest.xml

1 tests were completed in 43ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.test.AnnotationsPerformanceTest 1⚪ 43ms

✅ org.infinispan.protostream.test.AnnotationsPerformanceTest

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.test.PerformanceTest.xml

1 tests were completed in 1ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.test.PerformanceTest 1⚪ 1ms

✅ org.infinispan.protostream.test.PerformanceTest

✅ core/target/surefire-reports/TEST-org.infinispan.protostream.WrappingTest.xml

17 tests were completed in 29ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.WrappingTest 17✅ 29ms

✅ org.infinispan.protostream.WrappingTest

✅ testMarshallBytes
✅ testMarshallFloat
✅ testMarshallShort
✅ testMarshallDouble
✅ testMarshallInt
✅ testMarshallObject
✅ testMarshallUserList
✅ testMarshallString
✅ testMarshallInstant
✅ testMarshallIntArray
✅ testMarshallBoolean
✅ testMarshallByte
✅ testMarshallChar
✅ testMarshallDate
✅ testMarshallEnum
✅ testMarshallLong
✅ testMarshallNull

✅ integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.annotated_package.AnnotationOnPackageIntegrationTest.xml

3 tests were completed in 45ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.integrationtests.processor.annotated_package.AnnotationOnPackageIntegrationTest 3✅ 45ms

✅ org.infinispan.protostream.integrationtests.processor.annotated_package.AnnotationOnPackageIntegrationTest

✅ testUserWithLotsOfFields
✅ testDependsOn
✅ testAnnotationOnPackage

✅ integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.AnnotationProcessorCompilationTest.xml

15 tests were completed in 3s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.integrationtests.processor.AnnotationProcessorCompilationTest 15✅ 3s

✅ org.infinispan.protostream.integrationtests.processor.AnnotationProcessorCompilationTest

✅ testNestedEnum
✅ testNestedDiscoveryWithoutAutoImport
✅ testAdapter
✅ testBasic
✅ testLong
✅ testBadEnumAdapter
✅ testDependsOnCycle
✅ testIncludeExcludeOverlap
✅ testBigInteger
✅ testBadBasePackages
✅ testIncludeClassesVsBasePackagesConflict
✅ testBadSchemaFileName
✅ testExcludeClassesVsBasePackagesConflict
✅ testElementContainer
✅ testDiscoveryWithoutAutoImport

✅ integrationtests/target/surefire-reports/TEST-org.infinispan.protostream.integrationtests.processor.marshaller.GeneratedMarshallerTest.xml

1 tests were completed in 328ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.integrationtests.processor.marshaller.GeneratedMarshallerTest 1✅ 328ms

✅ org.infinispan.protostream.integrationtests.processor.marshaller.GeneratedMarshallerTest

✅ testGenericMessage

✅ processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.tests.AutoProtoSchemaBuilderTest.xml

13 tests were completed in 200ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.processor.tests.AutoProtoSchemaBuilderTest 13✅ 200ms

✅ org.infinispan.protostream.annotations.impl.processor.tests.AutoProtoSchemaBuilderTest

✅ testNonNullRepeatedFields
✅ testCustomMap
✅ testGeneratedService
✅ testNonAbstractInitializer
✅ testFactoryMethod
✅ testNonStandardPropertyAccessors
✅ testGeneratedInitializer
✅ testDependsOn
✅ testLocalAnnotatedClassesAreSkipped
✅ testNoAnnotatedFields
✅ testGenericMessage
✅ testOptional
✅ testAllFieldTypes

✅ processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.tests.test_package.AnnotationOnPackageTest.xml

1 tests were completed in 67ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.processor.tests.test_package.AnnotationOnPackageTest 1✅ 67ms

✅ org.infinispan.protostream.annotations.impl.processor.tests.test_package.AnnotationOnPackageTest

✅ testAnnotationOnPackage

✅ processor/target/surefire-reports/TEST-org.infinispan.protostream.annotations.impl.processor.types.MirrorTypeFactoryTest.xml

2 tests were completed in 597ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.annotations.impl.processor.types.MirrorTypeFactoryTest 2✅ 597ms

✅ org.infinispan.protostream.annotations.impl.processor.types.MirrorTypeFactoryTest

✅ testFromTypeMirror
✅ testFromClass

✅ types/target/surefire-reports/TEST-org.infinispan.protostream.types.java.MarshallingTest.xml

21 tests were completed in 831ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.infinispan.protostream.types.java.MarshallingTest 21✅ 831ms

✅ org.infinispan.protostream.types.java.MarshallingTest

✅ testBigDecimalUsingWrappedMessage
✅ testBookTreeSet
✅ testBookArray
✅ testStringHashSet
✅ testStringLinkedHashSet
✅ testBigIntegerUsingByteArray
✅ testBookArrayList
✅ testBigIntegerUsingInputStream
✅ testBookLinkedList
✅ testUUIDUsingByteArray
✅ testBookHashSet
✅ testUUIDUsingWrappedMessage
✅ testUUIDUsingInputStream
✅ testBigDecimalUsingByteArray
✅ testBookLinkedHashSet
✅ testStringLinkedList
✅ testStringTreeSet
✅ testBigIntegerUsingWrappedMessage
✅ testBigDecimalUsingInputStream
✅ testStringArrayList
✅ testStringArray