Class IntegerBinaryFieldAdapterTest


  • public class IntegerBinaryFieldAdapterTest
    extends java.lang.Object
    • Constructor Detail

      • IntegerBinaryFieldAdapterTest

        public IntegerBinaryFieldAdapterTest()
    • Method Detail

      • 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 java.lang.Exception
        Throws:
        java.lang.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,
                                      java.lang.String stringValue,
                                      byte[] bytes)
      • testMSB4LittleEndian

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

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