[all-commits] [llvm/llvm-project] 3cc376: [lldb] Use assertIn/NotIn over assertTrue/False (NFC)

Dave Lee via All-commits all-commits at lists.llvm.org
Sat Feb 6 11:52:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cc37622921f39e4bdad7a37b7199defa58a213a
      https://github.com/llvm/llvm-project/commit/3cc37622921f39e4bdad7a37b7199defa58a213a
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2021-02-06 (Sat, 06 Feb 2021)

  Changed paths:
    M lldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py
    M lldb/test/API/commands/frame/var/TestFrameVar.py
    M lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
    M lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py
    M lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
    M lldb/test/API/functionalities/history/TestHistoryRecall.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
    M lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
    M lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py
    M lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py
    M lldb/test/API/functionalities/source-map/TestTargetSourceMap.py
    M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
    M lldb/test/API/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py
    M lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
    M lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py
    M lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
    M lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
    M lldb/test/API/lang/c/vla/TestVLA.py
    M lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
    M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
    M lldb/test/API/lang/cpp/class_types/TestClassTypes.py
    M lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
    M lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py
    M lldb/test/API/lang/objc/objc-checker/TestObjCCheckers.py
    M lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py
    M lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py
    M lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
    M lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py
    M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
    M lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
    M lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
    M lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
    M lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
    M lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py

  Log Message:
  -----------
  [lldb] Use assertIn/NotIn over assertTrue/False (NFC)

For improved failure messages, use `assertIn` over `assertTrue`.

Differential Revision: https://reviews.llvm.org/D96095




More information about the All-commits mailing list