Add checks to the modules test case to ensure

that module types and runtime types play well
together.

llvm-svn: 233976
This commit is contained in:
Sean Callanan 2015-04-02 21:35:04 +00:00
parent 99a6bed965
commit 4e2de36443
1 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,12 @@ class ObjCModulesTestCase(TestBase):
self.expect("expr array.count", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["NSUInteger", "3"])
self.expect("p *[NSURL URLWithString:@\"http://lldb.llvm.org\"]", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["NSURL", "isa", "_urlString"])
self.expect("p [NSURL URLWithString:@\"http://lldb.llvm.org\"].scheme", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["http"])
if __name__ == '__main__':
import atexit