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