summaryrefslogtreecommitdiff
path: root/package/qa/storages/Test06.java
diff options
context:
space:
mode:
Diffstat (limited to 'package/qa/storages/Test06.java')
-rw-r--r--package/qa/storages/Test06.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/qa/storages/Test06.java b/package/qa/storages/Test06.java
index 50ff5b5d9..0803389a1 100644
--- a/package/qa/storages/Test06.java
+++ b/package/qa/storages/Test06.java
@@ -64,10 +64,10 @@ public class Test06 implements StorageTest {
// open new substorages
XStorage xTempSubStorage1 = m_aTestHelper.openSubStorage( xTempStorage,
"SubStorage1",
- ElementModes.ELEMENT_WRITE );
+ ElementModes.WRITE );
XStorage xTempSubStorage2 = m_aTestHelper.openSubStorage( xTempStorage,
"SubStorage2",
- ElementModes.ELEMENT_WRITE );
+ ElementModes.WRITE );
if ( xTempSubStorage1 == null || xTempSubStorage2 == null )
{
m_aTestHelper.Error( "Can't create substorage!" );
@@ -77,7 +77,7 @@ public class Test06 implements StorageTest {
// in case stream is open for reading it must exist
try
{
- xTempSubStorage1.openStreamElement( "NonExistingStream", ElementModes.ELEMENT_READ );
+ xTempSubStorage1.openStreamElement( "NonExistingStream", ElementModes.READ );
m_aTestHelper.Error( "The method must throw an exception in case of try to open nonexistent stream for reading!" );
return false;
}
@@ -92,7 +92,7 @@ public class Test06 implements StorageTest {
// in case a storage is open for reading it must exist
try
{
- xTempSubStorage1.openStreamElement( "NonExistingStorage", ElementModes.ELEMENT_READ );
+ xTempSubStorage1.openStreamElement( "NonExistingStorage", ElementModes.READ );
m_aTestHelper.Error( "The method must throw an exception in case of try to open nonexistent storage for reading!" );
return false;
}
@@ -198,7 +198,7 @@ public class Test06 implements StorageTest {
// open a new substorage
XStorage xTargetSubStorage = m_aTestHelper.openSubStorage( xTargetStorage,
"SubStorage1",
- ElementModes.ELEMENT_WRITE );
+ ElementModes.WRITE );
if ( xTargetSubStorage == null )
{
m_aTestHelper.Error( "Can't create substorage!" );