1 """Test the SBError APIs."""
3 from lldbsuite
.test
.lldbtest
import *
6 class TestSBError(TestBase
):
7 NO_DEBUG_INFO_TESTCASE
= True
9 def test_generic_error(self
):
10 error
= lldb
.SBError()
11 error
.SetErrorToGenericError()
12 self
.assertEqual(error
.GetType(), lldb
.eErrorTypeGeneric
)