MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / platformUnix32

Method platformUnix32

test/testcmdlineparser.cpp:1842–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected