| 1824 | } |
| 1825 | |
| 1826 | void platformWin32A() { |
| 1827 | REDIRECT; |
| 1828 | const char * const argv[] = {"cppcheck", "--platform=win32A", "file.cpp"}; |
| 1829 | ASSERT(settings->platform.set(Platform::Type::Unspecified)); |
| 1830 | ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv)); |
| 1831 | ASSERT_EQUALS(Platform::Type::Win32A, settings->platform.type); |
| 1832 | } |
| 1833 | |
| 1834 | void platformWin32W() { |
| 1835 | REDIRECT; |