org.bibalex.daf.entities.phase
Class Phase_Process_Test
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bibalex.daf.entities.phase.Phase_Process_Test
- All Implemented Interfaces:
- junit.framework.Test
public class Phase_Process_Test
- extends junit.framework.TestCase
Copyright (c) 2006-2007 by Bibliotheca Alexandrina
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Test for Phase, process functionality only.
Important: This test assumes the following:
1) A folder named 'ToProcess' exists at the server
2) The folder passes Pre-Processing checks.
- Author:
- Shehab.Kamal
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
xmlDescription
private java.lang.String xmlDescription
curDir
private java.lang.String curDir
server
private java.lang.String server
userName
private java.lang.String userName
password
private java.lang.String password
Phase_Process_Test
public Phase_Process_Test()
setUp
public void setUp()
throws ResourceManagerException
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
ResourceManagerException
testApplyPrePhaseChecks
public void testApplyPrePhaseChecks()
throws java.lang.Exception
- Throws:
java.lang.Exception
testApplyPrePhaseActions
public void testApplyPrePhaseActions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPause
public void testPause()
throws PhaseActionException
- Throws:
PhaseActionException
testApplyPostPhaseChecks
public void testApplyPostPhaseChecks()
throws java.lang.Exception
- Throws:
java.lang.Exception
testApplyPostPhaseActions
public void testApplyPostPhaseActions()
throws java.lang.Exception
- Throws:
java.lang.Exception