diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 16:50:52 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 16:50:52 +0000 |
commit | abae51297e417e693c4797d94dc4f643b3f775f9 (patch) | |
tree | a867cfe17afc2c9bbcc11585550c799557ebc9bd | |
parent | f5c1d25937b98ace7bcde3a91cf051f26916d835 (diff) |
INTEGRATION: CWS readstorage (1.2.12); FILE MERGED
2004/01/09 09:04:44 mav 1.2.12.1: #114521# cloning of storage's subelements
-rw-r--r-- | package/qa/storages/Test01.java | 6 | ||||
-rw-r--r-- | package/qa/storages/Test04.java | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/package/qa/storages/Test01.java b/package/qa/storages/Test01.java index 55cb1de91..af473c2c9 100644 --- a/package/qa/storages/Test01.java +++ b/package/qa/storages/Test01.java @@ -74,7 +74,7 @@ public class Test01 implements StorageTest { if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, "MediaType3", true, - ElementModes.ELEMENT_READWRITE ) ) + ElementModes.ELEMENT_WRITE ) ) return false; // set "MediaType" property for storages and check that "IsRoot" and "OpenMode" properties are set correctly @@ -111,7 +111,7 @@ public class Test01 implements StorageTest { // ================================================ // the temporary file must not be locked any more after storage disposing - pArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE ); + pArgs[1] = new Integer( ElementModes.ELEMENT_WRITE ); Object oResultStorage = m_xStorageFactory.createInstanceWithArguments( pArgs ); XStorage xResultStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oResultStorage ); if ( xResultStorage == null ) @@ -120,7 +120,7 @@ public class Test01 implements StorageTest { return false; } - if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType3", true, ElementModes.ELEMENT_READWRITE ) ) + if ( !m_aTestHelper.checkStorageProperties( xResultStorage, "MediaType3", true, ElementModes.ELEMENT_WRITE ) ) return false; // open existing substorage diff --git a/package/qa/storages/Test04.java b/package/qa/storages/Test04.java index bc8c3fd46..6f98682c8 100644 --- a/package/qa/storages/Test04.java +++ b/package/qa/storages/Test04.java @@ -89,7 +89,7 @@ public class Test04 implements StorageTest { if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage, "MediaType3", true, - ElementModes.ELEMENT_READWRITE ) ) + ElementModes.ELEMENT_WRITE ) ) return false; // set "MediaType" property for storages and check that "IsRoot" and "OpenMode" properties are set correctly @@ -170,7 +170,7 @@ public class Test04 implements StorageTest { // ================================================ // the temporary file must not be locked any more after storage disposing - pArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE ); + pArgs[1] = new Integer( ElementModes.ELEMENT_WRITE ); Object oResStorage = m_xStorageFactory.createInstanceWithArguments( pArgs ); XStorage xResStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oResStorage ); if ( xResStorage == null ) |