llvm-project/lldb/test/python_api/default-constructor
Johnny Chen b90827e66c rdar://problem/11584012
Refactorings of watchpoint creation APIs so that SBTarget::WatchAddress(), SBValue::Watch(), and SBValue::WatchPointee()
now take an additional 'SBError &error' parameter (at the end) to contain the reason if there is some failure in the
operation.  Update 'watchpoint set variable/expression' commands to take advantage of that.

Update existing test cases to reflect the API change and add test cases to verify that the SBError mechanism works for
SBTarget::WatchAddress() by passing an invalid watch_size.

llvm-svn: 157964
2012-06-04 23:19:54 +00:00
..
TestDefaultConstructorForAPIObjects.py Add a test sequence which passes None to lldb.SBFileSpec(). LLDB should not crash. 2011-12-19 23:09:54 +00:00
sb_address.py Added to the public API to allow symbolication: 2011-09-24 00:52:29 +00:00
sb_block.py Add fuzz calls for SBBlock. 2011-06-24 00:21:36 +00:00
sb_breakpoint.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_breakpointlocation.py Add fuzz call for SBBreakpointLocation.GetAddress(). 2011-10-07 23:54:04 +00:00
sb_broadcaster.py Add fuzz calls for SBStringList and add obj.Clear() calls for some files. 2011-06-28 23:29:14 +00:00
sb_communication.py Add a fuzz call for SBCommunication: obj.connect(None). 2011-12-19 21:47:43 +00:00
sb_compileunit.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_debugger.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_error.py Tes passing None to SetErrorString() and SetErrorStringWithFormat(). 2011-12-19 22:56:47 +00:00
sb_event.py The Python API does not need SBEvent::BroadcasterMatchesPtr() when SBEvent::BroadcasterMatchesRef() suffices. 2011-07-07 23:45:49 +00:00
sb_filespec.py Add fuzz calls for SBFileSpec. 2011-06-27 22:55:51 +00:00
sb_frame.py SBValue::Watch() and SBValue::WatchPointee() are now the official API for creating 2011-10-14 00:42:25 +00:00
sb_function.py Add fuzz calls for SBFrame and SBFunction. 2011-06-27 23:53:55 +00:00
sb_inputreader.py Add fuzz calls for SBInputReader. 2011-06-28 00:12:06 +00:00
sb_instruction.py Add fuzz calls for SBLineEntry. 2011-06-28 20:46:03 +00:00
sb_instructionlist.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_lineentry.py Add fuzz calls for SBLineEntry. 2011-06-28 20:46:03 +00:00
sb_listener.py Add fuzz calls for SBListener. 2011-06-28 20:57:22 +00:00
sb_module.py Removed all of the "#ifndef SWIG" from the SB header files since we are using 2012-02-06 01:44:54 +00:00
sb_process.py Add SBProcess::GetNumSupportedHardwareWatchpoints() API and export it through the Python scripting bridge. 2012-05-23 22:34:34 +00:00
sb_section.py Add fuzz call for sub-section iteration for SBSection. 2011-10-03 22:43:06 +00:00
sb_stringlist.py Add fuzz call to SBStringList.AppendString(None). LLDB should not crash. 2011-12-20 00:49:06 +00:00
sb_symbol.py Add fuzz calls for SBSymbol and SBSymbolContext. 2011-06-28 23:38:38 +00:00
sb_symbolcontext.py Add fuzz calls for SBSymbol and SBSymbolContext. 2011-06-28 23:38:38 +00:00
sb_target.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00
sb_thread.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_type.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_value.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00
sb_valuelist.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_watchpoint.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00