Java Doc for X509CRLSelectorTest.java in  » Apache-Harmony-Java-SE » java-package » java » security » cert » 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 » java package » java.security.cert 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.security.cert.X509CRLSelectorTest

X509CRLSelectorTest
public class X509CRLSelectorTest extends TestCase (Code)




Method Summary
public static  voidmain(String[] args)
    
public static  Testsuite()
    
public  voidtestAddIssuer()
     addIssuer(X500Principal issuer) method testing.
public  voidtestAddIssuerName1()
     addIssuerName(String name) method testing.
public  voidtestAddIssuerName2()
     addIssuerName(byte[] name) method testing.
public  voidtestClone()
     clone() method testing.
public  voidtestGetDateAndTime()
     getDateAndTime() method testing.
public  voidtestGetIssuerNames()
     getIssuerNames() method testing.
public  voidtestGetIssuers()
     getIssuers() method testing.
public  voidtestGetMaxCRL()
     getMaxCRL() method testing.
public  voidtestGetMinCRL()
     getMinCRL() method testing.
public  voidtestMatch()
     match(CRL crl) method testing.
public  voidtestSetDateAndTime()
     setDateAndTime(Date dateAndTime) method testing.
public  voidtestSetIssuerNames()
     setIssuerNames(Collection names) method testing.
public  voidtestSetIssuers()
     setIssuers(Collection issuers) method testing.
public  voidtestSetMaxCRLNumber()
     setMaxCRLNumber(BigInteger maxCRL) method testing. Tests if CRLs with any crl number value match the selector in the case of null crlNumber criteria, if specified maxCRL value matches the selector, and if CRL with inappropriate crlNumber value does not match the selector.
public  voidtestSetMinCRLNumber()
     setMinCRLNumber(BigInteger minCRL) method testing. Tests if CRLs with any crl number value match the selector in the case of null crlNumber criteria, if specified minCRL value matches the selector, and if CRL with inappropriate crlNumber value does not match the selector.
public  voidtestToString()
    



Method Detail
main
public static void main(String[] args)(Code)



suite
public static Test suite()(Code)



testAddIssuer
public void testAddIssuer()(Code)
addIssuer(X500Principal issuer) method testing. Tests if CRLs with specified issuers match the selector, and if not specified issuer does not match the selector.



testAddIssuerName1
public void testAddIssuerName1()(Code)
addIssuerName(String name) method testing. Tests if CRLs with specified issuers match the selector, and if not specified issuer does not match the selector.



testAddIssuerName2
public void testAddIssuerName2()(Code)
addIssuerName(byte[] name) method testing. Tests if CRLs with specified issuers match the selector, and if not specified issuer does not match the selector.



testClone
public void testClone()(Code)
clone() method testing. Tests if the selector is cloned correctly: the crl which matche to the initial selector should match to the clone and the change of clone should not cause the change of initial selector.



testGetDateAndTime
public void testGetDateAndTime()(Code)
getDateAndTime() method testing. Tests if the method return null in the case of not specified dateAndTime criteria, and if the returned value corresponds to the specified one.



testGetIssuerNames
public void testGetIssuerNames()(Code)
getIssuerNames() method testing. Tests if the method return null in the case of not specified issuers, if the returned collection corresponds to the specified issuers.



testGetIssuers
public void testGetIssuers() throws Exception(Code)
getIssuers() method testing. Tests if the method return null in the case of not specified issuers, if the returned collection corresponds to the specified issuers and this collection is unmodifiable.



testGetMaxCRL
public void testGetMaxCRL()(Code)
getMaxCRL() method testing. Tests if the method return null in the case of not specified maxCRL criteria, and if the returned value corresponds to the specified one.



testGetMinCRL
public void testGetMinCRL()(Code)
getMinCRL() method testing. Tests if the method return null in the case of not specified minCRL criteria, and if the returned value corresponds to the specified one.



testMatch
public void testMatch()(Code)
match(CRL crl) method testing. Tests if the null object matches to the selector or not.



testSetDateAndTime
public void testSetDateAndTime()(Code)
setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any update dates match the selector in the case of null dateAndTime criteria, if correct dates match and incorrect do not match the selector.



testSetIssuerNames
public void testSetIssuerNames()(Code)
setIssuerNames(Collection names) method testing. Tests if CRLs with any issuers match the selector in the case of null issuerNames criteria, if specified issuers match the selector, if not specified issuer does not match the selector, and if the internal collection of issuer names is copied during initialization.



testSetIssuers
public void testSetIssuers()(Code)
setIssuers(Collection issuers) method testing. Tests if CRLs with any issuers match the selector in the case of null issuerNames criteria, if specified issuers match the selector, and if not specified issuer does not match the selector.



testSetMaxCRLNumber
public void testSetMaxCRLNumber()(Code)
setMaxCRLNumber(BigInteger maxCRL) method testing. Tests if CRLs with any crl number value match the selector in the case of null crlNumber criteria, if specified maxCRL value matches the selector, and if CRL with inappropriate crlNumber value does not match the selector.



testSetMinCRLNumber
public void testSetMinCRLNumber()(Code)
setMinCRLNumber(BigInteger minCRL) method testing. Tests if CRLs with any crl number value match the selector in the case of null crlNumber criteria, if specified minCRL value matches the selector, and if CRL with inappropriate crlNumber value does not match the selector.



testToString
public void testToString()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.