/aoo4110/main/package/qa/storages/ |
H A D | RegressionTest_i27773.java | 93 if ( xTempStorage == null ) in test() 100 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 110 XStorage xEmptySubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 137 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 167 …if ( !m_aTestHelper.copyElementTo( xTempStorage, "SubStorage1", xTempStorage, "SubStorage1_copy" )… in test() 170 …if ( !m_aTestHelper.copyElementTo( xTempStorage, "EmptySubStorage1", xTempStorage, "EmptySubStorag… in test() 187 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 201 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 212 if ( xTempStorage == null ) in test() 219 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() [all …]
|
H A D | RegressionTest_i29169.java | 68 if ( xTempStorage == null ) in test() 120 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 167 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 183 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 199 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 208 if ( xTempStorage == null ) in test() 215 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 292 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 308 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 324 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() [all …]
|
H A D | RegressionTest_114358.java | 68 if ( xTempStorage == null ) in test() 91 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 109 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 117 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 129 if ( xTempStorage == null ) in test() 136 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 154 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 162 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 172 if ( xTempStorage == null ) in test() 179 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() [all …]
|
H A D | RegressionTest_i46848.java | 68 if ( xTempStorage == null ) in test() 91 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 109 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 117 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 127 if ( xTempStorage == null ) in test() 134 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 155 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 163 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 173 if ( xTempStorage == null ) in test() 180 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() [all …]
|
H A D | RegressionTest_i30677.java | 68 if ( xTempStorage == null ) in test() 75 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 101 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 134 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 150 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 159 if ( xTempStorage == null ) in test() 167 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 206 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 222 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 232 if ( xTempStorage == null ) in test() [all …]
|
H A D | RegressionTest_i30400.java | 74 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 75 if ( xTempStorage == null ) in test() 91 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 138 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 148 if ( !TestCopyWithRenaming( xTempStorage, xTempSubStorage, xTempSubSubStorage ) ) in test() 164 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 180 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 189 xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() 190 if ( xTempStorage == null ) in test() 198 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() [all …]
|
H A D | Test10.java | 60 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 61 if ( xTempStorage == null ) in test() 74 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBytes1… in test() 83 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 103 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 152 XStream xClonedSubStream = m_aTestHelper.cloneSubStream( xTempStorage, "SubStream1" ); in test() 156 XStream xClonedBigSubStream = m_aTestHelper.cloneSubStream( xTempStorage, "BigSubStream1" ); in test() 173 …xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xStorageFactory, xTempStorage, "SubStorage1" … in test() 189 XStorage xCloneOfRoot = m_aTestHelper.cloneStorage( m_xStorageFactory, xTempStorage ); in test() 218 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() [all …]
|
H A D | Test03.java | 59 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 60 if ( xTempStorage == null ) in test() 67 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 81 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "BigSubStream1", "MediaType1", true, pBig… in test() 91 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBytes1… in test() 119 xTempStorage.isStorageElement( "does not exist" ); in test() 133 xTempStorage.isStreamElement( "does not exist" ); in test() 146 …ccess xRootNameAccess = (XNameAccess) UnoRuntime.queryInterface( XNameAccess.class, xTempStorage ); in test() 154 …if ( !xTempStorage.isStorageElement( "SubStorage1" ) || xTempStorage.isStreamElement( "SubStorage1… in test() 160 …if ( xTempStorage.isStorageElement( "SubStream1" ) || !xTempStorage.isStreamElement( "SubStream1" … in test()
|
H A D | Test11.java | 61 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 62 if ( xTempStorage == null ) in test() 76 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBy… in test() 84 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 105 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 122 …XStorage xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xStorageFactory, xTempStorage, "SubS… in test() 154 … XStream xClonedSubStream = m_aTestHelper.cloneEncrSubStream( xTempStorage, "SubStream1", sPass1 ); in test() 158 …XStream xClonedBigSubStream = m_aTestHelper.cloneEncrSubStream( xTempStorage, "BigSubStream1", sPa… in test() 175 …xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xStorageFactory, xTempStorage, "SubStorage1" … in test() 195 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() [all …]
|
H A D | Test06.java | 63 if ( xTempStorage == null ) in test() 71 xTempStorage.copyToStorage( null ); in test() 86 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 89 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 161 xTempStorage.renameElement( "SubStorage1", "SubStorage2" ); in test() 176 xTempStorage.copyElementTo( "SubStorage1", null, "SubStorage1" ); in test() 193 xTempStorage.moveElementTo( "SubStorage1", null, "SubStorage1" ); in test() 232 xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 247 xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 262 xTempStorage.copyElementTo( "SubStorage1", xTargetStorage, "SubStorage1" ); in test() [all …]
|
H A D | RegressionTest_i84234.java | 67 … XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 68 if ( xTempStorage == null ) in test() 75 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 87 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream1", "text/xml", false, pBytes1 … in test() 108 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 112 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test() 120 xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() 121 if ( xTempStorage == null ) in test() 128 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 137 … if ( !m_aTestHelper.checkStream( xTempStorage, "SubStream1", "text/xml", false, pBytes1 ) ) in test()
|
H A D | RegressionTest_i29321.java | 67 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 68 if ( xTempStorage == null ) in test() 75 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 97 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "Stream1", "MediaType1", true, pBytes1 ) ) in test() 109 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 142 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 154 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 167 …if ( !m_aTestHelper.checkStorageProperties( xTempStorage, "MediaType4", true, ElementModes.WRITE )… in test() 176 if ( !m_aTestHelper.checkStream( xTempStorage, "Stream1", "MediaType1", true, pBytes1 ) ) in test()
|
H A D | Test07.java | 65 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 66 if ( xTempStorage == null ) in test() 80 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "BigSubStream1", "MediaType1", true, … in test() 84 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBy… in test() 91 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "BigSubStream2", "MediaType2", false,… in test() 95 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "SubStream2", "MediaType2", false, pB… in test() 113 if ( !m_aTestHelper.copyStorage( xTempStorage, xTempFileStorage ) ) in test() 117 …if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStor… in test()
|
H A D | RegressionTest_i55821.java | 71 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 72 if ( xTempStorage == null ) in test() 83 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "SubStream1", "MediaType1", false, pB… in test() 86 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 89 …if ( !m_aTestHelper.WriteBytesToEncrSubstream( xTempStorage, "SubStream2", "MediaType2", false, pB… in test() 92 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() 96 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test()
|
H A D | RegressionTest_i26398.java | 67 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 68 if ( xTempStorage == null ) in test() 75 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 91 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 119 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 137 xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 149 …if ( !m_aTestHelper.checkStorageProperties( xTempStorage, "MediaType2", true, ElementModes.WRITE )… in test()
|
H A D | Test04.java | 68 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 69 if ( xTempStorage == null ) in test() 78 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 102 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 122 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 155 if ( !m_aTestHelper.copyElementTo( xTempStorage, "SubStorage1", xTempFileStorage ) ) in test() 166 if ( !m_aTestHelper.moveElementTo( xTempStorage, "SubStorage2", xTempFileStorage ) ) in test() 207 …if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStor… in test()
|
H A D | RegressionTest_125919.java | 92 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 93 if ( xTempStorage == null ) in test() 99 …xTransact = (XTransactedObject) UnoRuntime.queryInterface( XTransactedObject.class, xTempStorage ); in test() 107 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream" + 0, "MediaType1", true, pByt… in test() 109 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream" + 18, "MediaType2", true, pBy… in test() 111 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream" + 36, "MediaType3", true, pBy… in test() 125 if ( !m_aTestHelper.disposeStorage( xTempStorage ) ) in test()
|
/aoo4110/main/comphelper/source/misc/ |
H A D | storagehelper.cxx | 97 if ( !xTempStorage.is() ) in GetTemporaryStorage() 100 return xTempStorage; in GetTemporaryStorage() 116 if ( !xTempStorage.is() ) in GetStorageFromURL() 119 return xTempStorage; in GetStorageFromURL() 148 if ( !xTempStorage.is() ) in GetStorageFromURL2() 151 return xTempStorage; in GetStorageFromURL2() 169 return xTempStorage; in GetStorageFromInputStream() 188 return xTempStorage; in GetStorageFromStream() 357 return xTempStorage; in GetStorageOfFormatFromURL() 388 return xTempStorage; in GetStorageOfFormatFromInputStream() [all …]
|
/aoo4110/main/odk/examples/java/Storage/ |
H A D | Test06.java | 62 if ( xTempStorage == null ) in test() 70 xTempStorage.copyToStorage( null ); in test() 85 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 88 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 160 xTempStorage.renameElement( "SubStorage1", "SubStorage2" ); in test() 175 xTempStorage.copyElementTo( "SubStorage1", null, "SubStorage1" ); in test() 192 xTempStorage.moveElementTo( "SubStorage1", null, "SubStorage1" ); in test() 231 xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 246 xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 261 xTempStorage.copyElementTo( "SubStorage1", xTargetStorage, "SubStorage1" ); in test() [all …]
|
H A D | Test03.java | 58 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 59 if ( xTempStorage == null ) in test() 66 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 78 …if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, "SubStream1", "MediaType1", true, pBytes1… in test() 106 xTempStorage.isStorageElement( "does not exist" ); in test() 120 xTempStorage.isStreamElement( "does not exist" ); in test() 133 …ccess xRootNameAccess = (XNameAccess) UnoRuntime.queryInterface( XNameAccess.class, xTempStorage ); in test() 141 …if ( !xTempStorage.isStorageElement( "SubStorage1" ) || xTempStorage.isStreamElement( "SubStorage1… in test() 147 …if ( xTempStorage.isStorageElement( "SubStream1" ) || !xTempStorage.isStreamElement( "SubStream1" … in test()
|
H A D | Test04.java | 67 XStorage xTempStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oTempStorage ); in test() local 68 if ( xTempStorage == null ) in test() 77 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 93 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 109 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 142 if ( !m_aTestHelper.copyElementTo( xTempStorage, "SubStorage1", xTempFileStorage ) ) in test() 153 if ( !m_aTestHelper.moveElementTo( xTempStorage, "SubStorage2", xTempFileStorage ) ) in test() 185 …if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStor… in test()
|
/aoo4110/main/package/qa/ofopxmlstorages/ |
H A D | Test06.java | 62 if ( xTempStorage == null ) in test() 70 xTempStorage.copyToStorage( null ); in test() 85 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 88 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 160 xTempStorage.renameElement( "SubStorage1", "SubStorage2" ); in test() 175 xTempStorage.copyElementTo( "SubStorage1", null, "SubStorage1" ); in test() 192 xTempStorage.moveElementTo( "SubStorage1", null, "SubStorage1" ); in test() 230 xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 245 xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" ); in test() 260 xTempStorage.copyElementTo( "SubStorage1", xTargetStorage, "SubStorage1" ); in test() [all …]
|
H A D | Test03.java | 69 XStorage xTempStorage = m_aTestHelper.createTempStorage( m_xMSF, m_xStorageFactory ); in test() local 70 if ( xTempStorage == null ) in test() 77 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 89 if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, in test() 127 xTempStorage.isStorageElement( "does not exist" ); in test() 141 xTempStorage.isStreamElement( "does not exist" ); in test() 154 …ccess xRootNameAccess = (XNameAccess) UnoRuntime.queryInterface( XNameAccess.class, xTempStorage ); in test() 162 …if ( !xTempStorage.isStorageElement( "SubStorage1" ) || xTempStorage.isStreamElement( "SubStorage1… in test() 168 …if ( xTempStorage.isStorageElement( "SubStream1" ) || !xTempStorage.isStreamElement( "SubStream1" … in test()
|
H A D | Test07.java | 80 XStorage xTempStorage = m_aTestHelper.createTempStorage( m_xMSF, m_xStorageFactory ); in test() local 81 if ( xTempStorage == null ) in test() 90 if ( !m_aTestHelper.WriteBytesToSubstream( xTempStorage, in test() 100 XStorage xTempSubStorage = m_aTestHelper.openSubStorage( xTempStorage, in test() 121 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 138 …ubStorage = m_aTestHelper.cloneSubStorage( m_xMSF, m_xStorageFactory, xTempStorage, "SubStorage1" … in test() 173 XStream xClonedSubStream = m_aTestHelper.cloneSubStream( xTempStorage, "SubStream1" ); in test() 191 …xClonedSubStorage = m_aTestHelper.cloneSubStorage( m_xMSF, m_xStorageFactory, xTempStorage, "SubSt… in test() 211 XStorage xCloneOfRoot = m_aTestHelper.cloneStorage( m_xMSF, m_xStorageFactory, xTempStorage ); in test() 240 if ( !m_aTestHelper.commitStorage( xTempStorage ) ) in test() [all …]
|
H A D | Test04.java | 88 XStorage xTempStorage = m_aTestHelper.createTempStorage( m_xMSF, m_xStorageFactory ); in test() local 89 if ( xTempStorage == null ) in test() 98 XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage, in test() 119 XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage, in test() 140 if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, in test() 170 if ( !m_aTestHelper.copyElementTo( xTempStorage, "SubStorage1", xTempFileStorage ) ) in test() 181 if ( !m_aTestHelper.moveElementTo( xTempStorage, "SubStorage2", xTempFileStorage ) ) in test() 213 …if ( !m_aTestHelper.disposeStorage( xTempStorage ) || !m_aTestHelper.disposeStorage( xTempFileStor… in test()
|