Java Doc for URLTest.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.URLTest

URLTest
public class URLTest extends TestCase (Code)

Inner Class :public static class MyHandler extends URLStreamHandler
Inner Class :static class MockProxySelector extends ProxySelector
Inner Class :static class MockSecurityManager extends SecurityManager
Inner Class :static class MyURLStreamHandler extends URLStreamHandler
Inner Class :static class MyURLStreamHandlerFactory implements URLStreamHandlerFactory

Field Summary
 booleancaught
    
static  booleanisSelectCalled
    
 URLu
    
 URLu1
    
 URLu2
    
 URLu3
    
 URLu4
    
 URLu5
    
 URLu6
    


Method Summary
public  voidtest_ConstructorLjava_lang_String()
    
public  voidtest_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_String()
    
public  voidtest_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
    
public  voidtest_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
    
public  voidtest_ConstructorLjava_net_URLLjava_lang_String()
    
public  voidtest_ConstructorLjava_net_URLLjava_lang_StringLjava_net_URLStreamHandler()
    
public  voidtest_ConstructorLnullLjava_lang_StringILjava_lang_String()
     Check NPE throwing in constructor with 4 params when protocol argument is null.
public  voidtest_ConstructorLnullLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
     Check NPE throwing in constructor when protocol argument is null and URLStreamHandler argument is initialized.
public  voidtest_ConstructorLnullLjava_lang_StringILjava_lang_StringLnull()
     Check NPE throwing in constructor when protocol argument is null and URLStreamHandler argument is null.
public  voidtest_ConstructorLnullLjava_lang_StringLjava_lang_String()
     Check NPE throwing in constructor with 3 params when protocol argument is null.
public  voidtest_URLStreamHandler_parseURL()
    
public  voidtest_equalsLjava_lang_Object()
    
public  voidtest_getAuthority()
    
public  voidtest_getContent()
    
public  voidtest_getContent1718()
    
public  voidtest_getContent_LJavaLangClass()
    
public  voidtest_getDefaultPort()
    
public  voidtest_getFile()
    
public  voidtest_getHost()
    
public  voidtest_getPort()
    
public  voidtest_getProtocol()
    
public  voidtest_getRef()
    
public  voidtest_java_protocol_handler_pkgs_prop()
    
public  voidtest_openConnection()
    
public  voidtest_openConnection_Security()
    
public  voidtest_openConnection_SelectorCalled()
    
public  voidtest_openConnection_URL_Proxy()
    
public  voidtest_openConnection_proxy_SelectorCalled()
    
public  voidtest_openStream()
    
public  voidtest_sameFileLjava_net_URL()
    
public  voidtest_toExternalForm()
    
public  voidtest_toExternalForm_Absolute()
    
public  voidtest_toExternalForm_Relative()
    
public  voidtest_toString()
    
public  voidtest_toURI()
    

Field Detail
caught
boolean caught(Code)



isSelectCalled
static boolean isSelectCalled(Code)



u
URL u(Code)



u1
URL u1(Code)



u2
URL u2(Code)



u3
URL u3(Code)



u4
URL u4(Code)



u5
URL u5(Code)



u6
URL u6(Code)





Method Detail
test_ConstructorLjava_lang_String
public void test_ConstructorLjava_lang_String() throws IOException(Code)



test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_String
public void test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_String() throws MalformedURLException(Code)



test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler
public void test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler() throws Exception(Code)



test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String
public void test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() throws MalformedURLException(Code)



test_ConstructorLjava_net_URLLjava_lang_String
public void test_ConstructorLjava_net_URLLjava_lang_String() throws Exception(Code)



test_ConstructorLjava_net_URLLjava_lang_StringLjava_net_URLStreamHandler
public void test_ConstructorLjava_net_URLLjava_lang_StringLjava_net_URLStreamHandler() throws Exception(Code)



test_ConstructorLnullLjava_lang_StringILjava_lang_String
public void test_ConstructorLnullLjava_lang_StringILjava_lang_String() throws Exception(Code)
Check NPE throwing in constructor with 4 params when protocol argument is null.



test_ConstructorLnullLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler
public void test_ConstructorLnullLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler() throws Exception(Code)
Check NPE throwing in constructor when protocol argument is null and URLStreamHandler argument is initialized.



test_ConstructorLnullLjava_lang_StringILjava_lang_StringLnull
public void test_ConstructorLnullLjava_lang_StringILjava_lang_StringLnull() throws Exception(Code)
Check NPE throwing in constructor when protocol argument is null and URLStreamHandler argument is null.



test_ConstructorLnullLjava_lang_StringLjava_lang_String
public void test_ConstructorLnullLjava_lang_StringLjava_lang_String() throws Exception(Code)
Check NPE throwing in constructor with 3 params when protocol argument is null.



test_URLStreamHandler_parseURL
public void test_URLStreamHandler_parseURL() throws MalformedURLException(Code)



test_equalsLjava_lang_Object
public void test_equalsLjava_lang_Object()(Code)



test_getAuthority
public void test_getAuthority() throws MalformedURLException(Code)



test_getContent
public void test_getContent()(Code)



test_getContent1718
public void test_getContent1718() throws IOException(Code)



test_getContent_LJavaLangClass
public void test_getContent_LJavaLangClass() throws Exception(Code)



test_getDefaultPort
public void test_getDefaultPort() throws MalformedURLException(Code)

throws:
  MalformedURLException -



test_getFile
public void test_getFile() throws Exception(Code)



test_getHost
public void test_getHost() throws MalformedURLException(Code)



test_getPort
public void test_getPort() throws Exception(Code)



test_getProtocol
public void test_getProtocol() throws Exception(Code)



test_getRef
public void test_getRef()(Code)



test_java_protocol_handler_pkgs_prop
public void test_java_protocol_handler_pkgs_prop() throws MalformedURLException(Code)



test_openConnection
public void test_openConnection()(Code)



test_openConnection_Security
public void test_openConnection_Security() throws Exception(Code)



test_openConnection_SelectorCalled
public void test_openConnection_SelectorCalled() throws MalformedURLException(Code)



test_openConnection_URL_Proxy
public void test_openConnection_URL_Proxy() throws Exception(Code)
Check UnsupportedOperationException in openConnection(URL arg0, Proxy proxy)



test_openConnection_proxy_SelectorCalled
public void test_openConnection_proxy_SelectorCalled() throws IOException(Code)

throws:
  IOException -



test_openStream
public void test_openStream() throws Exception(Code)



test_sameFileLjava_net_URL
public void test_sameFileLjava_net_URL() throws Exception(Code)



test_toExternalForm
public void test_toExternalForm()(Code)



test_toExternalForm_Absolute
public void test_toExternalForm_Absolute() throws MalformedURLException(Code)



test_toExternalForm_Relative
public void test_toExternalForm_Relative() throws MalformedURLException(Code)



test_toString
public void test_toString()(Code)



test_toURI
public void test_toURI() throws Exception(Code)



w_w__w._j_a_v___a___2s___.___com_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.