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  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestAssertions()
    
public  voidtestAutolockAndNamedLock()
    
public  voidtestAutolockCtorExceptionInsideSynch()
    
public  voidtestAutolockCtorExceptionOutsideSynch()
    
public  voidtestAutolockCtorNoException()
    
public  voidtestInstanceMethodReturnsAValueThrowsExceptionWithNamedLocks()
    
public  voidtestInstanceMethodReturnsAValueWithNamedLocks()
    
public  voidtestInstanceMethodThrowsExceptionWithNamedLocks()
    
public  voidtestInstanceMethodWithArgumentsReturnsAValue()
    
public  voidtestInstanceMethodWithArgumentsReturnsAValueThrowsException()
    
public  voidtestInstanceMethodWithArgumentsThrowsExceptionWithNamedLocks()
    
public  voidtestInstanceMethodWithArgumentsWithNamedLocks()
    
public  voidtestInstanceMethodWithAutolockAndNoSynchronizersDoesNothing()
    
public  voidtestInstanceMethodWithNamedLocks()
    
public  voidtestInternalSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodReturnsAValueWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodWithArgumentsWithAutolock()
    
public  voidtestInternalSynchronizedInstanceMethodWithAutolock()
     Tests that autolocks work on synchronization inside methods.
public  voidtestInternalSynchronizedInstanceMethodWithNamedlockAndAutoLock()
    
public  voidtestInternalSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks()
    
public  voidtestInternalSynchronizedStaticMethodReturnsAValueWithAutolocks()
     Autolocks SHOULD apply to internally synchronized static methods.
public  voidtestInternalSynchronizedStaticMethodThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks()
    
public  voidtestInternalSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks()
    
public  voidtestInternalSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock()
    
public  voidtestInternalSynchronizedStaticMethodWithArgumentsWithAutolock()
    
public  voidtestInternalSynchronizedStaticMethodWithAutolock()
    
public  voidtestMultipleNamedLocks()
    
public  voidtestNamedLockInInstanceManagedConstructor()
    
public  voidtestNamedlockCtorNoException()
    
public  voidtestNamedlockCtorThrowsException()
    
public  voidtestNestedAutolocks()
    
public  voidtestReadLock()
    
public  voidtestSerializationFields()
    
public  voidtestStaticMethodReturnsAValueThrowsExceptionWithNamedLocks()
    
public  voidtestStaticMethodReturnsAValueWithNamedLocks()
    
public  voidtestStaticMethodThrowsExceptionWithNamedLocks()
    
public  voidtestStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithNamedLocks()
    
public  voidtestStaticMethodWithArgumentsReturnsAValueWithNamedLocks()
    
public  voidtestStaticMethodWithArgumentsThrowsExceptionWithNamedLocks()
    
public  voidtestStaticMethodWithArgumentsWithNamedLocks()
    
public  voidtestStaticMethodWithNamedLocks()
    
public  voidtestSuperclassTransients()
    
public  voidtestSynchronizedInstanceMethodReturnsAValueThrowsExceptionWithAutolock()
    
public  voidtestSynchronizedInstanceMethodReturnsAValueWithAutolock()
    
public  voidtestSynchronizedInstanceMethodThrowsExceptionWithAutolock()
    
public  voidtestSynchronizedInstanceMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolock()
    
public  voidtestSynchronizedInstanceMethodWithArgumentsReturnsAValueWithAutolock()
    
public  voidtestSynchronizedInstanceMethodWithArgumentsThrowsExceptionWithAutolock()
     Tests that autolocks work on synchronized methods.
public  voidtestSynchronizedInstanceMethodWithArgumentsWithAutolock()
    
public  voidtestSynchronizedInstanceMethodWithAutolock()
    
public  voidtestSynchronizedInstanceMethodWithAutolockAndNamedLock()
    
public  voidtestSynchronizedInstanceMethodWithWideArgs()
    
public  voidtestSynchronizedStaticMethodReturnsAValueThrowsExceptionWithAutolocks()
    
public  voidtestSynchronizedStaticMethodReturnsAValueWithAutolocks()
     Autolocks should not apply to synchronized static methods because they are synchronized on the Class object which can't be distributed...
public  voidtestSynchronizedStaticMethodThrowsExceptionWithAutolock()
    
public  voidtestSynchronizedStaticMethodWithArgumentsReturnsAValueThrowsExceptionWithAutolocks()
    
public  voidtestSynchronizedStaticMethodWithArgumentsReturnsAValueWithAutolocks()
    
public  voidtestSynchronizedStaticMethodWithArgumentsThrowsExceptionWithAutolock()
    
public  voidtestSynchronizedStaticMethodWithArgumentsWithAutolock()
    
public  voidtestSynchronizedStaticMethodWithAutolock()
    
public  voidtestWildcardAutolock()
    
public  voidtestWildcardPatternWithAutolockAdaptsOK()
    
public  voidtestWildcardPatternWithNamedLocksAdaptsOK()
    
public  voidtestWithoutLocks()
    



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.