mbeckerle commented on a change in pull request #88: Daffodil 1919 separators
URL: https://github.com/apache/incubator-daffodil/pull/88#discussion_r206546234
 
 

 ##########
 File path: 
daffodil-cli/src/it/scala/org/apache/daffodil/debugger/TestCLIDebugger.scala
 ##########
 @@ -71,57 +71,61 @@ class TestCLIdebugger {
     }
   }
 
-  @Test def test_3263_CLI_Debugger_occursBounds() {
-    val schemaFile = 
Util.daffodilPath("daffodil-test/src/test/resources/org/apache/daffodil/section06/entities/charClassEntities.dfdl.xsd")
-    val inputFile = 
Util.daffodilPath("daffodil-cli/src/it/resources/org/apache/daffodil/CLI/input/input8.txt")
-    val (testSchemaFile, testInputFile) = if (Util.isWindows) 
(Util.cmdConvert(schemaFile), Util.cmdConvert(inputFile)) else (schemaFile, 
inputFile)
-
-    val shell = if (Util.isWindows) Util.start("", envp = DAFFODIL_JAVA_OPTS) 
else Util.start("")
-
-    try {
-      val cmd = String.format("%s -d parse -s %s -r matrix %s", Util.binPath, 
testSchemaFile, testInputFile)
-      shell.sendLine(cmd)
-      shell.expect(contains("(debug)"))
-
-      shell.sendLine("display info occursBounds")
-      shell.expect(contains("(debug)"))
-
-      shell.sendLine("s")
-      shell.expect(contains("occursBounds: 1"))
-
-      shell.sendLine("complete")
-      shell.sendLine("quit")
-    } finally {
-      shell.close()
-    }
-  }
-
-  @Test def test_3266_CLI_Debugger_occursBounds_shortForm() {
-    val schemaFile = 
Util.daffodilPath("daffodil-test/src/test/resources/org/apache/daffodil/section06/entities/charClassEntities.dfdl.xsd")
-    val inputFile = 
Util.daffodilPath("daffodil-cli/src/it/resources/org/apache/daffodil/CLI/input/input8.txt")
-    val (testSchemaFile, testInputFile) = if (Util.isWindows) 
(Util.cmdConvert(schemaFile), Util.cmdConvert(inputFile)) else (schemaFile, 
inputFile)
-
-    val shell = if (Util.isWindows) Util.start("", envp = DAFFODIL_JAVA_OPTS) 
else Util.start("")
-
-    try {
-      val cmd = String.format("%s -d parse -s %s -r matrix %s", Util.binPath, 
testSchemaFile, testInputFile)
-      shell.sendLine(cmd)
-      shell.expect(contains("(debug)"))
-
-      shell.sendLine("display info ob")
-      shell.expect(contains("(debug)"))
-      shell.sendLine("info oc")
-      shell.expect(contains("error: undefined info command: oc"))
-
-      shell.sendLine("s")
-      shell.expect(contains("occursBounds: 1"))
-
-      shell.sendLine("complete")
-      shell.sendLine("quit")
-    } finally {
-      shell.close()
-    }
-  }
+  //
 
 Review comment:
   Delete commented code. Note that there is no more occursBounds stack/state, 
so these tests and that debugger command aren't relevant anymore.

----------------------------------------------------------------
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

Reply via email to