Class CHATShortRoundTrip
java.lang.Object
ca.phon.phontalk.plugin.CHATShortRoundTrip
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 intstatic Collection<Object[]> static voidcollectFiles(Path baseFolder, Path folder, List<Path> xmlPaths) static voidstatic voidperformTest(String filename) boolean
-
Constructor Details
-
CHATShortRoundTrip
-
-
Method Details
-
collectFiles
- Throws:
IOExceptionInterruptedException
-
cloneGitRepo
- Throws:
IOExceptionInterruptedException
-
collectFiles
public static void collectFiles(Path baseFolder, Path folder, List<Path> xmlPaths) throws IOException - Throws:
IOException
-
testRoundTrip
- Throws:
IOExceptionXMLStreamException
-
performTest
-
main
-