One more encoding fix.

This commit is contained in:
Reijo Tomperi 2010-09-07 00:12:24 +03:00
parent fed198aafb
commit 2ab78d819e
1 changed files with 8 additions and 8 deletions

View File

@ -160,7 +160,7 @@ private:
void verboseshort() void verboseshort()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "-v", "fíle.cpp"}; const char *argv[] = {"cppcheck", "-v", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -170,7 +170,7 @@ private:
void verboselong() void verboselong()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--verbose", "fíle.cpp"}; const char *argv[] = {"cppcheck", "--verbose", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -180,7 +180,7 @@ private:
void debug() void debug()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--debug", "fíle.cpp"}; const char *argv[] = {"cppcheck", "--debug", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -190,7 +190,7 @@ private:
void debugwarnings() void debugwarnings()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--debug-warnings", "fíle.cpp"}; const char *argv[] = {"cppcheck", "--debug-warnings", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -200,7 +200,7 @@ private:
void forceshort() void forceshort()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "-f", "fíle.cpp"}; const char *argv[] = {"cppcheck", "-f", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -210,7 +210,7 @@ private:
void forcelong() void forcelong()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--force", "fíle.cpp"}; const char *argv[] = {"cppcheck", "--force", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -220,7 +220,7 @@ private:
void quietshort() void quietshort()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "-q", "fíle.cpp"}; const char *argv[] = {"cppcheck", "-q", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));
@ -230,7 +230,7 @@ private:
void quietlong() void quietlong()
{ {
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--quiet", "fíle.cpp"}; const char *argv[] = {"cppcheck", "--quiet", "file.cpp"};
Settings settings; Settings settings;
CmdLineParser parser(&settings); CmdLineParser parser(&settings);
ASSERT(parser.ParseFromArgs(3, argv)); ASSERT(parser.ParseFromArgs(3, argv));