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