update linux-ci to Ubuntu 24.04, apply clang-tidy fixes (#3998)
This commit is contained in:
@@ -196,7 +196,8 @@ TEST(GlyphManager, LoadingSuccess) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'a', u'å', u' '}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'a', u'å', u' '}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadingFail) {
|
||||
@@ -224,7 +225,8 @@ TEST(GlyphManager, LoadingFail) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'a', u'å'}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'a', u'å'}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadingCorrupted) {
|
||||
@@ -252,7 +254,8 @@ TEST(GlyphManager, LoadingCorrupted) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'a', u'å'}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'a', u'å'}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadingCancel) {
|
||||
@@ -267,7 +270,8 @@ TEST(GlyphManager, LoadingCancel) {
|
||||
FAIL() << "Should never be called";
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'a', u'å'}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'a', u'å'}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadLocalCJKGlyph) {
|
||||
@@ -309,7 +313,8 @@ TEST(GlyphManager, LoadLocalCJKGlyph) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'中'}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'中'}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadLocalCJKGlyphAfterLoadingRangeFromURL) {
|
||||
@@ -336,8 +341,8 @@ TEST(GlyphManager, LoadLocalCJKGlyphAfterLoadingRangeFromURL) {
|
||||
// instead of using the glyph recieved from the range
|
||||
// for the ideagraphic mark
|
||||
test.glyphManager.getGlyphs(test.requestor,
|
||||
GlyphDependencies{{{{{"Test Stack"}}, {u'テ'}}}, // 0x30c6
|
||||
{}},
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'テ'}}}, // 0x30c6
|
||||
.shapes = {}},
|
||||
test.fileSource);
|
||||
} else {
|
||||
ASSERT_EQ(testPositions.size(), 1u);
|
||||
@@ -357,8 +362,8 @@ TEST(GlyphManager, LoadLocalCJKGlyphAfterLoadingRangeFromURL) {
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs-12244-12543.pbf",
|
||||
GlyphDependencies{{{{{"Test Stack"}}, {u'々'}}}, // 0x3005
|
||||
{}});
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'々'}}}, // 0x3005
|
||||
.shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, LoadingInvalid) {
|
||||
@@ -391,7 +396,8 @@ TEST(GlyphManager, LoadingInvalid) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'A', u'E'}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'A', u'E'}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
TEST(GlyphManager, ImmediateFileSource) {
|
||||
@@ -434,5 +440,6 @@ TEST(GlyphManager, ImmediateFileSource) {
|
||||
test.end();
|
||||
};
|
||||
|
||||
test.run("test/fixtures/resources/glyphs.pbf", GlyphDependencies{{{{{"Test Stack"}}, {u'a', u'å', u' '}}}, {}});
|
||||
test.run("test/fixtures/resources/glyphs.pbf",
|
||||
GlyphDependencies{.glyphs = {{{{"Test Stack"}}, {u'a', u'å', u' '}}}, .shapes = {}});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user