Lines Matching refs:m_aTestHelper
42 TestHelper m_aTestHelper; field in Test08
48 m_aTestHelper = new TestHelper( aLogWriter, "Test08: " ); in Test08()
62 m_aTestHelper.Error( "Can't create temporary storage representation!" ); in test()
72 …m_aTestHelper.Message( "Optional interface XEncryptionProtectedSource is not implemented, feature … in test()
84 m_aTestHelper.Error( "Can't set a common encryption key for the storage, exception:" + e ); in test()
89 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test()
94 m_aTestHelper.Error( "Can't create substorage!" ); in test()
105 …if ( !m_aTestHelper.WBToSubstrOfEncr( xTempSubStorage, "SubStream1", "MediaType1", true, pBytes1, … in test()
107 …if ( !m_aTestHelper.WBToSubstrOfEncr( xTempSubStorage, "BigSubStream1", "MediaType1", true, pBigBy… in test()
113 …if ( !m_aTestHelper.WBToSubstrOfEncr( xTempSubStorage, "SubStream2", "MediaType2", false, pBytes2,… in test()
115 …if ( !m_aTestHelper.WBToSubstrOfEncr( xTempSubStorage, "BigSubStream2", "MediaType2", false, pBigB… in test()
124 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempSubStorage, "SubStream3", "MediaType3", false,… in test()
126 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempSubStorage, "BigSubStream3", "MediaType3", fal… in test()
130 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test()
137 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
144 String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); in test()
147 m_aTestHelper.Error( "No valid temporary file was created!" ); in test()
160 m_aTestHelper.Error( "Can't create storage based on temporary file!" ); in test()
166 if ( !m_aTestHelper.copyStorage( xTempStorage, xTempFileStorage ) ) in test()
170 …if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStor… in test()
183 m_aTestHelper.Error( "Can't reopen storage based on temporary file!" ); in test()
187 …if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType4", true, ElementModes.READ … in test()
191 XStorage xResultSubStorage = m_aTestHelper.openSubStorage( xResultStorage, in test()
196 m_aTestHelper.Error( "Can't open existing substorage!" ); in test()
200 …if ( !m_aTestHelper.checkStorageProperties( xResultSubStorage, "MediaType5", false, ElementModes.R… in test()
209 …m_aTestHelper.Error( "XEncryptionProtectedSource was successfully used already, so it must be supp… in test()
218 m_aTestHelper.Error( "Can't set a common encryption key for the storage, exception:" + e ); in test()
222 …if ( !m_aTestHelper.checkEncrStream( xResultSubStorage, "SubStream1", "MediaType1", pBytes1, sPass… in test()
224 …if ( !m_aTestHelper.checkEncrStream( xResultSubStorage, "BigSubStream1", "MediaType1", pBigBytes, … in test()
227 … if ( !m_aTestHelper.checkStream( xResultSubStorage, "SubStream2", "MediaType2", false, pBytes2 ) ) in test()
229 …if ( !m_aTestHelper.checkStream( xResultSubStorage, "BigSubStream2", "MediaType2", false, pBigByte… in test()
233 if ( !m_aTestHelper.checkStream( xResultSubStorage, "SubStream3", "MediaType3", true, pBytes3 ) ) in test()
235 …if ( !m_aTestHelper.checkStream( xResultSubStorage, "BigSubStream3", "MediaType3", true, pBigBytes… in test()
239 if ( !m_aTestHelper.disposeStorage( xResultStorage ) ) in test()
246 m_aTestHelper.Error( "Exception: " + e ); in test()