Java Doc for JDWPSyncTestCase.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » jpda » tests » jdwp » share » 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.jpda.tests.jdwp.share 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.harmony.jpda.tests.jdwp.share.JDWPRawTestCase
   org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase
      org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase

All known Subclasses:   org.apache.harmony.jpda.tests.jdwp.ObjectReference.IsCollectedTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues003Test,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.SetDefaultStratumTest,  org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.Status005Test,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.ReferenceTypeTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues004Test,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.ThreadGroup002Test,  org.apache.harmony.jpda.tests.jdwp.ThreadGroupReference.ParentTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.OwnedMonitorsTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.AllThreadsTest,  org.apache.harmony.jpda.tests.jdwp.StringReference.ValueTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.BreakpointTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.JDWPEventTestCase,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.NestedTypesTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ResumeTest,  org.apache.harmony.jpda.tests.jdwp.Events.CombinedEventsTestCase,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.CreateStringTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.TopLevelThreadGroupsTest,  org.apache.harmony.jpda.tests.jdwp.ClassType.JDWPClassTypeTestCase,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.SignatureTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.Status006Test,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.CapabilitiesNewTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues005Test,  org.apache.harmony.jpda.tests.jdwp.ClassType.SetValues002Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.FieldsWithGenericTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.Status004Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.FieldsTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.GetValues003Test,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.SetValuesTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.ClassObjectTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.DisposeObjectsTest,  org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethodTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.FrameCountTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.ListenConnectorTest,  org.apache.harmony.jpda.tests.jdwp.Events.JDWPEventTestCase,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ClassesBySignatureTest,  org.apache.harmony.jpda.tests.jdwp.Method.JDWPMethodTestCase,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.Status003Test,  org.apache.harmony.jpda.tests.jdwp.MultiSession.SingleStepTest,  org.apache.harmony.jpda.tests.jdwp.ThreadGroupReference.NameTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.CurrentContendedMonitorTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.ClassLoaderTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.AllClassesTest,  org.apache.harmony.jpda.tests.jdwp.ClassLoaderReference.VisibleClassesTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.Signature002Test,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.Status002Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.SourceFileTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues002Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.SourceDebugExtensionTest,  org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstanceTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.EnableCollectionTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.FramesTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.ModifiersTest,  org.apache.harmony.jpda.tests.jdwp.ClassObjectReference.ReflectedTypeTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.SetValues004Test,  org.apache.harmony.jpda.tests.jdwp.MultiSession.ClassObjectIDTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.RedefineClassesTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.MethodEntryExitTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.GetValuesTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.DisableCollectionTest,  org.apache.harmony.jpda.tests.jdwp.ThreadGroupReference.ChildrenTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.InterruptTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.VMDeathTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ReleaseEventsTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.InterfacesTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.AttachConnectorTest,  org.apache.harmony.jpda.tests.jdwp.ArrayReference.SetValues002Test,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.ThreadGroupTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.VersionTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.AllClassesWithGenericTest,  org.apache.harmony.jpda.tests.jdwp.Events.VMDeath002Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.MethodsTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.ResumeTest,  org.apache.harmony.jpda.tests.jdwp.ArrayReference.JDWPArrayReferenceTestCase,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.StatusTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.StatusTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.SignatureWithGenericTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.ResumeTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.GetValues002Test,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.SetValues002Test,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.MethodsWithGenericTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ClassPathsTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.MonitorInfoTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.StopTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.SuspendTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.CapabilitiesTest,  org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValuesTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.EnableCollectionTest,  org.apache.harmony.jpda.tests.jdwp.ObjectReference.SetValues003Test,  org.apache.harmony.jpda.tests.jdwp.ArrayType.NewInstanceTest,  org.apache.harmony.jpda.tests.jdwp.StackFrame.JDWPStackFrameTestCase,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.SuspendTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.SuspendCountTest,  org.apache.harmony.jpda.tests.jdwp.ThreadReference.NameTest,  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.DisposeTest,  org.apache.harmony.jpda.tests.jdwp.MultiSession.RefTypeIDTest,
JDWPSyncTestCase
abstract public class JDWPSyncTestCase extends JDWPTestCase (Code)
Base class for unit tests which use one debuggee VM with synchronization channel.


Field Summary
protected  StringfinalSyncMessage
    
protected  JPDADebuggeeSynchronizersynchronizer
    


Method Summary
protected  voidbeforeDebuggeeStart(JDWPUnitDebuggeeWrapper debuggeeWrapper)
     This method is invoked right before starting debuggee VM.
protected  JPDADebuggeeSynchronizercreateSynchronizer()
     Creates wrapper for synchronization channel.
protected  voidinternalSetUp()
     Overrides inherited method to resume debuggee VM and then to establish sync connection.
protected  voidinternalTearDown()
     Overrides inherited method to close sync connection upon exit.

Field Detail
finalSyncMessage
protected String finalSyncMessage(Code)



synchronizer
protected JPDADebuggeeSynchronizer synchronizer(Code)





Method Detail
beforeDebuggeeStart
protected void beforeDebuggeeStart(JDWPUnitDebuggeeWrapper debuggeeWrapper)(Code)
This method is invoked right before starting debuggee VM.



createSynchronizer
protected JPDADebuggeeSynchronizer createSynchronizer()(Code)
Creates wrapper for synchronization channel.



internalSetUp
protected void internalSetUp() throws Exception(Code)
Overrides inherited method to resume debuggee VM and then to establish sync connection.



internalTearDown
protected void internalTearDown()(Code)
Overrides inherited method to close sync connection upon exit.



Fields inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase
protected JDWPUnitDebuggeeWrapper debuggeeWrapper(Code)(Java Doc)
protected EventPacket initialEvent(Code)(Java Doc)

Methods inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase
protected void assertAllDataRead(Packet reply)(Code)(Java Doc)
protected void assertEquals(String message, long expected, long actual, String strExpected, String strActual)(Code)(Java Doc)
protected void assertString(String message, String expected, String actual)(Code)(Java Doc)
protected void beforeDebuggeeStart(JDWPUnitDebuggeeWrapper debuggeeWrapper)(Code)(Java Doc)
protected long checkField(long refTypeID, String fieldName)(Code)(Java Doc)
protected long[] checkFields(long refTypeID, String checkedFieldNames)(Code)(Java Doc)
protected long[] checkFields(long refTypeID, String checkedFieldNames, String expectedSignatures, int expectedModifiers)(Code)(Java Doc)
protected void checkReplyPacket(ReplyPacket reply, String message, int errorCodeExpected)(Code)(Java Doc)
protected void checkReplyPacket(ReplyPacket reply, String message)(Code)(Java Doc)
protected void checkReplyPacket(ReplyPacket reply, String message, int[] expected)(Code)(Java Doc)
protected boolean checkReplyPacket(ReplyPacket reply, String message, int[] expected, boolean failSign)(Code)(Java Doc)
protected boolean checkReplyPacketWithoutFail(ReplyPacket reply, String message)(Code)(Java Doc)
protected void clearEvent(byte eventKind, int requestID, boolean verbose)(Code)(Java Doc)
public void closeConnection()(Code)(Java Doc)
protected JDWPUnitDebuggeeWrapper createDebuggeeWrapper()(Code)(Java Doc)
protected long createString(String value)(Code)(Java Doc)
protected long getClassIDBySignature(String signature)(Code)(Java Doc)
protected String getClassSignature(long classID)(Code)(Java Doc)
protected ReplyPacket getLineTable(long classID, long methodID)(Code)(Java Doc)
protected long getMethodID(long classID, String methodName)(Code)(Java Doc)
protected String getMethodName(long classID, long methodID)(Code)(Java Doc)
protected long getObjectReferenceType(long objectID)(Code)(Java Doc)
protected String getObjectSignature(long objectID)(Code)(Java Doc)
protected long getReferenceTypeID(String signature)(Code)(Java Doc)
protected String getStringValue(long stringID)(Code)(Java Doc)
protected void internalSetUp() throws Exception(Code)(Java Doc)
protected void internalTearDown()(Code)(Java Doc)
public void openConnection()(Code)(Java Doc)
protected void printErrorAndFail(String message)(Code)(Java Doc)
protected void receiveInitialEvent()(Code)(Java Doc)
protected void resumeDebuggee()(Code)(Java Doc)
protected boolean setStaticIntField(String classSignature, String fieldName, int newValue)(Code)(Java Doc)
protected void startDebuggeeWrapper()(Code)(Java Doc)

Fields inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPRawTestCase
protected JPDALogWriter logWriter(Code)(Java Doc)
protected JPDATestOptions settings(Code)(Java Doc)

Methods inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPRawTestCase
protected JPDATestOptions createTestOptions()(Code)(Java Doc)
abstract protected String getDebuggeeClassName()(Code)(Java Doc)
protected void internalSetUp() throws Exception(Code)(Java Doc)
protected void internalTearDown()(Code)(Java Doc)
protected void setUp() throws Exception(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)

w_w__w__._j__a__v__a___2_s___._com_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.