Author: spyffe
Date: Thu Apr 2 16:35:04 2015
New Revision: 233976
URL: http://llvm.org/viewvc/llvm-project?rev=233976&view=rev
Log:
Add checks to the modules test case to ensure
that module types and runtime types play well
together.
Modified:
lldb/trunk/test/lang/objc/modules/TestObjCModules.py
Modified: lldb/trunk/test/lang/objc/modules/TestObjCModules.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/modules/TestObjCModules.py?rev=233976&r1=233975&r2=233976&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/modules/TestObjCModules.py (original)
+++ lldb/trunk/test/lang/objc/modules/TestObjCModules.py Thu Apr 2 16:35:04
2015
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits