This is an automated email from the ASF dual-hosted git repository.
slawrence pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil.git
from e40bc5874 Forgot to add the scala test for one test
new 435acc008 Add new daffodil-tdml-junit library
new 3e0e65b07 Rewrite functional TDML tests to use new JUnit API
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build.sbt | 14 +-
.../org/apache/daffodil/codegen/c/nested.tdml | 14 +-
.../org/apache/daffodil/codegen/c/simple.tdml | 30 +-
.../apache/daffodil/codegen/c/simple_errors.tdml | 68 +-
.../org/apache/daffodil/codegen/c/variablelen.tdml | 2 +-
.../org/apache/daffodil/junit/tdml/TdmlSuite.scala | 120 +
.../org/apache/daffodil/junit/tdml/package.scala | 65 +
.../test/scala/org/apache/daffodil/IBMTests.scala | 275 +-
.../test/scala/org/apache/daffodil/IBMTests3.scala | 133 -
.../scala/org/apache/daffodil/TestNilled.scala | 20 +-
.../org/apache/daffodil/TestSepSuppression.scala | 61 +-
.../org/apache/daffodil/TestSepSuppression2.scala | 36 +-
.../org/apache/daffodil/TestUnseparated.scala | 21 +-
.../scala/org/apache/daffodil/TresysTests.scala | 413 ++-
.../scala/org/apache/daffodil/TresysTests3.scala | 80 +-
.../daffodil/section07/variables/variables.tdml | 45 +
.../ContentFramingProps.tdml | 2 +-
.../section13/text_number_props/TextPad.tdml | 92 +
.../daffodil/section14/unordered_sequences/BE.tdml | 2 +-
.../regular_expressions/RegularExpressions.tdml | 4 +-
.../org/apache/daffodil/usertests/test-6.tdml.xml | 2 +-
.../charsets/TestBitsCharsetDefinition.scala | 33 +-
.../apache/daffodil/codegen/c/TestCollisions.scala | 16 +-
.../daffodil/codegen/c/TestEgressXdccBw.scala | 35 +-
.../org/apache/daffodil/codegen/c/TestExNums.scala | 61 +-
.../daffodil/codegen/c/TestIngressXdccBw.scala | 26 +-
.../codegen/c/TestIsrmGreenToOrange60000.scala | 22 +-
.../codegen/c/TestIsrmOrangeToGreen60002.scala | 18 +-
.../codegen/c/TestMpuGreenToOrange60004.scala | 18 +-
.../codegen/c/TestMpuOrangeToGreen60006.scala | 22 +-
.../org/apache/daffodil/codegen/c/TestNested.scala | 28 +-
.../org/apache/daffodil/codegen/c/TestOrion.scala | 24 +-
.../apache/daffodil/codegen/c/TestPadTest.scala | 42 +-
.../org/apache/daffodil/codegen/c/TestSimple.scala | 46 +-
.../daffodil/codegen/c/TestSimpleErrors.scala | 90 +-
.../daffodil/codegen/c/TestVariableLen.scala | 61 +-
.../extensions/TestChoiceBranchKeyRanges.scala | 54 +-
.../org/apache/daffodil/extensions/TestEnums.scala | 39 +-
.../apache/daffodil/extensions/TestLookAhead.scala | 59 +-
.../apache/daffodil/extensions/TestRepType.scala | 152 +-
.../apache/daffodil/runtime1/layers/TestAIS.scala | 27 +-
.../daffodil/runtime1/layers/TestByteSwap.scala | 49 +-
.../daffodil/runtime1/layers/TestCheckDigit.scala | 32 +-
.../daffodil/runtime1/layers/TestGzipFoldB64.scala | 31 +-
.../apache/daffodil/runtime1/layers/TestIPv4.scala | 36 +-
.../daffodil/runtime1/layers/TestLayers.scala | 54 +-
.../daffodil/runtime1/layers/TestLayers2.scala | 214 +-
.../TestDFDLFormatPrefixedAttributesSDE.scala | 25 +-
.../section00/general/TestDisallowDocType.scala | 64 +-
.../general/TestElementFormDefaultGeneral.scala | 73 +-
.../general/TestExpressionPropertyWarnings.scala | 25 +-
.../section00/general/TestFileBuffering.scala | 114 +-
.../daffodil/section00/general/TestGeneral.scala | 199 +-
.../general/TestImportOtherAnnotationSchema.scala | 28 +-
.../section00/general/TestInfosetWalker.scala | 23 +-
.../section00/general/TestParseUnparsePolicy.scala | 50 +-
.../daffodil/section00/general/TestResolver.scala | 29 +-
.../general/TestSchemaWithoutDFDLNamespace.scala | 24 +-
.../daffodil/section00/general/TestTextBidi.scala | 24 +-
.../section00/general/TestUnparserGeneral.scala | 154 +-
.../section00/general/TestUnparserGeneral2.scala | 20 +-
.../section00/general/TestUnparserSAX.scala | 25 +-
.../processing_errors/ProcessingErrors.scala | 72 +-
.../ProcessingErrorsUnparse.scala | 63 +-
.../schema_definition_errors/TestSDE.scala | 55 +-
.../validation_errors/TestValidationErr.scala | 308 +--
.../dfdl_xsdl_subset/TestDFDLSubset.scala | 40 +-
.../daffodil/section05/facets/TestFacets.scala | 530 ++--
.../daffodil/section05/facets/TestNulChars.scala | 23 +-
.../section05/facets/TestPatternRanges.scala | 25 +-
.../section05/simple_types/TestBlobs.scala | 67 +-
.../section05/simple_types/TestBoolean2.scala | 84 +-
.../section05/simple_types/TestEncodings.scala | 54 +-
.../simple_types/TestRuntimeCalendarLanguage.scala | 34 +-
.../section05/simple_types/TestSimpleTypes.scala | 1381 ++++------
.../section05/simple_types/TestSimpleTypes2.scala | 224 +-
.../simple_types/TestSimpleTypesUnparse.scala | 94 +-
.../section05/simple_types/TestUnions.scala | 33 +-
.../daffodil/section06/entities/TestEntities.scala | 228 +-
.../section06/namespaces/TestNamespaces.scala | 380 ++-
.../section07/annotations/TestAnnotations.scala | 39 +-
.../section07/assertions/TestAssertions.scala | 163 +-
.../defineFormat/DefineFormatTests.scala} | 36 +-
.../section07/defineFormat/defineFormatTests.scala | 53 -
.../discriminators/TestDiscriminators.scala | 179 +-
.../discriminators/TestNestedChoices.scala | 31 +-
.../section07/escapeScheme/TestEscapeScheme.scala | 175 +-
.../escapeScheme/TestEscapeSchemeUnparse.scala | 122 +-
.../external_variables/TestExternalVariables.scala | 65 +-
.../property_syntax/TestPropertySyntax.scala | 85 +-
.../variables/TestSetVarWithValueLength.scala | 24 +-
.../section07/variables/TestVariables.scala | 316 +--
.../property_scoping/TestPropertyScoping.scala | 131 +-
.../representation_properties/TestRepProps.scala | 36 +-
.../representation_properties/TestRepProps2.scala | 57 +-
.../TestContentFramingProperties.scala | 185 +-
.../section12/aligned_data/TestAlignedData.scala | 462 ++--
.../TestDelimiterProperties.scala | 113 +-
.../TestDelimiterPropertiesUnparse.scala | 83 +-
.../lengthKind/TestLengthKindDelimited.scala | 140 +-
.../lengthKind/TestLengthKindEndOfParent2.scala | 27 +-
.../lengthKind/TestLengthKindExplicit.scala | 327 +--
.../lengthKind/TestLengthKindImplicit.scala | 35 +-
.../lengthKind/TestLengthKindPattern.scala | 148 +-
.../lengthKind/TestLengthKindPrefixed.scala | 468 ++--
.../length_properties/TestLengthProperties.scala | 189 +-
.../daffodil/section13/boolean/TestBoolean.scala | 27 +-
.../section13/decimal/TestDecimalSigned.scala | 52 +-
.../daffodil/section13/nillable/TestNillable.scala | 117 +-
.../section13/nillable/TestNillable2.scala | 40 +-
.../section13/nillable/TestNillableUnparse.scala | 108 +-
.../daffodil/section13/packed/TestPacked.scala | 150 +-
.../text_number_props/TestTextNumberProps.scala | 735 ++----
.../TestTextNumberPropsUnparse.scala | 147 +-
.../text_number_props/TestTextStandardBase.scala | 357 +--
.../section13/validation_errors/PadCharacter.scala | 118 +-
.../apache/daffodil/section13/zoned/TestPV.scala | 111 +-
.../daffodil/section13/zoned/TestZoned.scala | 152 +-
.../occursCountKind/TestOCKImplicit.scala | 76 +-
.../sequence_groups/TestHiddenSequences.scala | 87 +-
.../TestSequenceGroupInitiatedContent.scala | 53 +-
.../TestSequenceGroupNestedArray.scala | 30 +-
.../sequence_groups/TestSequenceGroupUnparse.scala | 31 +-
.../sequence_groups/TestSequenceGroups.scala | 204 +-
.../sequence_groups/TestSequenceGroups3.scala | 61 -
.../TestUnorderedSequences.scala | 105 +-
.../section15/choice_groups/TestChoice.scala | 271 +-
.../section15/choice_groups/TestChoice2.scala | 71 +-
.../TestChoiceGroupInitiatedContent.scala | 112 +-
.../section15/choice_groups/TestChoiceNest.scala | 31 +-
.../choice_groups/TestHiddenChoices.scala | 69 +-
.../section15/choice_groups/TestSharedGroups.scala | 25 +-
.../choice_groups/TestUnparseChoice.scala | 37 +-
.../choice_groups/TestUnparseChoice2.scala | 38 +-
.../TestArrayOptionalElem.scala | 159 +-
.../TestUnparseArrayOptionalElem.scala | 269 +-
.../TestComputedLengthFields.scala | 46 +-
.../calc_value_properties/TestInputValueCalc.scala | 324 +--
.../TestOutputValueCalc.scala | 162 +-
.../dfdl_expressions/TestBitFunctions.scala | 192 +-
.../dfdl_expressions/TestDFDLExpressions.scala | 2740 +++++++++-----------
.../dfdl_expressions/TestDFDLExpressions2.scala | 174 +-
.../dfdl_expressions/TestDFDLExpressions3.scala | 58 +-
.../runtime_properties/TestDynamicSeparator.scala | 20 +-
.../TestRegularExpressions.scala | 54 +-
.../section31/escape_characters/TestEscapes.scala | 194 +-
.../apache/daffodil/udf/TestUdfsInSchemas.scala | 107 +-
.../daffodil/unparser/TestEnvelopePayload.scala | 23 +-
.../daffodil/unparser/TestOVCAndLength.scala | 25 +-
.../daffodil/unparser/TestParseUnparseMode.scala | 32 +-
.../daffodil/unparser/TestUnparseNegInfoset.scala | 64 +-
.../org/apache/daffodil/usertests/RC-Test.scala | 25 +-
.../org/apache/daffodil/usertests/TestCSV.scala | 28 +-
.../usertests/TestSSPNeverDiagnostic.scala | 24 +-
.../apache/daffodil/usertests/TestSepTests.scala | 54 +-
.../usertests/TestUserSubmittedTests.scala | 79 +-
project/Dependencies.scala | 4 +
test-stdLayout/src/test/scala/org1/TestOrg1.scala | 29 +-
test-stdLayout/src/test/scala/org2/TestOrg2.scala | 29 +-
.../src/test/scala/org2/TestPayloadAndTypes.scala | 20 +-
.../apache/daffodil/tutorials/TestTutorials.scala | 67 +-
161 files changed, 7817 insertions(+), 11649 deletions(-)
create mode 100644
daffodil-tdml-junit/src/main/scala/org/apache/daffodil/junit/tdml/TdmlSuite.scala
create mode 100644
daffodil-tdml-junit/src/main/scala/org/apache/daffodil/junit/tdml/package.scala
delete mode 100644
daffodil-test-ibm1/src/test/scala/org/apache/daffodil/IBMTests3.scala
create mode 100644
daffodil-test/src/test/resources/org/apache/daffodil/section13/text_number_props/TextPad.tdml
copy
daffodil-test/src/test/scala/org/apache/daffodil/{section00/general/TestImportOtherAnnotationSchema.scala
=> section07/defineFormat/DefineFormatTests.scala} (54%)
delete mode 100644
daffodil-test/src/test/scala/org/apache/daffodil/section07/defineFormat/defineFormatTests.scala
delete mode 100644
daffodil-test/src/test/scala/org/apache/daffodil/section14/sequence_groups/TestSequenceGroups3.scala