[Dictionary] Rewrite the test added in r327587 as an inline test.
authorDavide Italiano <davide@freebsd.org>
Thu, 15 Mar 2018 00:07:05 +0000 (00:07 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 15 Mar 2018 00:07:05 +0000 (00:07 +0000)
commitb84d653e9b49e33f3b109d082cfa527b45c22674
tree919a525180794cf0b5aa97db2dc87891a9ec14f1
parent41f33e2b181cb039df8739f602ce18e884bb7956
[Dictionary] Rewrite the test added in r327587 as an inline test.

Until we have a better story for putting commands and check lines
in the same file (they're currently ignored), it seems that inline
tests are actually more concise and easier to understand.
Too bad we have still some python boilerplate, but that's not
really substantial so we can live with it.

Thanks to Fred for pointing out and Jim for explaining me how
to use the inline test format.

<rdar://problem/34806516>

llvm-svn: 327592
lldb/lit/DataFormatters/Inputs/NSDict.commands [deleted file]
lldb/lit/DataFormatters/Inputs/NSDict.m [deleted file]
lldb/lit/DataFormatters/TestEmptyDictionary.test [deleted file]
lldb/lit/DataFormatters/lit.local.cfg [deleted file]
lldb/packages/Python/lldbsuite/test/lang/objc/objc-foundation-dictionary-empty/TestNSDictionary0.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/objc/objc-foundation-dictionary-empty/main.m [new file with mode: 0644]