- testAssembleIntoSmallUDPpacket() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Assemble into small UDP packet.
- testAssembleReturn() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test if assemble returns correct reference
Test method for FSPpacket.assemble(java.net.DatagramPacket).
- testAssembleTooLarge() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Assemble too large packet
Test method for FSPpacket.assemble(java.net.DatagramPacket).
- testBadPktInConstructor() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test pkt constructor for bad packet type
- testcase - Class in net.sf.fsp.fsplib
-
This is a simple executable testcase for testing a Java fsp library.
- testcase() - Constructor for class net.sf.fsp.fsplib.testcase
-
- testClone() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test method for FSPversion.clone().
- testcreateURLStreamHandlerEmpty() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if calling handler create with empty argument suceeds.
- testcreateURLStreamHandlerFSP1() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if calling handler create with "fsp" argument suceeds.
- testcreateURLStreamHandlerFSP2() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if calling handler create with "FSP" argument fails.
- testcreateURLStreamHandlerNull() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if calling handler create with null argument suceeds.
- testcreateURLStreamHandlerUnknown() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if calling handler create with "XXX" argument fails.
- testDefaultConstructor() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test if empty constructor constructs empty version
- testDIRconstants() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test if DIR_ constants are correct
- testEmptyReadme1() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for empty FSPv1 readme
- testEmptyReadme2() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for empty FSPv2 readme
- testEqualsDiffentAnchor() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same file, different anchor string
- testEqualsDiffentQuery() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same file, different query string
- testEqualsDiffentQueryAndAnchor() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same file, different anchor and query string
- testEqualsDifferentHost() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same URL with different host
- testEqualsDifferentPath() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same URL with different path
- testEqualsDifferentURL() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
different URL
- testEqualsSameObject() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same Object
- testEqualsSameURL() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same URL
- testEqualsSameURLwithDifferentPort() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same URL with different port
- testEqualsSameURLwithPort() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for equals
same URL with port
- testExpect() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test method for expect()
This test should pass
- testFactoryConstructor() - Method in class net.sf.fsp.fsplib.FactoryTest
-
Check if constructor suceeds.
- testFSPBYEAssemble1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test FSP_BYE packet.
- testFSPBYEAssemble2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test FSP_BYE packet.
- testFSPBYEDisassemble1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP_BYE packet
sent from client to server
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPBYEDisassemble2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP_BYE packet
sent from server to client
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPDisassembleBadSum() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP packet with wrong checksum
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPDisassembleTooLongPacket() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of too long FSP packet.
- testFSPDisassembleTooShort() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP packet with too short header
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPDisassembleTooShortData() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP packet with too short data
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPDisassembleTooShortExtraData() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test receiving of FSP packet with too short extra data
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testFSPpacket() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test method for FSPpacket.FSPpacket().
- testFSPpacketBoolean() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test method for FSPpacket.FSPpacket(boolean)
and FSPpacket.isServerSide()
- testFSPprotection() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test if default constructor works
Test method for FSPprotection.FSPprotection().
- testFSPprotectionFieldZero() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test if default constructor zeroes all fields
Test method for FSPprotection.FSPprotection().
- testFSPv1flags() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for FSP v1 flags.
- testGetDefaultPort() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for Handler.getDefaultPort().
- testGetHostAddress() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for getHostAddress.
- testGoodPktInConstructor() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test pkt constructor for good packet type
- testHashCodeForSameURL1() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function return same results for same URLs
Called on two same but not identical URLs.
- testHashCodeForSameURL2() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function return same results for same URLs
Called on two same but not identical URLs.
- testHashCodeForSameURL3() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function return same results for same URLs
Called on two same but not identical URLs.
- testHashCodeForSameURL4() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function return same results for same URLs
Called on two same but not identical URLs.
- testHashCodeStability1() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function is stable.
- testHashCodeStability2() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test if URL hashing function is stable.
- testNullPktConstructor() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test pkt constructor for null value
- testOpenConnectionURL() - Method in class net.sf.fsp.fsplib.HandlerTest
-
Test method for Handler.openConnection(java.net.URL).
- testOpenConnectionURLProxy() - Method in class net.sf.fsp.fsplib.HandlerTest
-
- testReadmeZero1Length() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for FSPv1 zero length readme
- testReadmeZero2Length() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for FSPv2 zero length readme
- testRealFSPv2Packet() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for FSPv2response without readme
- testRealFSPv2PacketWithReadme() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for FSPv2response with readme
- testRealPktInConstructor() - Method in class net.sf.fsp.fsplib.FSPversionTest
-
Test pkt constructor for parsing real data sent by fspd
- testRealReadme1() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for real FSPv1 readme
- testRealReadme2() - Method in class net.sf.fsp.fsplib.FSPprotectionTest
-
Test for real FSPv2 readme
- testSetData1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data.
- testSetData2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set extra data.
- testSetData3() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set data and extra data.
- testSetDataBadLength1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data bad length.
- testSetDataBadLength2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data bad length
length too big
Test method for FSPpacket.setData(byte[], int, int, byte[], int, int).
- testSetDataBadOffset1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data wrong offset.
- testSetDataBadOffset2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data wrong offset.
- testSetDataTooBig() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test of set extra Data too big FSP packet
Test method for FSPpacket.disassemble(java.net.DatagramPacket).
- testSetExtraDataBadLength1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set extra data bad length.
- testSetExtraDataBadLength2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set standard data bad length
length too big
Test method for FSPpacket.setData(byte[], int, int, byte[], int, int).
- testSetExtraDataBadOffset1() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set extra data wrong offset.
- testSetExtraDataBadOffset2() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set extra data wrong offset.
- testSetNullData() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Pass null data pointer to setData
- testSetNullExtraData() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Pass null extra data pointer to setData
- testSetZeroSizedData() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Set zero sized data.
- testToExternalForm() - Method in class net.sf.fsp.fsplib.HandlerTest
-
- testToString() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Check if we do custom toString()
- testUnexpected() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test method for expect()
This test should fail we expect wrong response
- testUnexpectedError() - Method in class net.sf.fsp.fsplib.FSPpacketTest
-
Test method for expect()
Exception should contain Error message
- testURLStreamHandlerConstructor() - Method in class net.sf.fsp.fsplib.HandlerTest
-
- testURLStreamHandlerConstructorIsPublic() - Method in class net.sf.fsp.fsplib.HandlerTest
-