[PATCH] D25470: [libclang] Fix a failure in a test for python bindings on CursorKind.OVERLOAD_CANDIDATE.
This revision was automatically updated to reflect the committed changes. Closed by commit rL284463: [libclang] Fix a failure in a test for python bindings on CursorKind. (authored by ikudrin). Changed prior to commit: https://reviews.llvm.org/D25470?vs=74237=74959#toc Repository: rL LLVM https://reviews.llvm.org/D25470 Files: cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py Index: cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py === --- cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py +++ cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py @@ -42,7 +42,8 @@ CursorKind.MACRO_DEFINITION, CursorKind.MACRO_INSTANTIATION, CursorKind.INCLUSION_DIRECTIVE, -CursorKind.PREPROCESSING_DIRECTIVE): +CursorKind.PREPROCESSING_DIRECTIVE, +CursorKind.OVERLOAD_CANDIDATE): assert len(group) == 0 else: assert len(group) == 1 Index: cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py === --- cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py +++ cfe/trunk/bindings/python/tests/cindex/test_cursor_kind.py @@ -42,7 +42,8 @@ CursorKind.MACRO_DEFINITION, CursorKind.MACRO_INSTANTIATION, CursorKind.INCLUSION_DIRECTIVE, -CursorKind.PREPROCESSING_DIRECTIVE): +CursorKind.PREPROCESSING_DIRECTIVE, +CursorKind.OVERLOAD_CANDIDATE): assert len(group) == 0 else: assert len(group) == 1 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D25470: [libclang] Fix a failure in a test for python bindings on CursorKind.OVERLOAD_CANDIDATE.
ikudrin created this revision. ikudrin added reviewers: hansonw, compnerd. ikudrin added a subscriber: cfe-commits. The test fails because the value does not lay in any existing group. The value was added in r268167. https://reviews.llvm.org/D25470 Files: bindings/python/tests/cindex/test_cursor_kind.py Index: bindings/python/tests/cindex/test_cursor_kind.py === --- bindings/python/tests/cindex/test_cursor_kind.py +++ bindings/python/tests/cindex/test_cursor_kind.py @@ -42,7 +42,8 @@ CursorKind.MACRO_DEFINITION, CursorKind.MACRO_INSTANTIATION, CursorKind.INCLUSION_DIRECTIVE, -CursorKind.PREPROCESSING_DIRECTIVE): +CursorKind.PREPROCESSING_DIRECTIVE, +CursorKind.OVERLOAD_CANDIDATE): assert len(group) == 0 else: assert len(group) == 1 Index: bindings/python/tests/cindex/test_cursor_kind.py === --- bindings/python/tests/cindex/test_cursor_kind.py +++ bindings/python/tests/cindex/test_cursor_kind.py @@ -42,7 +42,8 @@ CursorKind.MACRO_DEFINITION, CursorKind.MACRO_INSTANTIATION, CursorKind.INCLUSION_DIRECTIVE, -CursorKind.PREPROCESSING_DIRECTIVE): +CursorKind.PREPROCESSING_DIRECTIVE, +CursorKind.OVERLOAD_CANDIDATE): assert len(group) == 0 else: assert len(group) == 1 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits