Change the rest of lldbutil.py's function names to all lower case formats to be consistent.

And modify the test cases accordingly.

llvm-svn: 130314
This commit is contained in:
Johnny Chen
2011-04-27 17:43:07 +00:00
parent 71d3b895ba
commit de90f1dd93
13 changed files with 32 additions and 32 deletions

View File

@@ -5,7 +5,7 @@ Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others.
import os, time
import unittest2
import lldb
from lldbutil import get_stopped_thread, StateTypeString
from lldbutil import get_stopped_thread, state_type_to_str
from lldbtest import *
class ProcessAPITestCase(TestBase):
@@ -258,7 +258,7 @@ class ProcessAPITestCase(TestBase):
process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
if self.TraceOn():
print "process state:", StateTypeString(process.GetState())
print "process state:", state_type_to_str(process.GetState())
self.assertTrue(process.GetState() != lldb.eStateConnected)
success = process.RemoteLaunch(None, None, None, None, None, None, 0, False, error)