Lines Matching refs:m_aTestHelper
44 TestHelper m_aTestHelper; field in Test05
50 m_aTestHelper = new TestHelper( aLogWriter, "Test05: " ); in Test05()
77 String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); in test()
80 m_aTestHelper.Error( "No valid temporary file was created!" ); in test()
85 XStorage xTempFileStorage = m_aTestHelper.createStorageFromURL( m_xStorageFactory, in test()
90 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in test()
95 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempFileStorage, in test()
100 m_aTestHelper.Error( "Can't create substorage!" ); in test()
105 XStorage xSubSubStorage = m_aTestHelper.openSubStorage( xTempSubStorage, in test()
110 m_aTestHelper.Error( "Can't create substorage!" ); in test()
118 if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, in test()
129 if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, in test()
138 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempFileStorage, in test()
145 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
152 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xSubSubStorage, in test()
160 if ( !m_aTestHelper.commitStorage( xSubSubStorage ) ) in test()
163 if ( !m_aTestHelper.commitStorage( xTempSubStorage ) ) in test()
166 if ( !m_aTestHelper.commitStorage( xTempFileStorage ) ) in test()
170 if ( !m_aTestHelper.cantOpenStorage( xTempFileStorage, "SubStorage1" ) ) in test()
175 XStream xSubStream1 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
178 XStream xSubStream2 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
185 XStream xSubStream2clone = m_aTestHelper.OpenStream( xSubSubStorage, in test()
193 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.WRITE ) in test()
194 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.READ ) ) in test()
198 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream2", ElementModes.WRITE ) ) in test()
203 if ( !m_aTestHelper.disposeStorage( xTempSubStorage ) ) in test()
210 m_aTestHelper.Error( "Substorage was not disposed!" ); in test()
217 m_aTestHelper.Error( "Wrong exception is thrown by disposed storage: " + e ); in test()
224 m_aTestHelper.Error( "Writeable substream was not disposed!" ); in test()
231 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
238 m_aTestHelper.Error( "Readonly substream was not disposed!" ); in test()
245 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
251 if ( !m_aTestHelper.disposeStorage( xTempFileStorage ) ) in test()
259 XStorage xResultStorage = m_aTestHelper.createStorageFromURL( m_xStorageFactory, in test()
264 m_aTestHelper.Error( "Can't reopen storage based on temporary file!" ); in test()
268 if ( !m_aTestHelper.checkStorageProperties( xResultStorage, in test()
275 XStorage xResSubStorage = m_aTestHelper.openSubStorage( xResultStorage, in test()
280 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
284 if ( !m_aTestHelper.checkStorageProperties( xResSubStorage, in test()
291 XStorage xResSubSubStorage = m_aTestHelper.openSubStorage( xResSubStorage, in test()
296 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
300 if ( !m_aTestHelper.checkStorageProperties( xResSubSubStorage, in test()
307 if ( !m_aTestHelper.checkStream( xResSubSubStorage, in test()
314 if ( !m_aTestHelper.checkStream( xResSubSubStorage, in test()
322 if ( !m_aTestHelper.disposeStorage( xResultStorage ) ) in test()
329 m_aTestHelper.Error( "Exception: " + e ); in test()