Ran
|
Jobs
13
|
Files
114
|
Run time
20min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/gccxml/pygccxml/commit/cb4b31464">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>
74 of 74 new or added lines in 5 files covered. (100.0%)
8393 of 10196 relevant lines covered (82.32%)
10.45 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
94.23 |
-0.36% | pygccxml/parser/patcher.py |
5 |
65.85 |
4.49% | pygccxml/utils/utils.py |
8 |
86.42 |
-4.68% | unittests/patcher_tester.py |
Lines | Coverage | ∆ | File |
---|---|---|---|
5 |
86.42 |
-4.68% | unittests/patcher_tester.py |
19 |
89.4 |
-0.18% | pygccxml/parser/source_reader.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 434.1 (XML_GENERATOR="gccxml") | 114 |
80.18 |
Travis Job 434.1 | |
2 | 434.2 (XML_GENERATOR="gccxml") | 114 |
80.14 |
Travis Job 434.2 | |
3 | 434.3 (XML_GENERATOR="gccxml") | 113 |
80.32 |
Travis Job 434.3 | |
4 | 434.4 (XML_GENERATOR="gccxml") | 113 |
80.32 |
Travis Job 434.4 | |
5 | 434.5 (XML_GENERATOR="gccxml") | 113 |
80.32 |
Travis Job 434.5 | |
6 | 434.6 (XML_GENERATOR="gccxml") | 113 |
80.31 |
Travis Job 434.6 | |
7 | 434.7 (XML_GENERATOR="castxml") | 114 |
80.61 |
Travis Job 434.7 | |
8 | 434.8 (XML_GENERATOR="castxml") | 113 |
80.78 |
Travis Job 434.8 | |
9 | 434.9 (XML_GENERATOR="castxml" COMPILER=g++-5) | 113 |
80.81 |
Travis Job 434.9 | |
10 | 434.10 (XML_GENERATOR="castxml") | 113 |
80.78 |
Travis Job 434.10 | |
11 | 434.11 (XML_GENERATOR="castxml" COMPILER=g++-5) | 113 |
80.81 |
Travis Job 434.11 | |
12 | 434.12 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2") | 114 |
80.61 |
Travis Job 434.12 | |
13 | 434.13 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3") | 113 |
80.78 |
Travis Job 434.13 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|