Ran
|
Jobs
6
|
Files
114
|
Run time
4min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/gccxml/pygccxml/commit/a5602a222">Fix patching of enums in default arguments for C++03 Given the following code namespace ns { enum color {red, green, blue}; void test( color arg=blue ); } CastXML produces a fully qualified name for the default argument - `::ns::color::blue`. While this default argument string is valid for C++11 and later, and indeed required if `color` were a scoped enumeration, the default argument is invalid for C++03 code. Prior to C++11, enumerator names were added to the enclosing scope, so they could not be qualified using the enum-name. Hence, for C++03, the default argument needs to be patched to say `::ns::blue`. Change-Id: I</a><a class="double-link" href="https://github.com/gccxml/pygccxml/commit/72c5d4fc5">72c5d4fc5</a>
76 of 76 new or added lines in 5 files covered. (100.0%)
8176 of 10191 relevant lines covered (80.23%)
4.81 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
93.59 |
-1.0% | pygccxml/parser/patcher.py |
4 |
77.54 |
-12.04% | pygccxml/parser/source_reader.py |
9 |
75.47 |
-15.62% | unittests/patcher_tester.py |
10 |
62.28 |
0.79% | pygccxml/utils/utils.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 453.1 (XML_GENERATOR="gccxml") | 114 |
80.15 |
Travis Job 453.1 | |
2 | 453.2 (XML_GENERATOR="gccxml") | 114 |
80.11 |
Travis Job 453.2 | |
3 | 453.3 (XML_GENERATOR="gccxml") | 113 |
80.29 |
Travis Job 453.3 | |
4 | 453.4 (XML_GENERATOR="gccxml") | 113 |
80.29 |
Travis Job 453.4 | |
5 | 453.5 (XML_GENERATOR="gccxml") | 113 |
80.29 |
Travis Job 453.5 | |
6 | 453.6 (XML_GENERATOR="gccxml") | 113 |
80.28 |
Travis Job 453.6 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|