public void testCpu() throws LogFile.LockException, IOException, SystemProcessException, InvalidParameterException { if (Utilities.isWindowsOS()) { return; } ReadOnlyAutodoc autodoc = AutodocFactory.getInstance( manager, TestUtilites.INSTANCE.copyTestFile( AutodocTests.TEST_ROOT_DIR.getAbsolutePath(), TEST_DIR_NAME, "cpu.adoc"), false); assertFalse(autodoc.isError()); }
public void testSimple() throws LogFile.LockException, IOException, SystemProcessException, InvalidParameterException { if (Utilities.isWindowsOS()) { return; } ReadOnlyAutodoc autodoc = AutodocFactory.getInstance( manager, TestUtilites.INSTANCE.copyTestFile( AutodocTests.TEST_ROOT_DIR.getAbsolutePath(), TEST_DIR_NAME, "simple.adoc"), false); // only use with getTestInstance // autodoc.runInternalTest(AutodocFactory.InternalTestType.PARSER,false,false); // only use with getInstance // autodoc.printStoredData(); assertFalse(autodoc.isError()); }