Klasse OutletResultTest

java.lang.Object
org.apache.torque.generator.outlet.OutletResultTest

public class OutletResultTest extends Object
Component tests for OutletResult.
Version:
$Id: $
  • Konstruktordetails

    • OutletResultTest

      public OutletResultTest()
  • Methodendetails

    • setUp

      public void setUp()
    • testGetStringResult

      public void testGetStringResult()
      Checks that the getStringResult() method returns the correct content.
    • testGetByteArrayResult

      public void testGetByteArrayResult()
      Checks that the getStringResult() method returns the correct content.
    • testIsStringResult

      public void testIsStringResult()
      Checks that the isStringResult() method returns the correct content.
    • testIsByteArrayResult

      public void testIsByteArrayResult()
      Checks that the isByteArrayResult() method returns the correct content.
    • testConcatenateWrongTypes

      public void testConcatenateWrongTypes()
      Checks that the concatenate() throws an exception if OutletResults of different types are concatenated.
    • testConcatenateString

      public void testConcatenateString() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works for normal String results.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateNullString

      public void testConcatenateNullString() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works for null String results.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateStartingWithNullString

      public void testConcatenateStartingWithNullString() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works if we start with a null string result.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateByteArray

      public void testConcatenateByteArray() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works for normal byte array results.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateNullByteArray

      public void testConcatenateNullByteArray() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works for null byte array results.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateStartingWithNullByteArray

      public void testConcatenateStartingWithNullByteArray() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method works if we start with a null byte array result.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateNullArray

      public void testConcatenateNullArray() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method throws an exception for a null input.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateNullList

      public void testConcatenateNullList() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method throws an exception for a null input.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testConcatenateEmpty

      public void testConcatenateEmpty() throws org.apache.torque.generator.GeneratorException
      Checks that the concatenate() method throws an exception for an empty input.
      Löst aus:
      org.apache.torque.generator.GeneratorException
    • testEquals

      public void testEquals()
      Checks that the equals() method returns the correct content.