2009-01-09 1.2.0

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

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

public class CustomParameterTestcase
extends junit.framework.TestCase

Version:
1.2.0

Field Summary
static java.lang.String EMPTY_STRING
          Define the empty string (String) constant.
 
Constructor Summary
CustomParameterTestcase(java.lang.String p1)
          Constructs an instance of this class from the specified p1 parameter.
 
Method Summary
static ParameterService getCustomData()
          Gets the custom data (ParameterService) value.
 MessageService getCustomMessageMessage()
          Gets the custom message message (MessageService) value.
static SegmentService getCustomParameter_0_N()
          Gets the custom parameter0 n (SegmentService) value.
static SegmentService getCustomParameter()
          Gets the custom parameter (SegmentService) value.
static ParameterService getCustomParameterValue()
          Gets the custom parameter value (ParameterService) value.
static MessageService getGetReaderCapabilitiesResponseMessage()
          Gets the get reader capabilities response message (MessageService) value.
static BlockService getMessageIdBlock()
          Gets the message ID block (BlockService) value.
static BlockService getMessageLengthBlock()
          Gets the message length block (BlockService) value.
static BlockService getMessageReserveBlock()
          Gets the message reserve block (BlockService) value.
static ParameterService getMessageSubtype()
          Gets the message subtype (ParameterService) value.
static BlockService getMessageVersionBlock()
          Gets the message version block (BlockService) value.
static ParameterService getParameterSubtype()
          Gets the parameter subtype (ParameterService) value.
static BlockService getSegmentLengthBlock()
          Gets the segment length block (BlockService) value.
static BlockService getTLVParameterReserveBlock()
          Gets the tlvparameter reserve block (BlockService) value.
static FilterService getTwoBytesFilter()
          Gets the two bytes filter (FilterService) value.
static ParameterService getVendorIdentifier()
          Gets the vendor identifier (ParameterService) value.
static void main(java.lang.String[] arguments)
          Main with the specified arguments parameter.
 void testDecodeCustomMessage()
          Test decode custom message.
 void testDecodeCustomParameter()
          Test decode custom parameter.
 void testEncodeCustomMessage()
          Test encode custom message.
 
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
 

Field Detail

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
Define the empty string (String) constant.

Constructor Detail

CustomParameterTestcase

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

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

getCustomData

public static ParameterService getCustomData()
Gets the custom data (ParameterService) value.

Returns:
The custom data (ParameterService) value.

getCustomParameter

public static SegmentService getCustomParameter()
Gets the custom parameter (SegmentService) value.

Returns:
The custom parameter (SegmentService) value.
See Also:
testDecodeCustomParameter()

getCustomParameterValue

public static ParameterService getCustomParameterValue()
Gets the custom parameter value (ParameterService) value.

Returns:
The custom parameter value (ParameterService) value.

getCustomParameter_0_N

public static SegmentService getCustomParameter_0_N()
Gets the custom parameter0 n (SegmentService) value.

Returns:
The custom parameter0 n (SegmentService) value.

getGetReaderCapabilitiesResponseMessage

public static MessageService getGetReaderCapabilitiesResponseMessage()
Gets the get reader capabilities response message (MessageService) value.

Returns:
The get reader capabilities response message (MessageService) value.

getMessageIdBlock

public static BlockService getMessageIdBlock()
Gets the message ID block (BlockService) value.

Returns:
The message id block (BlockService) value.

getMessageLengthBlock

public static BlockService getMessageLengthBlock()
Gets the message length block (BlockService) value.

Returns:
The message length block (BlockService) value.

getMessageReserveBlock

public static BlockService getMessageReserveBlock()
Gets the message reserve block (BlockService) value.

Returns:
The message reserve block (BlockService) value.

getMessageSubtype

public static ParameterService getMessageSubtype()
Gets the message subtype (ParameterService) value.

Returns:
The message subtype (ParameterService) value.

getMessageVersionBlock

public static BlockService getMessageVersionBlock()
Gets the message version block (BlockService) value.

Returns:
The message version block (BlockService) value.

getParameterSubtype

public static ParameterService getParameterSubtype()
Gets the parameter subtype (ParameterService) value.

Returns:
The parameter subtype (ParameterService) value.

getSegmentLengthBlock

public static BlockService getSegmentLengthBlock()
Gets the segment length block (BlockService) value.

Returns:
The segment length block (BlockService) value.

getTLVParameterReserveBlock

public static BlockService getTLVParameterReserveBlock()
Gets the tlvparameter reserve block (BlockService) value.

Returns:
The tlvparameter reserve block (BlockService) value.

getTwoBytesFilter

public static FilterService getTwoBytesFilter()
Gets the two bytes filter (FilterService) value.

Returns:
The two bytes filter (FilterService) value.

getVendorIdentifier

public static ParameterService getVendorIdentifier()
Gets the vendor identifier (ParameterService) value.

Returns:
The vendor identifier (ParameterService) value.

main

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

Parameters:
arguments - The arguments (String) parameter.

getCustomMessageMessage

public MessageService getCustomMessageMessage()
Gets the custom message message (MessageService) value.

Returns:
The custom message message (MessageService) value.

testDecodeCustomMessage

public void testDecodeCustomMessage()
Test decode custom message.


testDecodeCustomParameter

public void testDecodeCustomParameter()
Test decode custom parameter.


testEncodeCustomMessage

public void testEncodeCustomMessage()
Test encode custom message.


2009-01-09 1.2.0

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