OSDN Git Service

GUITestUtils.cpp: do not test all languages when command line arguments are empty
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 29 Dec 2019 10:51:25 +0000 (19:51 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 29 Dec 2019 10:51:25 +0000 (19:51 +0900)
Testing/GoogleTest/GUITests/GUITestUtils.cpp

index 1a33f2e..e30ea69 100644 (file)
@@ -153,7 +153,7 @@ HWND execWinMerge(const std::string& args)
 \r
 const std::set<int> languages()\r
 {\r
-       if (wcsstr(GetCommandLineW(), L"--english-only") != nullptr)\r
+       if (wcsstr(GetCommandLineW(), L"--all-languages") == nullptr)\r
                return { MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) };\r
        return {\r
 MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),\r