stevedlawrence commented on a change in pull request #129: Cross Testing
Capability with IBM DFDL
URL: https://github.com/apache/incubator-daffodil/pull/129#discussion_r229676343
##########
File path:
daffodil-tdml/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala
##########
@@ -89,44 +81,59 @@ import
org.apache.daffodil.processors.charset.BitsCharsetNonByteSize
import org.apache.daffodil.processors.charset.BitsCharsetNonByteSizeEncoder
import org.apache.daffodil.io.FormatInfo
import org.apache.daffodil.io.InputSourceDataInputStream
-import java.nio.charset.{ Charset => JavaCharset }
+import java.nio.charset.{Charset => JavaCharset}
import java.io.OutputStream
+import org.apache.daffodil.tdml.processor.{
+ TDMLParseResult,
+ DaffodilTDMLDFDLProcessor,
+ TDMLDFDLProcessor,
+ TDMLResult,
+ TDMLUnparseResult,
+ TDML,
+ TDMLDFDLProcessorFactory
+}
+
+import scala.util.Try
+import scala.util.Failure
+import scala.util.Success
+import org.apache.daffodil.tdml.processor.DaffodilTDMLDFDLProcessorFactory
+
/**
- * Parses and runs tests expressed in IBM's contributed tdml "Test Data Markup
Language"
- */
+ * Parses and runs tests expressed in IBM's contributed tdml "Test Data
Markup Language"
+ */
sealed trait RoundTrip
/**
- * Test is just a parse test, or just an unparse, with no round trip involved.
- */
+ * Test is just a parse test, or just an unparse, with no round trip involved.
+ */
case object NoRoundTrip extends RoundTrip
-/**
- * Test round trips with a single pass. Unparse produces exactly the original
data.
- */
+/**io.github.openDFDL.IBM_DFDL
Review comment:
Accidental copy paste here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services