Esempio n. 1
0
 public void testBeadtrack() throws FileNotFoundException, IOException, LogFile.LockException {
   // TEMP
   if (Utilities.isWindowsOS()) {
     return;
   }
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.BEADTRACK, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Esempio n. 2
0
 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());
 }
Esempio n. 3
0
 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());
 }