2009-01-09 1.2.0

org.eclipse.soda.dk.parameter.testcase
Class LongParameterTestcase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.soda.dk.parameter.testcase.IntegerParameterTestcase
              extended by org.eclipse.soda.dk.parameter.testcase.LongParameterTestcase
All Implemented Interfaces:
junit.framework.Test

public class LongParameterTestcase
extends IntegerParameterTestcase

Version:
1.2.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.parameter.testcase.IntegerParameterTestcase
EMPTY_STRING
 
Constructor Summary
LongParameterTestcase(java.lang.String p1)
          Constructs an instance of this class from the specified p1 parameter.
 
Method Summary
 ParameterService createParameter(java.lang.String key, int offset, int length)
          Create parameter with the specified key, offset and length parameters and return the ParameterService result.
 ParameterService createUnsignedParameter(java.lang.String key, int offset, int length)
          Create unsigned parameter with the specified key, offset and length parameters and return the ParameterService result.
 int getMaxLength()
          Gets the max length (int) value.
static void main(java.lang.String[] arguments)
          Main with the specified arguments parameter.
 
Methods inherited from class org.eclipse.soda.dk.parameter.testcase.IntegerParameterTestcase
testDecodeBytesInteger, testDecodeInteger, testDecodeInteger8, testDecodeInteger8FullByte, testDecodeInteger8FullInteger, testDecodeInteger8FullLong, testDecodeInteger8FullShort, testDecodeInteger8FullUnsignedByte, testDecodeInteger8FullUnsignedShort, testEncodeBytesInteger, testEncodeInteger, testEncodeInteger4, testEncodeInteger8, testEncodeInteger8a, testEncodeMap, testEncodeString, testEncodeValueInteger, testInteger, testInteger2, testInteger4, testInteger5
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongParameterTestcase

public LongParameterTestcase(java.lang.String p1)
Constructs an instance of this class from the specified p1 parameter.

Parameters:
p1 - The p1 (String) parameter.
Method Detail

main

public static void main(java.lang.String[] arguments)
Main with the specified arguments parameter.

Parameters:
arguments - The arguments (String[]) parameter.

createParameter

public ParameterService createParameter(java.lang.String key,
                                        int offset,
                                        int length)
Create parameter with the specified key, offset and length parameters and return the ParameterService result.

Overrides:
createParameter in class IntegerParameterTestcase
Parameters:
key - The key (String) parameter.
offset - The offset (int) parameter.
length - The length (int) parameter.
Returns:
Results of the create parameter (ParameterService) value.
See Also:
createUnsignedParameter(String,int,int)

createUnsignedParameter

public ParameterService createUnsignedParameter(java.lang.String key,
                                                int offset,
                                                int length)
Create unsigned parameter with the specified key, offset and length parameters and return the ParameterService result.

Overrides:
createUnsignedParameter in class IntegerParameterTestcase
Parameters:
key - The key (String) parameter.
offset - The offset (int) parameter.
length - The length (int) parameter.
Returns:
Results of the create unsigned parameter (ParameterService) value.

getMaxLength

public int getMaxLength()
Gets the max length (int) value.

Overrides:
getMaxLength in class IntegerParameterTestcase
Returns:
The max length (int) value.

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.