Lines Matching refs:m_aTestHelper
43 TestHelper m_aTestHelper; field in Test05
49 m_aTestHelper = new TestHelper( aLogWriter, "Test05: " ); in Test05()
56 String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); in test()
59 m_aTestHelper.Error( "No valid temporary file was created!" ); in test()
72 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in test()
77 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempFileStorage, in test()
82 m_aTestHelper.Error( "Can't create substorage!" ); in test()
87 XStorage xSubSubStorage = m_aTestHelper.openSubStorage( xTempSubStorage, in test()
92 m_aTestHelper.Error( "Can't create substorage!" ); in test()
101 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "BigSubStream1", "MediaType1", true, pB… in test()
105 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "BigSubStream2", "MediaType2", false, p… in test()
111 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "SubStream1", "MediaType1", true, pByte… in test()
117 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "SubStream2", "MediaType2", false, pByt… in test()
121 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempFileStorage, in test()
128 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
135 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xSubSubStorage, in test()
143 if ( !m_aTestHelper.commitStorage( xSubSubStorage ) ) in test()
146 if ( !m_aTestHelper.commitStorage( xTempSubStorage ) ) in test()
149 if ( !m_aTestHelper.commitStorage( xTempFileStorage ) ) in test()
153 if ( !m_aTestHelper.cantOpenStorage( xTempFileStorage, "SubStorage1" ) ) in test()
158 XStream xSubStream1 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
161 XStream xBigSubStream1 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
164 XStream xSubStream2 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
167 XStream xBigSubStream2 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
175 XStream xSubStream2clone = m_aTestHelper.OpenStream( xSubSubStorage, in test()
178 XStream xBigSubStream2clone = m_aTestHelper.OpenStream( xSubSubStorage, in test()
186 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.WRITE ) in test()
187 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.READ ) in test()
188 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "BigSubStream1", ElementModes.WRITE ) in test()
189 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "BigSubStream1", ElementModes.READ ) ) in test()
193 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream2", ElementModes.WRITE ) in test()
194 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "BigSubStream2", ElementModes.WRITE ) ) in test()
199 if ( !m_aTestHelper.disposeStorage( xTempSubStorage ) ) in test()
206 m_aTestHelper.Error( "Substorage was not disposed!" ); in test()
213 m_aTestHelper.Error( "Wrong exception is thrown by disposed storage: " + e ); in test()
220 m_aTestHelper.Error( "Writeable substream was not disposed!" ); in test()
227 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
234 m_aTestHelper.Error( "Readonly substream was not disposed!" ); in test()
241 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
247 if ( !m_aTestHelper.disposeStorage( xTempFileStorage ) ) in test()
260 m_aTestHelper.Error( "Can't reopen storage based on temporary file!" ); in test()
264 …if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType3", true, ElementModes.READ … in test()
268 XStorage xResSubStorage = m_aTestHelper.openSubStorage( xResultStorage, in test()
273 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
277 …if ( !m_aTestHelper.checkStorageProperties( xResSubStorage, "MediaType4", false, ElementModes.READ… in test()
281 XStorage xResSubSubStorage = m_aTestHelper.openSubStorage( xResSubStorage, in test()
286 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
290 …if ( !m_aTestHelper.checkStorageProperties( xResSubSubStorage, "MediaType5", false, ElementModes.R… in test()
294 if ( !m_aTestHelper.checkStream( xResSubSubStorage, "SubStream1", "MediaType1", true, pBytes1 ) ) in test()
297 …if ( !m_aTestHelper.checkStream( xResSubSubStorage, "BigSubStream1", "MediaType1", true, pBigBytes… in test()
300 … if ( !m_aTestHelper.checkStream( xResSubSubStorage, "SubStream2", "MediaType2", false, pBytes2 ) ) in test()
303 …if ( !m_aTestHelper.checkStream( xResSubSubStorage, "BigSubStream2", "MediaType2", false, pBigByte… in test()
307 if ( !m_aTestHelper.disposeStorage( xResultStorage ) ) in test()
314 m_aTestHelper.Error( "Exception: " + e ); in test()