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
Exceptionpublic void testOpenPortDelegatesToJssc()
                                 throws Exception
Exceptionpublic void testOpenPortOnlyThrowsIOExceptions()
                                        throws Exception
Exceptionpublic void testIsOpenDelegatesToJssc()
                               throws Exception
Exceptionpublic void testWriteByteDelegatesToJssc()
                                  throws Exception
Exceptionpublic void testWriteByteOnlyThrowsIOExceptions()
                                         throws Exception
Exceptionpublic void testWriteByteArrayDelegatesToJssc()
                                       throws Exception
Exceptionpublic void testWriteByteArrayOnlyThrowsIOExceptions()
                                              throws Exception
Exceptionpublic void testReadBytesDelegatesToJssc()
                                  throws Exception
Exceptionpublic void testReadBytesOnlyThrowsIOExceptions()
                                         throws Exception
Exceptionpublic void testCloseOnlyThrowsIOExceptions()
                                     throws Exception
Exceptionpublic void testAddEventListenerDelegatesToJssc()
                                         throws Exception
ExceptionCopyright © 2016–2025. All rights reserved.