Java Doc for ClassAdapterTest.java in » Net » Terracotta » com » tc » object » bytecode » 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
»
Terracotta
»
com.tc.object.bytecode
Source Cross Reference
Class Diagram
Java Document (Java Doc)
com.tc.object.bytecode
.ClassAdapterTestBase
com.tc.object.bytecode
.ClassAdapterTest
ClassAdapterTest
public
class ClassAdapterTest extends
ClassAdapterTestBase
(Code)
Test to see if an adapted class has all of the adaptations we expect.
Method Summary
protected
void
setUp
()
protected
void
tearDown
()
public
void
testAssertions
()
public
void
testAutolockAndNamedLock
()
public
void
testAutolockCtorExceptionInsideSynch
()
public
void
testAutolockCtorExceptionOutsideSynch
()
public
void
testAutolockCtorNoException
()
public
void
testInstanceMethodReturnsAValueThrowsExceptionWithNamedLocks
()
public
void
testInstanceMethodReturnsAValueWithNamedLocks
()
public
void
testInstanceMethodThrowsExceptionWithNamedLocks
()
public
void
testInstanceMethodWithArgumentsReturnsAValue
()
public
void
testInstanceMethodWithArgumentsReturnsAValueThrowsException
()
public
void
testInstanceMethodWithArgumentsThrowsExceptionWithNamedLocks
()
public
void
testInstanceMethodWithArgumentsWithNamedLocks
()
public
void
testInstanceMethodWithAutolockAndNoSynchronizersDoesNothing
()
public
void
testInstanceMethodWithNamedLocks
()
public
void
testInternalSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodReturnsAValueWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodWithArgumentsWithAutolock
()
public
void
testInternalSynchronizedInstanceMethodWithAutolock
()
Tests that autolocks work on synchronization inside methods.
public
void
testInternalSynchronizedInstanceMethodWithNamedlockAndAutoLock
()
public
void
testInternalSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks
()
public
void
testInternalSynchronizedStaticMethodReturnsAValueWithAutolocks
()
Autolocks SHOULD apply to internally synchronized static methods.
public
void
testInternalSynchronizedStaticMethodThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks
()
public
void
testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks
()
public
void
testInternalSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock
()
public
void
testInternalSynchronizedStaticMethodWithArgumentsWithAutolock
()
public
void
testInternalSynchronizedStaticMethodWithAutolock
()
public
void
testMultipleNamedLocks
()
public
void
testNamedLockInInstanceManagedConstructor
()
public
void
testNamedlockCtorNoException
()
public
void
testNamedlockCtorThrowsException
()
public
void
testNestedAutolocks
()
public
void
testReadLock
()
public
void
testSerializationFields
()
public
void
testStaticMethodReturnsAValueThrowsExceptionWithNamedLocks
()
public
void
testStaticMethodReturnsAValueWithNamedLocks
()
public
void
testStaticMethodThrowsExceptionWithNamedLocks
()
public
void
testStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithNamedLocks
()
public
void
testStaticMethodWithArgumentsReturnsAValueWithNamedLocks
()
public
void
testStaticMethodWithArgumentsThrowsExceptionWithNamedLocks
()
public
void
testStaticMethodWithArgumentsWithNamedLocks
()
public
void
testStaticMethodWithNamedLocks
()
public
void
testSuperclassTransients
()
public
void
testSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock
()
public
void
testSynchronizedInstanceMethodReturnsAValueWithAutolock
()
public
void
testSynchronizedInstanceMethodThrowsExceptionWithAutolock
()
public
void
testSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock
()
public
void
testSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock
()
public
void
testSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock
()
Tests that autolocks work on synchronized methods.
public
void
testSynchronizedInstanceMethodWithArgumentsWithAutolock
()
public
void
testSynchronizedInstanceMethodWithAutolock
()
public
void
testSynchronizedInstanceMethodWithAutolockAndNamedLock
()
public
void
testSynchronizedInstanceMethodWithWideArgs
()
public
void
testSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks
()
public
void
testSynchronizedStaticMethodReturnsAValueWithAutolocks
()
Autolocks should not apply to synchronized static methods because they are synchronized on the Class object which can't be distributed...
public
void
testSynchronizedStaticMethodThrowsExceptionWithAutolock
()
public
void
testSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks
()
public
void
testSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks
()
public
void
testSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock
()
public
void
testSynchronizedStaticMethodWithArgumentsWithAutolock
()
public
void
testSynchronizedStaticMethodWithAutolock
()
public
void
testWildcardAutolock
()
public
void
testWildcardPatternWithAutolockAdaptsOK
()
public
void
testWildcardPatternWithNamedLocksAdaptsOK
()
public
void
testWithoutLocks
()
Method Detail
setUp
protected
void setUp() throws
Exception
(Code)
tearDown
protected
void tearDown() throws
Exception
(Code)
testAssertions
public
void testAssertions() throws
Exception
(Code)
testAutolockAndNamedLock
public
void testAutolockAndNamedLock() throws
Exception
(Code)
testAutolockCtorExceptionInsideSynch
public
void testAutolockCtorExceptionInsideSynch() throws
Exception
(Code)
testAutolockCtorExceptionOutsideSynch
public
void testAutolockCtorExceptionOutsideSynch() throws
Exception
(Code)
testAutolockCtorNoException
public
void testAutolockCtorNoException() throws
Exception
(Code)
testInstanceMethodReturnsAValueThrowsExceptionWithNamedLocks
public
void testInstanceMethodReturnsAValueThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testInstanceMethodReturnsAValueWithNamedLocks
public
void testInstanceMethodReturnsAValueWithNamedLocks() throws
Exception
(Code)
testInstanceMethodThrowsExceptionWithNamedLocks
public
void testInstanceMethodThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testInstanceMethodWithArgumentsReturnsAValue
public
void testInstanceMethodWithArgumentsReturnsAValue() throws
Exception
(Code)
testInstanceMethodWithArgumentsReturnsAValueThrowsException
public
void testInstanceMethodWithArgumentsReturnsAValueThrowsException() throws
Exception
(Code)
testInstanceMethodWithArgumentsThrowsExceptionWithNamedLocks
public
void testInstanceMethodWithArgumentsThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testInstanceMethodWithArgumentsWithNamedLocks
public
void testInstanceMethodWithArgumentsWithNamedLocks() throws
Exception
(Code)
testInstanceMethodWithAutolockAndNoSynchronizersDoesNothing
public
void testInstanceMethodWithAutolockAndNoSynchronizersDoesNothing() throws
Exception
(Code)
testInstanceMethodWithNamedLocks
public
void testInstanceMethodWithNamedLocks() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock
public
void testInternalSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodReturnsAValueWithAutolock
public
void testInternalSynchronizedInstanceMethodReturnsAValueWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodThrowsExceptionWithAutolock
public
void testInternalSynchronizedInstanceMethodThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock
public
void testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock
public
void testInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock
public
void testInternalSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodWithArgumentsWithAutolock
public
void testInternalSynchronizedInstanceMethodWithArgumentsWithAutolock() throws
Exception
(Code)
testInternalSynchronizedInstanceMethodWithAutolock
public
void testInternalSynchronizedInstanceMethodWithAutolock() throws
Exception
(Code)
Tests that autolocks work on synchronization inside methods.
testInternalSynchronizedInstanceMethodWithNamedlockAndAutoLock
public
void testInternalSynchronizedInstanceMethodWithNamedlockAndAutoLock() throws
Exception
(Code)
testInternalSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks
public
void testInternalSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks() throws
Exception
(Code)
testInternalSynchronizedStaticMethodReturnsAValueWithAutolocks
public
void testInternalSynchronizedStaticMethodReturnsAValueWithAutolocks() throws
Exception
(Code)
Autolocks SHOULD apply to internally synchronized static methods.
testInternalSynchronizedStaticMethodThrowsExceptionWithAutolock
public
void testInternalSynchronizedStaticMethodThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks
public
void testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks() throws
Exception
(Code)
testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks
public
void testInternalSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks() throws
Exception
(Code)
testInternalSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock
public
void testInternalSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock() throws
Exception
(Code)
testInternalSynchronizedStaticMethodWithArgumentsWithAutolock
public
void testInternalSynchronizedStaticMethodWithArgumentsWithAutolock() throws
Exception
(Code)
testInternalSynchronizedStaticMethodWithAutolock
public
void testInternalSynchronizedStaticMethodWithAutolock() throws
Exception
(Code)
testMultipleNamedLocks
public
void testMultipleNamedLocks() throws
Exception
(Code)
testNamedLockInInstanceManagedConstructor
public
void testNamedLockInInstanceManagedConstructor() throws
Exception
(Code)
testNamedlockCtorNoException
public
void testNamedlockCtorNoException() throws
Exception
(Code)
testNamedlockCtorThrowsException
public
void testNamedlockCtorThrowsException() throws
Exception
(Code)
testNestedAutolocks
public
void testNestedAutolocks() throws
Exception
(Code)
testReadLock
public
void testReadLock() throws
Exception
(Code)
testSerializationFields
public
void testSerializationFields() throws
Exception
(Code)
testStaticMethodReturnsAValueThrowsExceptionWithNamedLocks
public
void testStaticMethodReturnsAValueThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testStaticMethodReturnsAValueWithNamedLocks
public
void testStaticMethodReturnsAValueWithNamedLocks() throws
Exception
(Code)
testStaticMethodThrowsExceptionWithNamedLocks
public
void testStaticMethodThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithNamedLocks
public
void testStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testStaticMethodWithArgumentsReturnsAValueWithNamedLocks
public
void testStaticMethodWithArgumentsReturnsAValueWithNamedLocks() throws
Exception
(Code)
testStaticMethodWithArgumentsThrowsExceptionWithNamedLocks
public
void testStaticMethodWithArgumentsThrowsExceptionWithNamedLocks() throws
Exception
(Code)
testStaticMethodWithArgumentsWithNamedLocks
public
void testStaticMethodWithArgumentsWithNamedLocks() throws
Exception
(Code)
testStaticMethodWithNamedLocks
public
void testStaticMethodWithNamedLocks() throws
Exception
(Code)
testSuperclassTransients
public
void testSuperclassTransients() throws
Exception
(Code)
testSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock
public
void testSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodReturnsAValueWithAutolock
public
void testSynchronizedInstanceMethodReturnsAValueWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodThrowsExceptionWithAutolock
public
void testSynchronizedInstanceMethodThrowsExceptionWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock
public
void testSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock
public
void testSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock
public
void testSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock() throws
Exception
(Code)
Tests that autolocks work on synchronized methods.
testSynchronizedInstanceMethodWithArgumentsWithAutolock
public
void testSynchronizedInstanceMethodWithArgumentsWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithAutolock
public
void testSynchronizedInstanceMethodWithAutolock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithAutolockAndNamedLock
public
void testSynchronizedInstanceMethodWithAutolockAndNamedLock() throws
Exception
(Code)
testSynchronizedInstanceMethodWithWideArgs
public
void testSynchronizedInstanceMethodWithWideArgs() throws
Exception
(Code)
testSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks
public
void testSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks() throws
Exception
(Code)
testSynchronizedStaticMethodReturnsAValueWithAutolocks
public
void testSynchronizedStaticMethodReturnsAValueWithAutolocks() throws
Exception
(Code)
Autolocks should not apply to synchronized static methods because they are synchronized on the Class object which can't be distributed... we don't think.
testSynchronizedStaticMethodThrowsExceptionWithAutolock
public
void testSynchronizedStaticMethodThrowsExceptionWithAutolock() throws
Exception
(Code)
testSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks
public
void testSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks() throws
Exception
(Code)
testSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks
public
void testSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks() throws
Exception
(Code)
testSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock
public
void testSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock() throws
Exception
(Code)
testSynchronizedStaticMethodWithArgumentsWithAutolock
public
void testSynchronizedStaticMethodWithArgumentsWithAutolock() throws
Exception
(Code)
testSynchronizedStaticMethodWithAutolock
public
void testSynchronizedStaticMethodWithAutolock() throws
Exception
(Code)
testWildcardAutolock
public
void testWildcardAutolock() throws
Exception
(Code)
testWildcardPatternWithAutolockAdaptsOK
public
void testWildcardPatternWithAutolockAdaptsOK() throws
Exception
(Code)
testWildcardPatternWithNamedLocksAdaptsOK
public
void testWildcardPatternWithNamedLocksAdaptsOK() throws
Exception
(Code)
testWithoutLocks
public
void testWithoutLocks() throws
Exception
(Code)
Methods inherited from
com.tc.object.bytecode.ClassAdapterTestBase
protected
void invokeMethod(
Class
c,
Object
instance,
String
name,
Class
[] paramTypes,
Object
[] paramValues) throws
Exception
(Code)
(Java Doc)
protected
Object
invokeMethod(
Class
c,
Object
instance,
String
name,
Class
[] paramTypes,
Object
[] paramValues, boolean failOnException) throws
Exception
(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.