push
circleci
103 of 143 new or added lines in 20 files covered. (72.03%)
3 existing lines in 2 files now uncovered.11554 of 14044 relevant lines covered (82.27%)
1176465.94 hits per line
| 1 |
#include <xlnt/packaging/uri.hpp> |
|
| 2 |
|
|
| 3 |
namespace xlnt {
|
|
| 4 |
|
|
| 5 |
uri::uri() |
7,208✔ |
| 6 |
{
|
|
| 7 |
} |
7,208✔ |
| 8 |
|
|
| 9 |
uri::uri(const std::string &uri_string) |
5,723✔ |
| 10 |
: path_(uri_string) |
5,723✔ |
| 11 |
{
|
|
| 12 |
} |
5,723✔ |
| 13 |
|
|
| 14 |
std::string uri::to_string() const |
173,098✔ |
| 15 |
{
|
|
| 16 |
return path_.string(); |
173,098✔ |
| 17 |
} |
|
| 18 |
|
|
| 19 |
const path &uri::path() const |
55,085✔ |
| 20 |
{
|
|
| 21 |
return path_;
|
55,085✔ |
| 22 |
} |
|
| 23 |
|
|
| 24 |
bool uri::operator==(const uri &other) const |
86,402✔ |
| 25 |
{
|
|
| 26 |
return to_string() == other.to_string();
|
86,402✔ |
| 27 |
} |
|
| 28 |
|
|
|
NEW
|
bool uri::operator!=(const uri &other) const |
× |
| 30 |
{
|
|
|
NEW
|
return !(*this == other); |
× |
| 32 |
} |
|
| 33 |
|
|
| 34 |
} // namespace xlnt
|