Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed some problems, when compiling with very strict compile options #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/tap.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,24 @@ class TestResult {
return skip;
}

void setComment(const std::string& comment) {
this->comment = comment;
void setComment(const std::string& _comment) {
this->comment = _comment;
}

void setName(const std::string& name) {
this->name = name;
void setName(const std::string& _name) {
this->name = _name;
}

void setNumber(int number) {
this->number = number;
void setNumber(int _number) {
this->number = _number;
}

void setStatus(const std::string& status) {
this->status = status;
void setStatus(const std::string& _status) {
this->status = _status;
}

void setSkip(bool skip) {
this->skip = skip;
void setSkip(bool _skip) {
this->skip = _skip;
}

std::string toString() const {
Expand Down Expand Up @@ -224,7 +224,7 @@ class TapListener: public ::testing::EmptyTestEventListener {
this->addTapTestResult(testInfo);
}

virtual void OnTestProgramEnd(const testing::UnitTest& unit_test) {
virtual void OnTestProgramEnd(const testing::UnitTest& /* unit_test */) {
//--- Write the count and the word.
std::map<std::string, tap::TestSet>::const_iterator ci;
for (ci = this->testCaseTestResultMap.begin();
Expand Down