summaryrefslogtreecommitdiff
path: root/package/qa/storages/TestHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'package/qa/storages/TestHelper.java')
-rw-r--r--package/qa/storages/TestHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/qa/storages/TestHelper.java b/package/qa/storages/TestHelper.java
index a58425c03b47..82494c89bf87 100644
--- a/package/qa/storages/TestHelper.java
+++ b/package/qa/storages/TestHelper.java
@@ -98,7 +98,7 @@ public class TestHelper {
// check size property of the stream
try
{
- int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) );
+ long nSize = AnyConverter.toLong( xPropSet.getPropertyValue( "Size" ) );
if ( nSize != pBytes.length )
{
Error( "The 'Size' property of substream '" + sStreamName + "' contains wrong value!" );
@@ -188,7 +188,7 @@ public class TestHelper {
// check size property of the stream
try
{
- int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) );
+ long nSize = AnyConverter.toLong( xPropSet.getPropertyValue( "Size" ) );
if ( nSize != pBytes.length )
{
Error( "The 'Size' property of substream '" + sStreamName + "' contains wrong value!" );
@@ -825,7 +825,7 @@ public class TestHelper {
{
// get "MediaType" and "Size" properties and control there values
String sPropMediaType = AnyConverter.toString( xPropSet.getPropertyValue( "MediaType" ) );
- int nPropSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) );
+ long nPropSize = AnyConverter.toLong( xPropSet.getPropertyValue( "Size" ) );
boolean bPropCompress = AnyConverter.toBoolean( xPropSet.getPropertyValue( "Compressed" ) );
bOk = true;