MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / test_Negative

Method test_Negative

tests/GradleSpecifier_test.cpp:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 QTest::newRow("missing version") << "herp.derp:artifact";
63 }
64 void test_Negative()
65 {
66 QFETCH(QString, input);
67
68 GradleSpecifier spec(input);
69 QVERIFY(!spec.valid());
70 QCOMPARE(spec.serialize(), input);
71 QCOMPARE(spec.toPath(), QString());
72 }
73};
74
75QTEST_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