Java Doc for TestCookieCompatibilitySpec.java in » Net » Apache-common-HttpClient » org » apache » commons » httpclient » cookie » 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
»
Net
»
Apache common HttpClient
»
org.apache.commons.httpclient.cookie
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.commons.httpclient.cookie
.TestCookieBase
org.apache.commons.httpclient.cookie
.TestCookieCompatibilitySpec
TestCookieCompatibilitySpec
public
class TestCookieCompatibilitySpec extends
TestCookieBase
(Code)
Test cases for Cookie
author:
BC Holmes
author:
Rod Waldhoff
author:
dIon Gillard
author:
John Evans
author:
Marc A. Saegesser
author:
Oleg Kalnichevski
version:
$Revision: 480424 $
Constructor Summary
public
TestCookieCompatibilitySpec
(
String
name)
Method Summary
public
static Test
suite
()
public
void
testCookieMatch1
()
public
void
testCookieMatch2
()
public
void
testCookieMatch3
()
public
void
testCookieMatch4
()
public
void
testCookieMatch5
()
public
void
testCookieMismatch1
()
public
void
testCookieMismatch2
()
public
void
testCookieMismatch3
()
public
void
testCookieMismatch4
()
public
void
testCookieMismatch6
()
public
void
testCookieNameStartingWithDollarSign
()
Tests if cookie constructor rejects cookie name starting with $.
public
void
testCookieNameWithBlanks
()
Tests if cookie constructor rejects cookie name containing blanks.
public
void
testCookieWithComma
()
Tests if malformatted expires attribute is parsed correctly.
public
void
testDateFormats
()
Tests several date formats.
public
void
testDomainCaseInsensitivity
()
Tests whether domain attribute check is case-insensitive.
public
void
testFormatInvalidCookie
()
public
void
testFormatInvalidCookies
()
public
void
testFormatOneCookie
()
public
void
testFormatSeveralCookies
()
Tests generic cookie formatting.
public
void
testFormatSeveralCookiesAsHeader
()
public
void
testFormatZeroCookies
()
public
void
testGenericCookieFormatting
()
Tests generic cookie formatting.
public
void
testGenericCookieFormattingAsHeader
()
public
void
testInvalidMatchDomain
()
public
void
testInvalidSecondDomainLevelCookieMatch1
()
public
void
testInvalidSecondDomainLevelCookieMatch2
()
public
void
testKeepCloverHappy
()
public
void
testMatchBlankHost
()
public
void
testMatchBlankPath
()
public
void
testMatchInvalidPort
()
public
void
testMatchNullCookie
()
public
void
testMatchNullCookieDomain
()
public
void
testMatchNullCookiePath
()
public
void
testMatchNullCookies
()
public
void
testMatchNullHost
()
public
void
testMatchNullPath
()
public
void
testMatchedCookiesOrder
()
public
void
testNullCookieValueFormatting
()
Tests if null cookie values are handled correctly.
public
void
testParse1
()
public
void
testParse2
()
public
void
testParse3
()
public
void
testParseAttributeBlankDomain
()
public
void
testParseAttributeBlankPath
()
public
void
testParseAttributeInvalidAttrib
()
public
void
testParseAttributeInvalidCookie
()
public
void
testParseAttributeInvalidMaxAge
()
public
void
testParseAttributeNullDomain
()
public
void
testParseAttributeNullExpires
()
public
void
testParseAttributeNullMaxAge
()
public
void
testParseAttributeNullPath
()
public
void
testParseAttributeUnknownValue
()
public
void
testParseMultipleDifferentPaths
()
public
void
testParseMultipleSamePaths
()
public
void
testParseNoName
()
public
void
testParseNoValue
()
public
void
testParseRelativePath
()
public
void
testParseSimple
()
public
void
testParseSimple2
()
public
void
testParseWithAll
()
public
void
testParseWithBlankHost
()
public
void
testParseWithBlankPath
()
public
void
testParseWithComment
()
public
void
testParseWithDomain
()
public
void
testParseWithExpires
()
public
void
testParseWithInvalidHeader1
()
public
void
testParseWithInvalidHeader2
()
public
void
testParseWithNegativePort
()
public
void
testParseWithNullHost
()
public
void
testParseWithNullHostAndPath
()
public
void
testParseWithNullPath
()
public
void
testParseWithPath
()
public
void
testParseWithPathMismatch
()
public
void
testParseWithPathMismatch2
()
public
void
testParseWithQuotes
()
public
void
testParseWithSecure
()
public
void
testParseWithWhiteSpace
()
public
void
testParseWithWrongDomain
()
public
void
testQuotedExpiresAttribute
()
public
void
testSecondDomainLevelCookie
()
Tests if invalid second domain level cookie gets accepted in the browser compatibility mode.
public
void
testSecondDomainLevelCookieMatch1
()
public
void
testSecondDomainLevelCookieMatch2
()
public
void
testSecondDomainLevelCookieMatch3
()
public
void
testSecurityError
()
public
void
testValidateBlankHost
()
public
void
testValidateBlankPath
()
public
void
testValidateInvalidCookieVersion
()
public
void
testValidateInvalidPort
()
public
void
testValidateNullHost
()
public
void
testValidateNullPath
()
Constructor Detail
TestCookieCompatibilitySpec
public
TestCookieCompatibilitySpec(
String
name)
(Code)
Method Detail
suite
public
static Test suite()
(Code)
testCookieMatch1
public
void testCookieMatch1() throws
Exception
(Code)
testCookieMatch2
public
void testCookieMatch2() throws
Exception
(Code)
testCookieMatch3
public
void testCookieMatch3() throws
Exception
(Code)
testCookieMatch4
public
void testCookieMatch4() throws
Exception
(Code)
testCookieMatch5
public
void testCookieMatch5() throws
Exception
(Code)
testCookieMismatch1
public
void testCookieMismatch1() throws
Exception
(Code)
testCookieMismatch2
public
void testCookieMismatch2() throws
Exception
(Code)
testCookieMismatch3
public
void testCookieMismatch3() throws
Exception
(Code)
testCookieMismatch4
public
void testCookieMismatch4() throws
Exception
(Code)
testCookieMismatch6
public
void testCookieMismatch6() throws
Exception
(Code)
testCookieNameStartingWithDollarSign
public
void testCookieNameStartingWithDollarSign() throws
Exception
(Code)
Tests if cookie constructor rejects cookie name starting with $.
testCookieNameWithBlanks
public
void testCookieNameWithBlanks() throws
Exception
(Code)
Tests if cookie constructor rejects cookie name containing blanks.
testCookieWithComma
public
void testCookieWithComma() throws
Exception
(Code)
Tests if malformatted expires attribute is parsed correctly.
testDateFormats
public
void testDateFormats() throws
Exception
(Code)
Tests several date formats.
testDomainCaseInsensitivity
public
void testDomainCaseInsensitivity() throws
Exception
(Code)
Tests whether domain attribute check is case-insensitive.
testFormatInvalidCookie
public
void testFormatInvalidCookie() throws
Exception
(Code)
testFormatInvalidCookies
public
void testFormatInvalidCookies() throws
Exception
(Code)
testFormatOneCookie
public
void testFormatOneCookie() throws
Exception
(Code)
testFormatSeveralCookies
public
void testFormatSeveralCookies() throws
Exception
(Code)
Tests generic cookie formatting.
testFormatSeveralCookiesAsHeader
public
void testFormatSeveralCookiesAsHeader() throws
Exception
(Code)
testFormatZeroCookies
public
void testFormatZeroCookies() throws
Exception
(Code)
testGenericCookieFormatting
public
void testGenericCookieFormatting() throws
Exception
(Code)
Tests generic cookie formatting.
testGenericCookieFormattingAsHeader
public
void testGenericCookieFormattingAsHeader() throws
Exception
(Code)
testInvalidMatchDomain
public
void testInvalidMatchDomain() throws
Exception
(Code)
testInvalidSecondDomainLevelCookieMatch1
public
void testInvalidSecondDomainLevelCookieMatch1() throws
Exception
(Code)
testInvalidSecondDomainLevelCookieMatch2
public
void testInvalidSecondDomainLevelCookieMatch2() throws
Exception
(Code)
testKeepCloverHappy
public
void testKeepCloverHappy() throws
Exception
(Code)
testMatchBlankHost
public
void testMatchBlankHost() throws
Exception
(Code)
testMatchBlankPath
public
void testMatchBlankPath() throws
Exception
(Code)
testMatchInvalidPort
public
void testMatchInvalidPort() throws
Exception
(Code)
testMatchNullCookie
public
void testMatchNullCookie() throws
Exception
(Code)
testMatchNullCookieDomain
public
void testMatchNullCookieDomain() throws
Exception
(Code)
testMatchNullCookiePath
public
void testMatchNullCookiePath() throws
Exception
(Code)
testMatchNullCookies
public
void testMatchNullCookies() throws
Exception
(Code)
testMatchNullHost
public
void testMatchNullHost() throws
Exception
(Code)
testMatchNullPath
public
void testMatchNullPath() throws
Exception
(Code)
testMatchedCookiesOrder
public
void testMatchedCookiesOrder() throws
Exception
(Code)
testNullCookieValueFormatting
public
void testNullCookieValueFormatting()
(Code)
Tests if null cookie values are handled correctly.
testParse1
public
void testParse1() throws
Exception
(Code)
Test basic parse (with various spacings
testParse2
public
void testParse2() throws
Exception
(Code)
Test no spaces
testParse3
public
void testParse3() throws
Exception
(Code)
Test parse with quoted text
testParseAttributeBlankDomain
public
void testParseAttributeBlankDomain() throws
Exception
(Code)
testParseAttributeBlankPath
public
void testParseAttributeBlankPath() throws
Exception
(Code)
testParseAttributeInvalidAttrib
public
void testParseAttributeInvalidAttrib() throws
Exception
(Code)
testParseAttributeInvalidCookie
public
void testParseAttributeInvalidCookie() throws
Exception
(Code)
testParseAttributeInvalidMaxAge
public
void testParseAttributeInvalidMaxAge() throws
Exception
(Code)
testParseAttributeNullDomain
public
void testParseAttributeNullDomain() throws
Exception
(Code)
testParseAttributeNullExpires
public
void testParseAttributeNullExpires() throws
Exception
(Code)
testParseAttributeNullMaxAge
public
void testParseAttributeNullMaxAge() throws
Exception
(Code)
testParseAttributeNullPath
public
void testParseAttributeNullPath() throws
Exception
(Code)
testParseAttributeUnknownValue
public
void testParseAttributeUnknownValue() throws
Exception
(Code)
testParseMultipleDifferentPaths
public
void testParseMultipleDifferentPaths() throws
Exception
(Code)
testParseMultipleSamePaths
public
void testParseMultipleSamePaths() throws
Exception
(Code)
testParseNoName
public
void testParseNoName() throws
Exception
(Code)
testParseNoValue
public
void testParseNoValue() throws
Exception
(Code)
testParseRelativePath
public
void testParseRelativePath() throws
Exception
(Code)
testParseSimple
public
void testParseSimple() throws
Exception
(Code)
testParseSimple2
public
void testParseSimple2() throws
Exception
(Code)
testParseWithAll
public
void testParseWithAll() throws
Exception
(Code)
testParseWithBlankHost
public
void testParseWithBlankHost() throws
Exception
(Code)
testParseWithBlankPath
public
void testParseWithBlankPath() throws
Exception
(Code)
testParseWithComment
public
void testParseWithComment() throws
Exception
(Code)
testParseWithDomain
public
void testParseWithDomain() throws
Exception
(Code)
testParseWithExpires
public
void testParseWithExpires() throws
Exception
(Code)
testParseWithInvalidHeader1
public
void testParseWithInvalidHeader1() throws
Exception
(Code)
testParseWithInvalidHeader2
public
void testParseWithInvalidHeader2() throws
Exception
(Code)
testParseWithNegativePort
public
void testParseWithNegativePort() throws
Exception
(Code)
testParseWithNullHost
public
void testParseWithNullHost() throws
Exception
(Code)
testParseWithNullHostAndPath
public
void testParseWithNullHostAndPath() throws
Exception
(Code)
testParseWithNullPath
public
void testParseWithNullPath() throws
Exception
(Code)
testParseWithPath
public
void testParseWithPath() throws
Exception
(Code)
testParseWithPathMismatch
public
void testParseWithPathMismatch() throws
Exception
(Code)
testParseWithPathMismatch2
public
void testParseWithPathMismatch2() throws
Exception
(Code)
testParseWithQuotes
public
void testParseWithQuotes() throws
Exception
(Code)
testParseWithSecure
public
void testParseWithSecure() throws
Exception
(Code)
testParseWithWhiteSpace
public
void testParseWithWhiteSpace() throws
Exception
(Code)
testParseWithWrongDomain
public
void testParseWithWrongDomain() throws
Exception
(Code)
testQuotedExpiresAttribute
public
void testQuotedExpiresAttribute() throws
Exception
(Code)
testSecondDomainLevelCookie
public
void testSecondDomainLevelCookie() throws
Exception
(Code)
Tests if invalid second domain level cookie gets accepted in the browser compatibility mode.
testSecondDomainLevelCookieMatch1
public
void testSecondDomainLevelCookieMatch1() throws
Exception
(Code)
testSecondDomainLevelCookieMatch2
public
void testSecondDomainLevelCookieMatch2() throws
Exception
(Code)
testSecondDomainLevelCookieMatch3
public
void testSecondDomainLevelCookieMatch3() throws
Exception
(Code)
testSecurityError
public
void testSecurityError() throws
Exception
(Code)
testValidateBlankHost
public
void testValidateBlankHost() throws
Exception
(Code)
testValidateBlankPath
public
void testValidateBlankPath() throws
Exception
(Code)
testValidateInvalidCookieVersion
public
void testValidateInvalidCookieVersion() throws
Exception
(Code)
testValidateInvalidPort
public
void testValidateInvalidPort() throws
Exception
(Code)
testValidateNullHost
public
void testValidateNullHost() throws
Exception
(Code)
testValidateNullPath
public
void testValidateNullPath() throws
Exception
(Code)
Methods inherited from
org.apache.commons.httpclient.cookie.TestCookieBase
public
static
Cookie
[] cookieParse(
CookieSpec
parser,
String
host, int port,
String
path, boolean isSecure,
Header
setHeader) throws
MalformedCookieException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.