Lines Matching refs:m_aTestHelper
42 TestHelper m_aTestHelper; field in Test15
48 m_aTestHelper = new TestHelper( aLogWriter, "Test15: " ); in Test15()
70 String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); in testForPath()
73 m_aTestHelper.Error( "No valid temporary file was created!" ); in testForPath()
86 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in testForPath()
96 …m_aTestHelper.Message( "Optional interface XEncryptionProtectedSource is not implemented, feature … in testForPath()
108 m_aTestHelper.Error( "Can't set a common encryption key for the storage, exception:" + e ); in testForPath()
118 …if ( !m_aTestHelper.WBToSubstrOfEncrH( xTempFileStorage, aSubStream1Path, "MediaType1", true, pByt… in testForPath()
123 …if ( !m_aTestHelper.WriteBytesToEncrStreamH( xTempFileStorage, aSubStream2Path, "MediaType2", fals… in testForPath()
128 …if ( !m_aTestHelper.WriteBytesToEncrStreamH( xTempFileStorage, aSubStream3Path, "MediaType3", fals… in testForPath()
133 …if ( !m_aTestHelper.WBToSubstrOfEncrH( xTempFileStorage, aSubStream4Path, "MediaType2", true, pByt… in testForPath()
138 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempFileStorage, in testForPath()
145 if ( !m_aTestHelper.commitStorage( xTempFileStorage ) ) in testForPath()
149 if ( !m_aTestHelper.disposeStorage( xTempFileStorage ) ) in testForPath()
163 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in testForPath()
173 m_aTestHelper.Error( "XEncryptionProtectedSource is supported, but can not be retrieved!" ); in testForPath()
182 m_aTestHelper.Error( "Can't set a common encryption key for the storage, exception:" + e ); in testForPath()
187 …if ( !m_aTestHelper.checkStorageProperties( xTempFileStorage, "MediaType3", true, ElementModes.WRI… in testForPath()
190 …if ( !m_aTestHelper.checkEncrStreamH( xTempFileStorage, aSubStream1Path, "MediaType1", pBytes1, sP… in testForPath()
193 …if ( !m_aTestHelper.checkStreamH( xTempFileStorage, aSubStream2Path, "MediaType2", true, pBytes2 )… in testForPath()
196 …if ( !m_aTestHelper.checkStreamH( xTempFileStorage, aSubStream3Path, "MediaType3", true, pBytes2 )… in testForPath()
199 …if ( !m_aTestHelper.cantOpenEncrStreamH( xTempFileStorage, aSubStream4Path, ElementModes.READ, sPa… in testForPath()
204 …if ( !m_aTestHelper.WriteBytesToEncrStreamH( xTempFileStorage, aSubStream1Path, "MediaType4", true… in testForPath()
209 …if ( !m_aTestHelper.WriteBytesToStreamH( xTempFileStorage, aSubStream2Path, "MediaType5", true, pB… in testForPath()
213 …if ( m_aTestHelper.ChangeStreamPassH( xTempFileStorage, aSubStream2Path, sPass2, sPass1, true ) !=… in testForPath()
218 …if ( !m_aTestHelper.WriteBytesToStreamH( xTempFileStorage, aSubStream3Path, "MediaType5", true, pB… in testForPath()
222 if ( !m_aTestHelper.commitStorage( xTempFileStorage ) ) in testForPath()
226 if ( !m_aTestHelper.disposeStorage( xTempFileStorage ) ) in testForPath()
240 m_aTestHelper.Error( "Can't reopen storage based on temporary file!" ); in testForPath()
250 m_aTestHelper.Error( "XEncryptionProtectedSource is supported, but can not be retrieved!" ); in testForPath()
259 m_aTestHelper.Error( "Can't set a common encryption key for the storage, exception:" + e ); in testForPath()
263 …if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType3", true, ElementModes.READ … in testForPath()
266 … if ( !m_aTestHelper.checkStreamH( xResultStorage, aSubStream1Path, "MediaType4", true, pBytes2 ) ) in testForPath()
269 … if ( !m_aTestHelper.checkStreamH( xResultStorage, aSubStream2Path, "MediaType5", true, pBytes1 ) ) in testForPath()
272 …if ( !m_aTestHelper.checkEncrStreamH( xResultStorage, aSubStream3Path, "MediaType3", pBytes2, sPas… in testForPath()
276 if ( !m_aTestHelper.disposeStorage( xResultStorage ) ) in testForPath()
283 m_aTestHelper.Error( "Exception: " + e ); in testForPath()