\r
TEST(CommandLineTest, Desc)\r
{\r
+ String progpath = paths::ConcatPath(env::GetProgPath(), _T("WinMergeU.exe"));\r
String projectRoot = getProjectRoot();\r
- MergeCmdLineInfo cmdInfo((String(GetCommandLineW()) + L" /dl TestL /dr TestR " + \r
+ MergeCmdLineInfo cmdInfo((progpath + L" /dl TestL /dr TestR " + \r
paths::ConcatPath(projectRoot, L"Testing/Data/Unicode/UCS-2BE/DiffItem.h") + L" " + \r
paths::ConcatPath(projectRoot, L"Testing/Data/Unicode/UCS-2LE/DiffItem.h")).c_str()\r
);\r
\r
TEST(CommandLineTest, Desc2)\r
{\r
+ String progpath = paths::ConcatPath(env::GetProgPath(), _T("WinMergeU.exe"));\r
String projectRoot = getProjectRoot();\r
- MergeCmdLineInfo cmdInfo((String(GetCommandLineW()) + L" /dl TestL /dr TestR " + \r
+ MergeCmdLineInfo cmdInfo((progpath + L" /dl TestL /dr TestR " + \r
paths::ConcatPath(projectRoot, L"Testing/Data/big_file.conflict")).c_str()\r
);\r
theApp.ParseArgsAndDoOpen(cmdInfo, GetMainFrame());\r
\r
TEST(CommandLineTest, Desc3)\r
{\r
+ String progpath = paths::ConcatPath(env::GetProgPath(), _T("WinMergeU.exe"));\r
String projectRoot = getProjectRoot();\r
- MergeCmdLineInfo cmdInfo((String(GetCommandLineW()) + L" /dr TestR " + \r
+ MergeCmdLineInfo cmdInfo((progpath + L" /dr TestR " + \r
paths::ConcatPath(projectRoot, L"Testing/Data/big_file.conflict")).c_str()\r
);\r
theApp.ParseArgsAndDoOpen(cmdInfo, GetMainFrame());\r
\r
TEST(CommandLineTest, Desc4)\r
{\r
+ String progpath = paths::ConcatPath(env::GetProgPath(), _T("WinMergeU.exe"));\r
String projectRoot = getProjectRoot();\r
- MergeCmdLineInfo cmdInfo((String(GetCommandLineW()) + L" /dl TestL " + \r
+ MergeCmdLineInfo cmdInfo((progpath + L" /dl TestL " + \r
paths::ConcatPath(projectRoot, L"Testing/Data/big_file.conflict")).c_str()\r
);\r
theApp.ParseArgsAndDoOpen(cmdInfo, GetMainFrame());\r