Lines Matching refs:m_aTestHelper
44 TestHelper m_aTestHelper; field in Test10
50 m_aTestHelper = new TestHelper( aLogWriter, "Test10: " ); in Test10()
63 m_aTestHelper.Error( "Can't create temporary storage representation!" ); in test()
74 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBytes1… in test()
78 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "BigSubStream1", "MediaType1", true, pBig… in test()
83 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test()
88 m_aTestHelper.Error( "Can't create substorage!" ); in test()
95 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempSubStorage, "SubStream2", "MediaType2", true, pByt… in test()
99 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempSubStorage, "BigSubStream2", "MediaType2", true, p… in test()
103 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test()
109 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempSubStorage, in test()
120 …XStorage xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xStorageFactory, xTempStorage, "SubS… in test()
124 m_aTestHelper.Error( "The result of clone is empty!" ); in test()
131 m_aTestHelper.Error( "XNameAccess is not implemented by the clone!" ); in test()
135 if ( !m_aTestHelper.checkStorageProperties( xClonedSubStorage, "", true, ElementModes.WRITE ) ) in test()
140 m_aTestHelper.Error( "The new substorage still was not commited so it must be empty!" ); in test()
144 if ( !m_aTestHelper.disposeStorage( xClonedSubStorage ) ) in test()
152 XStream xClonedSubStream = m_aTestHelper.cloneSubStream( xTempStorage, "SubStream1" ); in test()
153 …if ( !m_aTestHelper.InternalCheckStream( xClonedSubStream, "SubStream1", "MediaType1", true, pByte… in test()
156 XStream xClonedBigSubStream = m_aTestHelper.cloneSubStream( xTempStorage, "BigSubStream1" ); in test()
157 …if ( !m_aTestHelper.InternalCheckStream( xClonedBigSubStream, "BigSubStream1", "MediaType1", true,… in test()
160 if ( !m_aTestHelper.disposeStream( xClonedSubStream, "SubStream1" ) ) in test()
163 if ( !m_aTestHelper.disposeStream( xClonedBigSubStream, "BigSubStream1" ) ) in test()
170 if ( !m_aTestHelper.commitStorage( xTempSubStorage ) ) in test()
173 …xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xStorageFactory, xTempStorage, "SubStorage1" … in test()
176 m_aTestHelper.Error( "The result of clone is empty!" ); in test()
180 …if ( !m_aTestHelper.checkStorageProperties( xClonedSubStorage, "MediaType4", true, ElementModes.WR… in test()
183 if ( !m_aTestHelper.checkStream( xClonedSubStorage, "SubStream2", "MediaType2", true, pBytes2 ) ) in test()
186 …if ( !m_aTestHelper.checkStream( xClonedSubStorage, "BigSubStream2", "MediaType2", true, pBigBytes… in test()
189 XStorage xCloneOfRoot = m_aTestHelper.cloneStorage( m_xStorageFactory, xTempStorage ); in test()
192 m_aTestHelper.Error( "The result of root clone is empty!" ); in test()
199 m_aTestHelper.Error( "XNameAccess is not implemented by the root clone!" ); in test()
205 m_aTestHelper.Error( "The root storage still was not commited so it's clone must be empty!" ); in test()
209 if ( !m_aTestHelper.disposeStorage( xCloneOfRoot ) ) in test()
218 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test()
221 xCloneOfRoot = m_aTestHelper.cloneStorage( m_xStorageFactory, xTempStorage ); in test()
224 m_aTestHelper.Error( "The result of root clone is empty!" ); in test()
231 m_aTestHelper.Error( "The result of root clone is wrong!" ); in test()
235 …if ( !m_aTestHelper.checkStorageProperties( xSubStorageOfClone, "MediaType4", false, ElementModes.… in test()
238 … if ( !m_aTestHelper.checkStream( xSubStorageOfClone, "SubStream2", "MediaType2", true, pBytes2 ) ) in test()
241 …if ( !m_aTestHelper.checkStream( xSubStorageOfClone, "BigSubStream2", "MediaType2", true, pBigByte… in test()
248 m_aTestHelper.Error( "Exception: " + e ); in test()