| 1816 | } |
| 1817 | |
| 1818 | void platformWin64() { |
| 1819 | REDIRECT; |
| 1820 | const char * const argv[] = {"cppcheck", "--platform=win64", "file.cpp"}; |
| 1821 | ASSERT(settings->platform.set(Platform::Type::Unspecified)); |
| 1822 | ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv)); |
| 1823 | ASSERT_EQUALS(Platform::Type::Win64, settings->platform.type); |
| 1824 | } |
| 1825 | |
| 1826 | void platformWin32A() { |
| 1827 | REDIRECT; |