Class IntegerBinaryFieldAdapterTest

java.lang.Object
gov.nasa.pds.objectAccess.table.IntegerBinaryFieldAdapterTest

public class IntegerBinaryFieldAdapterTest
extends Object
  • Constructor Details

    • IntegerBinaryFieldAdapterTest

      public IntegerBinaryFieldAdapterTest()
  • Method Details

    • testMSB4

      public void testMSB4​(boolean isBigEndian, byte[] buf, int offset, int length, long expectedValue)
    • testGetString

      public void testGetString()
    • testBadDataLength

      public void testBadDataLength()
    • testByteOutOfRange

      public void testByteOutOfRange​(byte[] b)
    • testShortOutOfRange

      public void testShortOutOfRange​(byte[] b)
    • testIntegerOutOfRange

      public void testIntegerOutOfRange​(byte[] b)
    • testSetString

      public void testSetString() throws Exception
      Throws:
      Exception
    • testSetLong

      public void testSetLong​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testSetDouble

      public void testSetDouble​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testSetInt

      public void testSetInt​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testSetFloat

      public void testSetFloat​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testSetShort

      public void testSetShort​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testSetByte

      public void testSetByte​(boolean isBigEndian, long value, int offset, int length, byte[] b)
    • testBadFieldLength

      public void testBadFieldLength()
    • testMSB4BigEndian

      public void testMSB4BigEndian​(boolean isSigned, String stringValue, byte[] bytes)
    • testMSB4LittleEndian

      public void testMSB4LittleEndian​(boolean isSigned, String stringValue, byte[] bytes)
    • testGetSetBigEndian

      public void testGetSetBigEndian​(boolean isSigned, String stringValue, byte[] bytes)