Lines Matching refs:m_aTestHelper
42 TestHelper m_aTestHelper; field in Test05
48 m_aTestHelper = new TestHelper( "Test05: " ); in Test05()
55 String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); in test()
58 m_aTestHelper.Error( "No valid temporary file was created!" ); in test()
71 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in test()
76 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempFileStorage, in test()
81 m_aTestHelper.Error( "Can't create substorage!" ); in test()
86 XStorage xSubSubStorage = m_aTestHelper.openSubStorage( xTempSubStorage, in test()
91 m_aTestHelper.Error( "Can't create substorage!" ); in test()
99 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "SubStream1", "MediaType1", true, pByte… in test()
105 …if ( !m_aTestHelper.WriteBytesToSubstream( xSubSubStorage, "SubStream2", "MediaType2", false, pByt… in test()
109 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempFileStorage, in test()
116 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
123 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xSubSubStorage, in test()
131 if ( !m_aTestHelper.commitStorage( xSubSubStorage ) ) in test()
134 if ( !m_aTestHelper.commitStorage( xTempSubStorage ) ) in test()
137 if ( !m_aTestHelper.commitStorage( xTempFileStorage ) ) in test()
141 if ( !m_aTestHelper.cantOpenStorage( xTempFileStorage, "SubStorage1" ) ) in test()
146 XStream xSubStream1 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
149 XStream xSubStream2 = m_aTestHelper.OpenStream( xSubSubStorage, in test()
156 XStream xSubStream2clone = m_aTestHelper.OpenStream( xSubSubStorage, in test()
164 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.ELEMENT_WRITE ) in test()
165 || !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream1", ElementModes.ELEMENT_READ ) ) in test()
169 if ( !m_aTestHelper.cantOpenStream( xSubSubStorage, "SubStream2", ElementModes.ELEMENT_WRITE ) ) in test()
174 if ( !m_aTestHelper.disposeStorage( xTempSubStorage ) ) in test()
181 m_aTestHelper.Error( "Substorage was not disposed!" ); in test()
188 m_aTestHelper.Error( "Wrong exception is thrown by disposed storage: " + e ); in test()
195 m_aTestHelper.Error( "Writeable substream was not disposed!" ); in test()
202 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
209 m_aTestHelper.Error( "Readonly substream was not disposed!" ); in test()
216 m_aTestHelper.Error( "Wrong exception is thrown by disposed stream: " + e ); in test()
222 if ( !m_aTestHelper.disposeStorage( xTempFileStorage ) ) in test()
235 m_aTestHelper.Error( "Can't reopen storage based on temporary file!" ); in test()
239 …if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType3", true, ElementModes.ELEME… in test()
243 XStorage xResSubStorage = m_aTestHelper.openSubStorage( xResultStorage, in test()
248 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
252 …if ( !m_aTestHelper.checkStorageProperties( xResSubStorage, "MediaType4", false, ElementModes.ELEM… in test()
256 XStorage xResSubSubStorage = m_aTestHelper.openSubStorage( xResSubStorage, in test()
261 m_aTestHelper.Error( "Can't open existing substorage 'SubSubStorage'!" ); in test()
265 …if ( !m_aTestHelper.checkStorageProperties( xResSubSubStorage, "MediaType5", false, ElementModes.E… in test()
269 if ( !m_aTestHelper.checkStream( xResSubSubStorage, "SubStream1", "MediaType1", pBytes1 ) ) in test()
272 if ( !m_aTestHelper.checkStream( xResSubSubStorage, "SubStream2", "MediaType2", pBytes2 ) ) in test()
276 if ( !m_aTestHelper.disposeStorage( xResultStorage ) ) in test()
283 m_aTestHelper.Error( "Exception: " + e ); in test()