Java Doc for ServerSocketTest.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » luni » tests » java » net » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » org package » org.apache.harmony.luni.tests.java.net 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.harmony.luni.tests.java.net.SocketTestCase
   org.apache.harmony.luni.tests.java.net.ServerSocketTest

ServerSocketTest
public class ServerSocketTest extends SocketTestCase (Code)

Inner Class :static class SSClient implements Runnable
Inner Class :static class MockSocketImpl extends SocketImpl
Inner Class :static class MockSocket extends Socket
Inner Class :static class MockServerSocket extends ServerSocket

Field Summary
 booleaninterrupted
    
 ServerSockets
    
 Socketsconn
    
 Threadt
    


Method Summary
protected  voidsetUp()
     Sets up the fixture, for example, open a network connection.
protected  voidstartClient(int port)
     Sets up the fixture, for example, open a network connection.
protected  voidtearDown()
     Tears down the fixture, for example, close a network connection.
public  voidtest_Constructor()
    
public  voidtest_ConstructorI()
    
public  voidtest_ConstructorII()
    
public  voidtest_ConstructorIILjava_net_InetAddress()
    
public  voidtest_ConstructorI_SocksSet()
    
public  voidtest_ServerSocket_init()
    
public  voidtest_accept()
    
public  voidtest_bindLjava_net_SocketAddress()
    
public  voidtest_bindLjava_net_SocketAddressI()
    
public  voidtest_close()
    
public  voidtest_getChannel()
    
public  voidtest_getInetAddress()
    
public  voidtest_getLocalPort()
    
public  voidtest_getLocalSocketAddress()
    
public  voidtest_getReceiveBufferSize()
    
public  voidtest_getReuseAddress()
    
public  voidtest_getSoTimeout()
    
public  voidtest_implAcceptLjava_net_Socket()
    
public  voidtest_isBound()
    
public  voidtest_isClosed()
    
public  voidtest_setPerformancePreference_Int_Int_Int()
    
public  voidtest_setReceiveBufferSizeI()
    
public  voidtest_setReuseAddressZ()
    
public  voidtest_setSoTimeoutI()
    
public  voidtest_setSocketFactoryLjava_net_SocketImplFactory()
    
public  voidtest_toString()
    

Field Detail
interrupted
boolean interrupted(Code)



s
ServerSocket s(Code)



sconn
Socket sconn(Code)



t
Thread t(Code)





Method Detail
setUp
protected void setUp()(Code)
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.



startClient
protected void startClient(int port)(Code)
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.



tearDown
protected void tearDown()(Code)
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.



test_Constructor
public void test_Constructor()(Code)



test_ConstructorI
public void test_ConstructorI()(Code)



test_ConstructorII
public void test_ConstructorII() throws IOException(Code)



test_ConstructorIILjava_net_InetAddress
public void test_ConstructorIILjava_net_InetAddress() throws UnknownHostException, IOException(Code)



test_ConstructorI_SocksSet
public void test_ConstructorI_SocksSet() throws IOException(Code)



test_ServerSocket_init
public void test_ServerSocket_init() throws Exception(Code)
Regression for HARMONY-3265
throws:
  Exception -



test_accept
public void test_accept() throws IOException(Code)



test_bindLjava_net_SocketAddress
public void test_bindLjava_net_SocketAddress() throws IOException(Code)



test_bindLjava_net_SocketAddressI
public void test_bindLjava_net_SocketAddressI() throws IOException(Code)



test_close
public void test_close() throws IOException(Code)



test_getChannel
public void test_getChannel() throws Exception(Code)



test_getInetAddress
public void test_getInetAddress() throws IOException(Code)



test_getLocalPort
public void test_getLocalPort() throws IOException(Code)



test_getLocalSocketAddress
public void test_getLocalSocketAddress() throws Exception(Code)



test_getReceiveBufferSize
public void test_getReceiveBufferSize()(Code)



test_getReuseAddress
public void test_getReuseAddress()(Code)



test_getSoTimeout
public void test_getSoTimeout() throws IOException(Code)



test_implAcceptLjava_net_Socket
public void test_implAcceptLjava_net_Socket() throws Exception(Code)



test_isBound
public void test_isBound() throws IOException(Code)



test_isClosed
public void test_isClosed() throws IOException(Code)



test_setPerformancePreference_Int_Int_Int
public void test_setPerformancePreference_Int_Int_Int() throws Exception(Code)



test_setReceiveBufferSizeI
public void test_setReceiveBufferSizeI()(Code)



test_setReuseAddressZ
public void test_setReuseAddressZ()(Code)



test_setSoTimeoutI
public void test_setSoTimeoutI() throws IOException(Code)



test_setSocketFactoryLjava_net_SocketImplFactory
public void test_setSocketFactoryLjava_net_SocketImplFactory()(Code)



test_toString
public void test_toString() throws Exception(Code)



Fields inherited from org.apache.harmony.luni.tests.java.net.SocketTestCase
final public static int IP_TOS(Code)(Java Doc)
final public static String LINUX(Code)(Java Doc)
final public static int SO_BROADCAST(Code)(Java Doc)
final public static int SO_KEEPALIVE(Code)(Java Doc)
final public static int SO_LINGER(Code)(Java Doc)
final public static int SO_MULTICAST(Code)(Java Doc)
final public static int SO_MULTICAST_INTERFACE(Code)(Java Doc)
final public static int SO_OOBINLINE(Code)(Java Doc)
final public static int SO_RCVBUF(Code)(Java Doc)
final public static int SO_REUSEADDR(Code)(Java Doc)
final public static int SO_SNDBUF(Code)(Java Doc)
final public static int SO_TIMEOUT(Code)(Java Doc)
final public static int SO_USELOOPBACK(Code)(Java Doc)
final public static int TCP_NODELAY(Code)(Java Doc)

Methods inherited from org.apache.harmony.luni.tests.java.net.SocketTestCase
public void ensureExceptionThrownIfOptionIsUnsupportedOnOS(int option)(Code)(Java Doc)
public boolean getOptionIsSupported(int option)(Code)(Java Doc)
public void handleException(Exception e, int option)(Code)(Java Doc)

w_w_w__.__j__a__v___a_2___s_.___c_o_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.