public class JsscSerialPortTest extends Object
JsscSerialPort
.Modifier and Type | Field and Description |
---|---|
org.mockito.junit.MockitoRule |
rule |
org.junit.rules.ExpectedException |
thrown |
Constructor and Description |
---|
JsscSerialPortTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testAddEventListenerDelegatesToJssc() |
void |
testAddEventListenerOnlyThrowsIOExceptions() |
void |
testCloseOnlyThrowsIOExceptions() |
void |
testCloseWhenClosed() |
void |
testCloseWhenOpen() |
void |
testGetPortNameDelegatesToJssc() |
void |
testIsOpenDelegatesToJssc() |
void |
testOpenPortDelegatesToJssc() |
void |
testOpenPortOnlyThrowsIOExceptions() |
void |
testReadBytesDelegatesToJssc() |
void |
testReadBytesOnlyThrowsIOExceptions() |
void |
testWriteByteArrayDelegatesToJssc() |
void |
testWriteByteArrayOnlyThrowsIOExceptions() |
void |
testWriteByteDelegatesToJssc() |
void |
testWriteByteOnlyThrowsIOExceptions() |
public org.mockito.junit.MockitoRule rule
public org.junit.rules.ExpectedException thrown
public void testGetPortNameDelegatesToJssc() throws Exception
Exception
public void testOpenPortDelegatesToJssc() throws Exception
Exception
public void testOpenPortOnlyThrowsIOExceptions() throws Exception
Exception
public void testIsOpenDelegatesToJssc() throws Exception
Exception
public void testWriteByteDelegatesToJssc() throws Exception
Exception
public void testWriteByteOnlyThrowsIOExceptions() throws Exception
Exception
public void testWriteByteArrayDelegatesToJssc() throws Exception
Exception
public void testWriteByteArrayOnlyThrowsIOExceptions() throws Exception
Exception
public void testReadBytesDelegatesToJssc() throws Exception
Exception
public void testReadBytesOnlyThrowsIOExceptions() throws Exception
Exception
public void testCloseOnlyThrowsIOExceptions() throws Exception
Exception
public void testAddEventListenerDelegatesToJssc() throws Exception
Exception
Copyright © 2016–2023. All rights reserved.