| 1840 | } |
| 1841 | |
| 1842 | void platformUnix32() { |
| 1843 | REDIRECT; |
| 1844 | const char * const argv[] = {"cppcheck", "--platform=unix32", "file.cpp"}; |
| 1845 | ASSERT(settings->platform.set(Platform::Type::Unspecified)); |
| 1846 | ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv)); |
| 1847 | ASSERT_EQUALS(Platform::Type::Unix32, settings->platform.type); |
| 1848 | } |
| 1849 | |
| 1850 | void platformUnix32Unsigned() { |
| 1851 | REDIRECT; |