Lines Matching refs:m_aTestHelper
45 TestHelper m_aTestHelper; field in Test08
51 m_aTestHelper = new TestHelper( aLogWriter, "Test08: " ); in Test08()
68 XStream xTempFileStream = m_aTestHelper.CreateTempFileStream( m_xMSF ); in test()
73 XStorage xTempStorage = m_aTestHelper.createStorageFromStream( m_xStorageFactory, in test()
78 m_aTestHelper.Error( "Can't create temporary storage representation!" ); in test()
83 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test()
88 m_aTestHelper.Error( "Can't create substorage!" ); in test()
95 if ( !m_aTestHelper.WriteBytesToSubstream( xTempSubStorage, in test()
104 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test()
111 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
118 if ( !m_aTestHelper.commitStorage( xTempSubStorage ) ) in test()
122 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test()
126 if ( !m_aTestHelper.disposeStorage( xTempSubStorage ) ) in test()
137 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test()
144 XStorage xResWriteStorage = m_aTestHelper.createStorageFromStream( m_xStorageFactory, in test()
149 m_aTestHelper.Error( "Can't open storage based on input stream!" ); in test()
153 if ( !m_aTestHelper.checkStorageProperties( xResWriteStorage, in test()
163 XStorage xResWSubStorage = m_aTestHelper.openSubStorage( xResWriteStorage, in test()
168 m_aTestHelper.Error( "Can't open substorage for writing after it was opened for reading!" ); in test()
172 if ( !m_aTestHelper.checkStorageProperties( xResWSubStorage, in test()
178 if ( !m_aTestHelper.checkStream( xResWSubStorage, in test()
186 if ( !m_aTestHelper.disposeStorage( xResWriteStorage ) ) in test()
196 if ( !m_aTestHelper.closeOutput( xTempFileStream ) ) in test()
199 XInputStream xTempInStream = m_aTestHelper.getInputStream( xTempFileStream ); in test()
205 XStorage xResultStorage = m_aTestHelper.createStorageFromInputStream( m_xStorageFactory, in test()
209 m_aTestHelper.Error( "Can't open storage based on input stream!" ); in test()
213 if ( !m_aTestHelper.checkStorageProperties( xResultStorage, in test()
226 m_aTestHelper.Error( "Exception: " + e ); in test()
233 XStorage xReadSubStorage1 = m_aTestHelper.openSubStorage( xStorage, in checkSubStorages()
237 XStorage xReadSubStorage2 = m_aTestHelper.openSubStorage( xStorage, in checkSubStorages()
243 m_aTestHelper.Error( "Can't open substorage for reading!" ); in checkSubStorages()
247 if ( !m_aTestHelper.checkStorageProperties( xReadSubStorage1, in checkSubStorages()
253 if ( !m_aTestHelper.checkStorageProperties( xReadSubStorage2, in checkSubStorages()
259 if ( !m_aTestHelper.checkStream( xReadSubStorage1, in checkSubStorages()
266 if ( !m_aTestHelper.checkStream( xReadSubStorage2, in checkSubStorages()
273 if ( !m_aTestHelper.disposeStorage( xReadSubStorage1 ) ) in checkSubStorages()
276 if ( !m_aTestHelper.disposeStorage( xReadSubStorage2 ) ) in checkSubStorages()