summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 16:50:52 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 16:50:52 +0000
commit2da9af7c5ededdbc0477306c6de2468d8c28642b (patch)
treea979d98ded4d9be7393be894c6bf2a6e7e016764 /package
parent47ab59b548b93c39454954a7a77c09b5cd3e0b99 (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
Diffstat (limited to 'package')
-rw-r--r--package/qa/storages/Test01.java6
-rw-r--r--package/qa/storages/Test04.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/package/qa/storages/Test01.java b/package/qa/storages/Test01.java
index 4b7016e6cafa..da9152fc0199 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 4e6b80c3cfdb..fa7015193f60 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 )