Johnny Chen
5a0bee7c5f
The extra burden for the Python API test case to assign its process object to self.process
...
in order to have its process cleaned up (terminated) upon tearDown is gone for good.
Let's simplify a bunch of Python API test cases.
llvm-svn: 133097
2011-06-15 22:14:12 +00:00
Johnny Chen
4ebd019b97
Now that we have added a post-processing step for adding truth value testing to
...
those lldb objects which implement the IsValid() method, let's change the rest of
the test suite to use the more compact truth value testing pattern (the Python way).
llvm-svn: 131970
2011-05-24 18:22:45 +00:00
Johnny Chen
9ae982053f
Convert the rest of the test suite to use the lldbutil.get_description() utility function.
...
llvm-svn: 130041
2011-04-23 00:34:56 +00:00
Johnny Chen
272ae4df7c
Converted to use SBProcess.LaunchSimple().
...
llvm-svn: 129789
2011-04-19 19:25:37 +00:00
Johnny Chen
d762ff1faa
Modify test scripts to accomodate SBTarget.Launch() API change.
...
llvm-svn: 124828
2011-02-03 23:15:53 +00:00
Greg Clayton
6f907e69e9
Deprecated old forms of SBTarget::Launch. There is not just one and no
...
SWIG renaming done to work around deprecated APIs.
llvm-svn: 124075
2011-01-23 17:46:22 +00:00
Johnny Chen
cdbe594841
No need to pass an empty string as an arg or as an env string to the SBTarget.LaunchProcess() API.
...
llvm-svn: 122450
2010-12-22 22:56:19 +00:00
Johnny Chen
77c4697735
Fix some typos in the docstrings and also update the test method names.
...
llvm-svn: 122382
2010-12-22 00:56:47 +00:00
Johnny Chen
f2df189b72
Add test cases for registering a listener object with the broadcaster of a process
...
and waiting for two expected state changed events to arrive: "running" followed by
"stopped".
llvm-svn: 122380
2010-12-22 00:32:54 +00:00
Johnny Chen
3635eae697
Rename the test methods to be more meaningful.
...
llvm-svn: 122352
2010-12-21 19:52:54 +00:00
Johnny Chen
4f8caab924
Set the debugger to asynchronous mode before using the Python API call to kill
...
the process. The custom thread started before this point is running in a loop
waiting for events to come.
llvm-svn: 122316
2010-12-21 05:43:37 +00:00
Johnny Chen
0b0c57806b
Fix typo.
...
llvm-svn: 122306
2010-12-21 02:10:18 +00:00
Johnny Chen
f667ab526b
Added python_api/event/TestEvents.py to get the listener object associated with the
...
debugger and to exercise some event APIs.
llvm-svn: 122304
2010-12-21 02:06:56 +00:00