Test01.java (a740f2aa) Test01.java (a893be29)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 132 unchanged lines hidden (view full) ---

141 ElementModes.WRITE );
142 if ( xTempFileStorage == null )
143 {
144 m_aTestHelper.Error( "Can't create storage based on temporary file!" );
145 return false;
146 }
147
148 // copy xTempStorage to xTempFileStorage
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 132 unchanged lines hidden (view full) ---

141 ElementModes.WRITE );
142 if ( xTempFileStorage == null )
143 {
144 m_aTestHelper.Error( "Can't create storage based on temporary file!" );
145 return false;
146 }
147
148 // copy xTempStorage to xTempFileStorage
149 // xTempFileStorage will be automatically commited
149 // xTempFileStorage will be automatically committed
150 if ( !m_aTestHelper.copyStorage( xTempStorage, xTempFileStorage ) )
151 return false;
152
153 // dispose used storages to free resources
154 if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStorage ) )
155 return false;
156
157 // ================================================

--- 64 unchanged lines hidden ---
150 if ( !m_aTestHelper.copyStorage( xTempStorage, xTempFileStorage ) )
151 return false;
152
153 // dispose used storages to free resources
154 if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStorage ) )
155 return false;
156
157 // ================================================

--- 64 unchanged lines hidden ---