MCPcopy Create free account
hub / github.com/KDAB/GammaRay / testToString

Method testToString

tests/probeabitest.cpp:73–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 static void testToString()
74 {
75 QFETCH(QString, id);
76 QFETCH(int, majorVersion);
77 QFETCH(int, minorVersion);
78 QFETCH(bool, isDebug);
79 QFETCH(QString, arch);
80 QFETCH(QString, compiler);
81 QFETCH(QString, compilerVersion);
82
83 ProbeABI abi;
84 abi.setQtVersion(majorVersion, minorVersion);
85 abi.setIsDebug(isDebug);
86 abi.setArchitecture(arch);
87 abi.setCompiler(compiler);
88 abi.setCompilerVersion(compilerVersion);
89
90 QCOMPARE(abi.id(), id);
91 }
92
93 static void testFromString_data()
94 {

Callers

nothing calls this directly

Calls 6

setQtVersionMethod · 0.80
setIsDebugMethod · 0.80
setArchitectureMethod · 0.80
setCompilerMethod · 0.80
setCompilerVersionMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected