diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-27 17:43:07 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-27 17:43:07 +0000 |
commit | de90f1dd93f2f857629e684e51957fc949599bae (patch) | |
tree | 8b992599a7c0b345b0d1dfcb620616d4ebdcf3c5 /lldb/test/python_api/process/TestProcessAPI.py | |
parent | 71d3b895ba9f5cd970a1b7bd685c4482c03995f0 (diff) | |
download | bcm5719-llvm-de90f1dd93f2f857629e684e51957fc949599bae.tar.gz bcm5719-llvm-de90f1dd93f2f857629e684e51957fc949599bae.zip |
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
Diffstat (limited to 'lldb/test/python_api/process/TestProcessAPI.py')
-rw-r--r-- | lldb/test/python_api/process/TestProcessAPI.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/test/python_api/process/TestProcessAPI.py index 6b227b1ae47..a2f432afe84 100644 --- a/lldb/test/python_api/process/TestProcessAPI.py +++ b/lldb/test/python_api/process/TestProcessAPI.py @@ -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) |