Java Doc for VirtualMachineTest.java in  » IDE-Eclipse » jdt » org » eclipse » debug » jdi » tests » 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 » IDE Eclipse » jdt » org.eclipse.debug.jdi.tests 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.debug.jdi.tests.AbstractJDITest
   org.eclipse.debug.jdi.tests.VirtualMachineTest

VirtualMachineTest
public class VirtualMachineTest extends AbstractJDITest (Code)
Tests for JDI com.sun.jdi.VirtualMachine and JDWP VM command set. Example of arguments: -launcher SunVMLauncher -address c:\jdk1.2.2\ -classpath d:\target



Constructor Summary
public  VirtualMachineTest()
     Creates a new test .

Method Summary
public  StringgetName()
     Gets the name of the test case.
public  voidlocalSetUp()
     Init the fields that are used by this test only.
public static  voidmain(java.lang.String[] args)
     Run all tests and output to standard output.
protected  voidsetUp()
     Don't start the program yet, so that the testNotStarted* tests can run before.
public  voidstartProgram()
     Starts the target program.
protected  Testsuite()
    
public  voidtestJDICanGetBytecodes()
     Test JDI canGetBytecodes().
public  voidtestJDICanGetCurrentContendedMonitor()
     Test JDI canGetCurrentContendedMonitor().
public  voidtestJDICanGetMonitorInfo()
     Test JDI canGetMonitorInfo().
public  voidtestJDICanGetOwnedMonitorInfo()
     Test JDI canGetOwnedMonitorInfo().
public  voidtestJDICanGetSyntheticAttribute()
     Test JDI canGetSyntheticAttribute().
public  voidtestJDICanWatchFieldAccess()
     Test JDI canWatchFieldAccess().
public  voidtestJDICanWatchFieldModification()
     Test JDI canWatchFieldModification().
public  voidtestJDIEventQueue()
     Test JDI eventQueue().
public  voidtestJDIEventRequestManager()
     Test JDI eventRequestManager().
public  voidtestJDIMirrorOfBoolean()
     Test JDI mirrorOf(boolean).
public  voidtestJDIMirrorOfByte()
     Test JDI mirrorOf(byte).
public  voidtestJDIMirrorOfChar()
     Test JDI mirrorOf(char).
public  voidtestJDIMirrorOfDouble()
     Test JDI mirrorOf(double).
public  voidtestJDIMirrorOfFloat()
     Test JDI mirrorOf(float).
public  voidtestJDIMirrorOfInt()
     Test JDI mirrorOf(int).
public  voidtestJDIMirrorOfLong()
     Test JDI mirrorOf(long).
public  voidtestJDIMirrorOfShort()
     Test JDI mirrorOf(short).
public  voidtestJDIMirrorOfString()
     Test JDI mirrorOf(String) and JDWP 'VM - Create String'.
public  voidtestJDISetDebugTraceMode()
     Test JDI setDebugTraceMode(int).
public  voidtestJDIVersion()
     Test JDI getVersion().
public  voidtestNotStartedAllClasses()
     Test JDI allClasses() and JDWP 'VM - Get all classes' while the test program has not been started.
public  voidtestNotStartedAllThreads()
     Test JDI allThreads() and JDWP 'VM - Get all threads' while the test program has not been started.
public  voidtestNotStartedClassesByName()
     Test JDI classesByName() while the test program has not been started.
public  voidtestStartedAllClasses()
     Test JDI allClasses() and JDWP 'VM- Get all classes' once the test program has been started.
public  voidtestStartedAllThreads()
     Test JDI allThreads() and JDWP 'VM - Get all threads' once the test program has been started.
public  voidtestStartedClassesByName()
     Test JDI classesByName() once the test program has been started.
public  voidtestStartedSuspendResume()
     Test JDI suspend() and resume() once the test program has been started.
public  voidtestStartedTopLevelThreadGroups()
     Test JDI topLevelThreadGroups().


Constructor Detail
VirtualMachineTest
public VirtualMachineTest()(Code)
Creates a new test .




Method Detail
getName
public String getName()(Code)
Gets the name of the test case.
See Also:   junit.framework.TestCase.getName



localSetUp
public void localSetUp()(Code)
Init the fields that are used by this test only.



main
public static void main(java.lang.String[] args)(Code)
Run all tests and output to standard output.
Parameters:
  args -



setUp
protected void setUp()(Code)
Don't start the program yet, so that the testNotStarted* tests can run before.



startProgram
public void startProgram()(Code)
Starts the target program. NB: This method is copied in this class only so that it can be invoked dynamically.



suite
protected Test suite()(Code)
Returns all tests



testJDICanGetBytecodes
public void testJDICanGetBytecodes()(Code)
Test JDI canGetBytecodes().



testJDICanGetCurrentContendedMonitor
public void testJDICanGetCurrentContendedMonitor()(Code)
Test JDI canGetCurrentContendedMonitor().



testJDICanGetMonitorInfo
public void testJDICanGetMonitorInfo()(Code)
Test JDI canGetMonitorInfo().



testJDICanGetOwnedMonitorInfo
public void testJDICanGetOwnedMonitorInfo()(Code)
Test JDI canGetOwnedMonitorInfo().



testJDICanGetSyntheticAttribute
public void testJDICanGetSyntheticAttribute()(Code)
Test JDI canGetSyntheticAttribute().



testJDICanWatchFieldAccess
public void testJDICanWatchFieldAccess()(Code)
Test JDI canWatchFieldAccess().



testJDICanWatchFieldModification
public void testJDICanWatchFieldModification()(Code)
Test JDI canWatchFieldModification().



testJDIEventQueue
public void testJDIEventQueue()(Code)
Test JDI eventQueue().



testJDIEventRequestManager
public void testJDIEventRequestManager()(Code)
Test JDI eventRequestManager().



testJDIMirrorOfBoolean
public void testJDIMirrorOfBoolean()(Code)
Test JDI mirrorOf(boolean).



testJDIMirrorOfByte
public void testJDIMirrorOfByte()(Code)
Test JDI mirrorOf(byte).



testJDIMirrorOfChar
public void testJDIMirrorOfChar()(Code)
Test JDI mirrorOf(char).



testJDIMirrorOfDouble
public void testJDIMirrorOfDouble()(Code)
Test JDI mirrorOf(double).



testJDIMirrorOfFloat
public void testJDIMirrorOfFloat()(Code)
Test JDI mirrorOf(float).



testJDIMirrorOfInt
public void testJDIMirrorOfInt()(Code)
Test JDI mirrorOf(int).



testJDIMirrorOfLong
public void testJDIMirrorOfLong()(Code)
Test JDI mirrorOf(long).



testJDIMirrorOfShort
public void testJDIMirrorOfShort()(Code)
Test JDI mirrorOf(short).



testJDIMirrorOfString
public void testJDIMirrorOfString()(Code)
Test JDI mirrorOf(String) and JDWP 'VM - Create String'.



testJDISetDebugTraceMode
public void testJDISetDebugTraceMode()(Code)
Test JDI setDebugTraceMode(int).



testJDIVersion
public void testJDIVersion()(Code)
Test JDI getVersion().



testNotStartedAllClasses
public void testNotStartedAllClasses()(Code)
Test JDI allClasses() and JDWP 'VM - Get all classes' while the test program has not been started.



testNotStartedAllThreads
public void testNotStartedAllThreads()(Code)
Test JDI allThreads() and JDWP 'VM - Get all threads' while the test program has not been started.



testNotStartedClassesByName
public void testNotStartedClassesByName()(Code)
Test JDI classesByName() while the test program has not been started.



testStartedAllClasses
public void testStartedAllClasses()(Code)
Test JDI allClasses() and JDWP 'VM- Get all classes' once the test program has been started.



testStartedAllThreads
public void testStartedAllThreads()(Code)
Test JDI allThreads() and JDWP 'VM - Get all threads' once the test program has been started.



testStartedClassesByName
public void testStartedClassesByName()(Code)
Test JDI classesByName() once the test program has been started.



testStartedSuspendResume
public void testStartedSuspendResume()(Code)
Test JDI suspend() and resume() once the test program has been started.



testStartedTopLevelThreadGroups
public void testStartedTopLevelThreadGroups()(Code)
Test JDI topLevelThreadGroups().



Fields inherited from org.eclipse.debug.jdi.tests.AbstractJDITest
final protected static int RUN_FRAME_OFFSET(Code)(Java Doc)
static int TIMEOUT(Code)(Java Doc)
protected static int fBackEndPort(Code)(Java Doc)
protected static String fBootPath(Code)(Java Doc)
protected static String fClassPath(Code)(Java Doc)
protected AbstractReader fConsoleErrorReader(Code)(Java Doc)
protected AbstractReader fConsoleReader(Code)(Java Doc)
protected EventReader fEventReader(Code)(Java Doc)
protected boolean fInControl(Code)(Java Doc)
protected Process fLaunchedProxy(Code)(Java Doc)
protected Process fLaunchedVM(Code)(Java Doc)
protected static String fProxyCmd(Code)(Java Doc)
protected AbstractReader fProxyErrorReader(Code)(Java Doc)
protected AbstractReader fProxyReader(Code)(Java Doc)
protected static String fProxyerrFile(Code)(Java Doc)
protected static String fProxyoutFile(Code)(Java Doc)
protected static String fStderrFile(Code)(Java Doc)
protected static String fStdoutFile(Code)(Java Doc)
protected static String fTargetAddress(Code)(Java Doc)
protected com.sun.jdi.VirtualMachine fVM(Code)(Java Doc)
protected static String fVMLauncherName(Code)(Java Doc)
protected static int fVMTraceFlags(Code)(Java Doc)
protected static String fVMType(Code)(Java Doc)
protected static boolean fVerbose(Code)(Java Doc)
protected static String fVmCmd(Code)(Java Doc)

Methods inherited from org.eclipse.debug.jdi.tests.AbstractJDITest
protected void connectToVM()(Code)(Java Doc)
protected String[] excludedTests()(Code)(Java Doc)
protected AccessWatchpointRequest getAccessWatchpointRequest()(Code)(Java Doc)
protected Vector getAllMatchingTests(String match)(Code)(Java Doc)
protected ArrayType getArrayType()(Code)(Java Doc)
protected ArrayReference getBooleanArrayReference()(Code)(Java Doc)
protected ArrayType getBooleanArrayType()(Code)(Java Doc)
protected ArrayReference getBooleanDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getBooleanDoubleArrayType()(Code)(Java Doc)
protected BreakpointRequest getBreakpointRequest()(Code)(Java Doc)
protected BreakpointRequest getBreakpointRequest(Location loc)(Code)(Java Doc)
protected ArrayReference getByteArrayReference()(Code)(Java Doc)
protected ArrayType getByteArrayType()(Code)(Java Doc)
protected ArrayReference getByteDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getByteDoubleArrayType()(Code)(Java Doc)
protected ArrayReference getCharArrayReference()(Code)(Java Doc)
protected ArrayType getCharArrayType()(Code)(Java Doc)
protected ArrayReference getCharDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getCharDoubleArrayType()(Code)(Java Doc)
protected ClassType getClass(String name)(Code)(Java Doc)
protected ClassLoaderReference getClassLoaderReference()(Code)(Java Doc)
protected ArrayReference getDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getDoubleArrayType()(Code)(Java Doc)
protected ArrayReference getDoubleDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getDoubleDoubleArrayType()(Code)(Java Doc)
protected ExceptionRequest getExceptionRequest()(Code)(Java Doc)
protected Field getField()(Code)(Java Doc)
protected Field getField(String fieldName)(Code)(Java Doc)
protected ArrayReference getFloatArrayReference()(Code)(Java Doc)
protected ArrayType getFloatArrayType()(Code)(Java Doc)
protected ArrayReference getFloatDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getFloatDoubleArrayType()(Code)(Java Doc)
protected StackFrame getFrame(int n)(Code)(Java Doc)
protected ArrayReference getIntArrayReference()(Code)(Java Doc)
protected ArrayType getIntArrayType()(Code)(Java Doc)
protected ArrayReference getIntDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getIntDoubleArrayType()(Code)(Java Doc)
protected InterfaceType getInterfaceType()(Code)(Java Doc)
protected LocalVariable getLocalVariable()(Code)(Java Doc)
protected Location getLocation()(Code)(Java Doc)
protected ArrayReference getLongArrayReference()(Code)(Java Doc)
protected ArrayType getLongArrayType()(Code)(Java Doc)
protected ArrayReference getLongDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getLongDoubleArrayType()(Code)(Java Doc)
protected ClassType getMainClass()(Code)(Java Doc)
protected ThreadReference getMainThread()(Code)(Java Doc)
protected Method getMethod()(Code)(Java Doc)
protected Method getMethod(String name, String signature)(Code)(Java Doc)
protected Method getMethod(String className, String name, String signature)(Code)(Java Doc)
protected ModificationWatchpointRequest getModificationWatchpointRequest()(Code)(Java Doc)
protected ArrayReference getNonEmptyDoubleArrayReference()(Code)(Java Doc)
protected ArrayReference getObjectArrayReference()(Code)(Java Doc)
protected ObjectReference getObjectReference()(Code)(Java Doc)
protected ArrayReference getShortArrayReference()(Code)(Java Doc)
protected ArrayType getShortArrayType()(Code)(Java Doc)
protected ArrayReference getShortDoubleArrayReference()(Code)(Java Doc)
protected ArrayType getShortDoubleArrayType()(Code)(Java Doc)
protected AccessWatchpointRequest getStaticAccessWatchpointRequest()(Code)(Java Doc)
protected ModificationWatchpointRequest getStaticModificationWatchpointRequest()(Code)(Java Doc)
protected StringReference getStringReference()(Code)(Java Doc)
protected ClassType getSystemType()(Code)(Java Doc)
protected ThreadReference getThread()(Code)(Java Doc)
VMInformation getVMInfo()(Code)(Java Doc)
protected void killVM()(Code)(Java Doc)
protected void launchTarget()(Code)(Java Doc)
protected void launchTargetAndConnectToVM()(Code)(Java Doc)
protected void launchTargetAndStartProgram()(Code)(Java Doc)
abstract public void localSetUp()(Code)(Java Doc)
public void localTearDown()(Code)(Java Doc)
protected static boolean parseArgs(String[] args)(Code)(Java Doc)
protected static void printUsage()(Code)(Java Doc)
protected void resetField()(Code)(Java Doc)
protected void resetStaticField()(Code)(Java Doc)
protected void runSuite(String[] args)(Code)(Java Doc)
void setInControl(boolean inControl)(Code)(Java Doc)
protected void setUp()(Code)(Java Doc)
void setVMInfo(VMInformation info)(Code)(Java Doc)
protected void shutDownTarget()(Code)(Java Doc)
protected void startProgram()(Code)(Java Doc)
protected void stopReaders()(Code)(Java Doc)
protected Test suite()(Code)(Java Doc)
protected void tearDown()(Code)(Java Doc)
protected Event triggerAndWait(EventRequest request, String eventType, boolean shouldGo)(Code)(Java Doc)
protected Event triggerAndWait(EventRequest request, String eventType, boolean shouldGo, long time)(Code)(Java Doc)
protected void triggerEvent(String eventType)(Code)(Java Doc)
protected StepEvent triggerStepAndWait()(Code)(Java Doc)
protected StepEvent triggerStepAndWait(ThreadReference thread, int gran, int depth)(Code)(Java Doc)
protected StepEvent triggerStepAndWait(ThreadReference thread, EventRequest eventRequest, int timeout)(Code)(Java Doc)
protected void verbose(String verboseString)(Code)(Java Doc)
protected boolean vmIsRunning()(Code)(Java Doc)
protected Event waitForEvent(EventWaiter waiter, long time)(Code)(Java Doc)
protected void waitUntilReady()(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.