예제 #1
0
 /**
  * Before.
  *
  * @throws IOException Signals that an I/O exception has occurred.
  */
 @Before
 public void before() throws IOException {
   actions = new XMLActionReader(java.util.Arrays.asList("src/main/webapp/")).getActions();
   extensions = actions.getExtensions();
   guiActionDescriptors = actions.getGuiActionDescriptors();
 }
예제 #2
0
 @Test
 public void testBitsTo8Bytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.bitsTo8Bytes(bits2), B1));
 }
예제 #3
0
 @Test
 public void testByteToBits() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.byteToBits(B3), bits1));
 }
예제 #4
0
 @Test
 public void testLongToBytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.longToBytes(L1), B1));
 }
예제 #5
0
 @Test
 public void testIntToByes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.intToBytes(I1), B2));
 }
예제 #6
0
 @Test
 public void testHexToBytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.hexToBytes(H1), B1));
 }