public class UbRpcTest
extends junit.framework.TestCase
Modifier and Type | Class and Description |
---|---|
static class |
UbRpcTest.RpcVals |
Modifier and Type | Field and Description |
---|---|
protected RpcTestService |
api |
protected UartBus |
apiBus |
protected UartbusServiceBridge |
bridge |
protected VirtualUartBus |
cb |
Constructor and Description |
---|
UbRpcTest() |
Modifier and Type | Method and Description |
---|---|
static void |
assert3(RpcTestService api,
short sh,
String number,
byte[] data) |
static void |
assertVuNumbers(RpcTestService api,
String... numbers) |
static void |
ensureErrnoThrown(Throwable t,
eu.javaexperience.nativ.posix.ERRNO err) |
protected void |
setUp() |
protected void |
tearDown() |
void |
testExceptions() |
void |
testInternalError() |
void |
testMoreExceptions() |
void |
testPass_Call() |
void |
testType_bool() |
void |
testType_byte() |
void |
testType_Enum() |
void |
testType_S16() |
void |
testType_S8() |
void |
testType_String() |
void |
testType_Struct1() |
void |
testType_Struct2() |
void |
testType_Struct3() |
void |
testType_U16() |
void |
testType_U8() |
void |
testType_VS() |
void |
testType_VU() |
void |
testType_VUnsigneds() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected VirtualUartBus cb
protected UartbusServiceBridge bridge
protected UartBus apiBus
protected RpcTestService api
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public static void ensureErrnoThrown(Throwable t, eu.javaexperience.nativ.posix.ERRNO err)
public void testPass_Call()
public void testExceptions()
public void testInternalError()
public void testType_bool()
public void testType_S8()
public void testType_U8()
public void testType_S16()
public void testType_U16()
public void testType_byte()
public void testType_String()
public void testType_VS()
public void testType_VU()
public void testType_Enum()
public void testType_Struct1()
public void testType_Struct2()
public static void assert3(RpcTestService api, short sh, String number, byte[] data)
public void testType_Struct3()
public static void assertVuNumbers(RpcTestService api, String... numbers)
public void testType_VUnsigneds()
Copyright © 2020. All rights reserved.