MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / test_Negative

Method test_Negative

tests/GradleSpecifier_test.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 QTest::newRow("missing version") << "herp.derp:artifact";
57 }
58 void test_Negative()
59 {
60 QFETCH(QString, input);
61
62 GradleSpecifier spec(input);
63 QVERIFY(!spec.valid());
64 QCOMPARE(spec.serialize(), input);
65 QCOMPARE(spec.toPath(), QString());
66 }
67};
68
69QTEST_GUILESS_MAIN(GradleSpecifierTest)

Callers

nothing calls this directly

Calls 4

QStringClass · 0.85
toPathMethod · 0.80
validMethod · 0.45
serializeMethod · 0.45

Tested by

no test coverage detected