public class FSPversionTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected net.sf.fsp.fsplib.FSPpacket |
pkt
FSPpacket class instance used for testing
|
protected net.sf.fsp.fsplib.FSPversion |
ver
FSPversion class instance used for testing
|
| Constructor and Description |
|---|
FSPversionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
create empty FSPversion instance before each test
|
void |
testBadPktInConstructor()
Test pkt constructor for bad packet type
|
void |
testClone()
Test method for
FSPversion.clone(). |
void |
testDefaultConstructor()
Test if empty constructor constructs empty version
|
void |
testGoodPktInConstructor()
Test pkt constructor for good packet type
|
void |
testNullPktConstructor()
Test pkt constructor for null value
|
void |
testRealPktInConstructor()
Test pkt constructor for parsing real data sent by fspd
|
protected net.sf.fsp.fsplib.FSPversion ver
protected net.sf.fsp.fsplib.FSPpacket pkt
public void setUp()
public void testDefaultConstructor()
public void testNullPktConstructor()
public void testBadPktInConstructor()
public void testGoodPktInConstructor()
public void testRealPktInConstructor()
public void testClone()
throws CloneNotSupportedException
FSPversion.clone().CloneNotSupportedException - not expectedCopyright © 2019 FSP Project. All rights reserved.