diff options
author | Enrico Granata <egranata@apple.com> | 2013-02-27 02:37:12 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-02-27 02:37:12 +0000 |
commit | d7ac9816ebab283b147b5420aefa46462beec4dd (patch) | |
tree | c6c65a289061d0198c4ff7f890d4ae16fca7fe53 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6fbfafeddcf7ef6cd73abc0da210dad838d1cffb (diff) | |
download | bcm5719-llvm-d7ac9816ebab283b147b5420aefa46462beec4dd.tar.gz bcm5719-llvm-d7ac9816ebab283b147b5420aefa46462beec4dd.zip |
<rdar://problem/13289828>
Categories were conceptually meant to be placeable on test methods as well as test classes and test directories
However, that was broken. This checkin fixes that.
The incantation required to put categories on individual test case methods is not exactly elegant, unfortunately:
def test_case(self):
"""Test me."""
self.do_it()
def _test_case_get_categories(self):
return ["demo"]
test_case.getCategories = _test_case_get_categories
del _test_case_get_categories
llvm-svn: 176158
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions