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

Method test_Path

tests/GradleSpecifier_test.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 QTest::newRow("doom") << "id.software:doom:1.666:demons@wad" << "id/software/doom/1.666/doom-1.666-demons.wad";
45 }
46 void test_Path()
47 {
48 QFETCH(QString, spec);
49 QFETCH(QString, expected);
50
51 QString converted = GradleSpecifier(spec).toPath();
52
53 QCOMPARE(converted, expected);
54 }
55 void test_Negative_data()
56 {
57 QTest::addColumn<QString>("input");

Callers

nothing calls this directly

Calls 2

GradleSpecifierClass · 0.85
toPathMethod · 0.80

Tested by

no test coverage detected