Class ShortRoundTrip
java.lang.Object
ca.phon.phontalk.plugin.ShortRoundTrip
Short round trip test for phon files. This test will read phon files from a git repository, convert them to
talkbank xml, then to chat, then back to talkbank xml. The talkbank xml is compared to the xml produced by phon
in the first step. If there are any differences, the differences are output to a file. If there are any errors
in the conversion process, the errors are output to a file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
static Collection
<Object[]> static void
collectFiles
(Path baseFolder, Path folder, List<Path> xmlPaths) static void
static void
performTest
(String filename) boolean
-
Constructor Details
-
ShortRoundTrip
-
-
Method Details
-
collectFiles
- Throws:
IOException
InterruptedException
-
cloneGitRepo
- Throws:
IOException
InterruptedException
-
collectFiles
public static void collectFiles(Path baseFolder, Path folder, List<Path> xmlPaths) throws IOException - Throws:
IOException
-
testRoundTrip
- Throws:
IOException
XMLStreamException
-
performTest
-
main
-