/**
  * 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();
 }
Example #2
0
 @Test
 public void testBitsTo8Bytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.bitsTo8Bytes(bits2), B1));
 }
Example #3
0
 @Test
 public void testByteToBits() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.byteToBits(B3), bits1));
 }
Example #4
0
 @Test
 public void testLongToBytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.longToBytes(L1), B1));
 }
Example #5
0
 @Test
 public void testIntToByes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.intToBytes(I1), B2));
 }
Example #6
0
 @Test
 public void testHexToBytes() {
   assertTrue("Result", java.util.Arrays.equals(A9Utility.hexToBytes(H1), B1));
 }