Skip to content

Commit

Permalink
Changes to support CXXTEST_STD
Browse files Browse the repository at this point in the history
  • Loading branch information
whart222 committed May 5, 2013
1 parent 4b8f943 commit fde737b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cxxtest/TestSuite.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <cxxtest/TestTracker.h>
#include <cxxtest/Descriptions.h>
#include <cxxtest/ValueTraits.h>
#include <cxxtest/StdValueTraits.h>
#include <sstream>
#include <cstring>

Expand Down Expand Up @@ -70,7 +71,7 @@ struct equals<const char*, const char*>
{
static bool test(const char *x, const char *y)
{
return (std::strcmp(x,y) == 0);
return (CXXTEST_STD(strcmp(x,y)) == 0);
}
};

Expand All @@ -79,7 +80,7 @@ struct equals<char*, char*>
{
static bool test(char *x, char *y)
{
return (std::strcmp(x,y) == 0);
return (CXXTEST_STD(strcmp(x,y)) == 0);
}
};

Expand All @@ -88,7 +89,7 @@ struct equals<const char*, char*>
{
static bool test(const char *x, char *y)
{
return (std::strcmp(x,y) == 0);
return (CXXTEST_STD(strcmp(x,y)) == 0);
}
};

Expand All @@ -97,7 +98,7 @@ struct equals<char*, const char*>
{
static bool test(char *x, const char *y)
{
return (std::strcmp(x,y) == 0);
return (CXXTEST_STD(strcmp(x,y)) == 0);
}
};

Expand Down

0 comments on commit fde737b

Please sign in to comment.