com.ricebridge.xmlman.test
Class ThreadTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.ricebridge.xmlman.test.ThreadTest
- All Implemented Interfaces:
- junit.framework.Test
- public class ThreadTest
- extends junit.framework.TestCase
Test cases for XmlManager thread handling.
The Source Code of this Java class
is available under a BSD-style license.
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
ThreadTest
public ThreadTest(String pName)
suite
public static junit.framework.TestSuite suite()
main
public static void main(String[] pArgs)
makeThreadLoadFiles
public static void makeThreadLoadFiles()
throws Exception
- Throws:
Exception
xtestNormalLoad
public void xtestNormalLoad()
throws Exception
- Throws:
Exception
xtestBackgroundLoad
public void xtestBackgroundLoad()
throws Exception
- Throws:
Exception
xtestNormalSave
public void xtestNormalSave()
throws Exception
- Throws:
Exception
testBackgroundSave
public void testBackgroundSave()
throws Exception
- Throws:
Exception
runTest
public void runTest(int pCycles,
int pFiles,
XmlManager pXmlManager,
List pOperations)
throws Exception
- Throws:
Exception
checkLoadStringList
public static void checkLoadStringList(int pFileIndex,
List pData)
checkSaveStringList
public static void checkSaveStringList(int pFileIndex,
File pFile)
throws Exception
- Throws:
Exception
makeStringListData
public static List makeStringListData(int pFileIndex)
writeFile
public static void writeFile(File pFile,
String pContent)
throws Exception
- Throws:
Exception
readFile
public static String readFile(File pFile)
throws Exception
- Throws:
Exception
Copyright © 2004-2005 Ricebridge