Ejemplo 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());
 }
Ejemplo n.º 2
0
 public void testJoinRejoin()
     throws LogFile.LockException, IOException, SystemProcessException, InvalidParameterException {
   String fileName = "join-rejoin.adoc";
   File file = new File(testsDir, fileName);
   if (!file.exists() || !file.canRead()) {
     file = new File(new File(new File("."), "tests"), fileName);
   }
   ReadOnlyAutodoc autodoc = AutodocFactory.getInstance(manager, file, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 3
0
 public void testUitest()
     throws LogFile.LockException, IOException, SystemProcessException, InvalidParameterException {
   String fileName = "uitest.adoc";
   File file = new File(testsDir, fileName);
   if (!file.exists() || !file.canRead()) {
     file = new File(new File(new File("."), "tests"), fileName);
   }
   ReadOnlyAutodoc autodoc = AutodocFactory.getInstance(manager, file, false);
   // The file come from ./tests, so the working directory should be the default for
   // tests run from eclipse.
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 4
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());
 }
Ejemplo n.º 5
0
 public void testFineAlign()
     throws LogFile.LockException, IOException, SystemProcessException, InvalidParameterException {
   String fileName = "fine-align.adoc";
   File file = new File(testsDir, fileName);
   if (!file.exists() || !file.canRead()) {
     file = new File(new File(new File("."), "tests"), fileName);
   }
   ReadOnlyAutodoc autodoc = AutodocFactory.getInstance(manager, file, false);
   // only use with getTestInstance
   // autodoc.runInternalTest(AutodocFactory.InternalTestType.PARSER,false,false);
   // only use with getInstance
   // autodoc.printStoredData();
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 6
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());
 }
Ejemplo n.º 7
0
 public void testCorrSearch3d() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.CORR_SEARCH_3D, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 8
0
 public void testCombineFft() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.COMBINE_FFT, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 9
0
 public void testCcderaser() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.CCDERASER, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 10
0
 public void testXfjointomo() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.XFJOINTOMO, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 11
0
 public void testTiltxcorr() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.TILTXCORR, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 12
0
 public void testSolvematch() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.SOLVEMATCH, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 13
0
 public void testNewstack() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.NEWSTACK, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 14
0
 public void testWarpVol() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.WARP_VOL, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }
Ejemplo n.º 15
0
 public void testCtfPhaseFlip() throws FileNotFoundException, IOException, LogFile.LockException {
   ReadOnlyAutodoc autodoc =
       AutodocFactory.getInstance(manager, AutodocFactory.CTF_PHASE_FLIP, AxisID.ONLY, false);
   assertFalse(autodoc.isError());
 }