| net.sf.jmoney.test.OpenSessionTest
OpenSessionTest | public class OpenSessionTest extends TestCase (Code) | | Tests regarding opening JMoney session files.
author: Johann Gyger |
setUp | public void setUp()(Code) | | |
tearDown | public void tearDown()(Code) | | |
testNewEmptyCompressed | public void testNewEmptyCompressed() throws IOException, CoreException(Code) | | Test if a JMoney file with the properties below can be opened:
- New format
- Empty (minimal file contents)
- Compressed
throws: CoreException - throws: IOException - |
testNewEmptyUncompressed | public void testNewEmptyUncompressed() throws IOException, CoreException(Code) | | Test if a JMoney file with the properties below can be opened:
- New format
- Empty (minimal file contents)
- Uncompressed
throws: CoreException - throws: IOException - |
testOldEmptyCompressed | public void testOldEmptyCompressed() throws IOException, CoreException(Code) | | Test if a JMoney file with the properties below can be opened:
- Old format (version 0.4.5 or prior)
- Empty (minimal file contents)
- Compressed
throws: CoreException - throws: IOException - |
testOldEmptyUncompressed | public void testOldEmptyUncompressed() throws IOException, CoreException(Code) | | Test if a JMoney file with the properties below can be opened:
- Old format (version 0.4.5 or prior)
- Empty (minimal file contents)
- Uncompressed
throws: CoreException - throws: IOException - |
testOpenUpdateSaveCycle | public void testOpenUpdateSaveCycle() throws IOException, CoreException(Code) | | Test if a JMoney file with the properties below can be opened:
- New format
- Empty (minimal file contents)
- Compressed
throws: CoreException - throws: IOException - |
|
|