diff --git a/test/api/data-paint/README b/test/api/data-paint/README new file mode 100644 index 000000000..60d6cef88 --- /dev/null +++ b/test/api/data-paint/README @@ -0,0 +1,7 @@ +Imported from https://roettsch.es/var_colrv1.html + +To be tested with +https://github.com/googlefonts/color-fonts/blob/main/fonts/noto-glyf_colr_1.ttf + +See description of each glyph in: +https://github.com/googlefonts/color-fonts/blob/main/glyph_descriptions.md diff --git a/test/api/data-paint/clipbox.test b/test/api/data-paint/clipbox.test new file mode 100644 index 000000000..32a127bc5 --- /dev/null +++ b/test/api/data-paint/clipbox.test @@ -0,0 +1 @@ +󰰀​󰰁​󰰂​󰰃​󰰄 diff --git a/test/api/data-paint/color_circles_palette.test b/test/api/data-paint/color_circles_palette.test new file mode 100644 index 000000000..0ae7d0508 --- /dev/null +++ b/test/api/data-paint/color_circles_palette.test @@ -0,0 +1 @@ +󰸀​󰸁 diff --git a/test/api/data-paint/composite_mode.test b/test/api/data-paint/composite_mode.test new file mode 100644 index 000000000..37daf981c --- /dev/null +++ b/test/api/data-paint/composite_mode.test @@ -0,0 +1 @@ +󰨀​󰨁​󰨂​󰨃​󰨄​󰨅​󰨆​󰨇​󰨈​󰨉​󰨊​󰨋​󰨌​󰨍​󰨎​󰨏​󰨐​󰨑​󰨒​󰨓​󰨔​󰨕​󰨖​󰨗​󰨘​󰨙​󰨚​󰨛 diff --git a/test/api/data-paint/extend_mode.test b/test/api/data-paint/extend_mode.test new file mode 100644 index 000000000..f7c5346c5 --- /dev/null +++ b/test/api/data-paint/extend_mode.test @@ -0,0 +1 @@ +󰔀​󰔁​󰔂​󰔃​󰔄​󰔅​󰔆​󰔇​󰔈 diff --git a/test/api/data-paint/foreground_color.test b/test/api/data-paint/foreground_color.test new file mode 100644 index 000000000..f4aa1e421 --- /dev/null +++ b/test/api/data-paint/foreground_color.test @@ -0,0 +1 @@ +󰬀​󰬁​󰬂​󰬃​󰬄​󰬅​󰬆​󰬇 diff --git a/test/api/data-paint/gradient_p2_skewed.test b/test/api/data-paint/gradient_p2_skewed.test new file mode 100644 index 000000000..ca528d0a5 --- /dev/null +++ b/test/api/data-paint/gradient_p2_skewed.test @@ -0,0 +1 @@ +󰴀 diff --git a/test/api/data-paint/paint_rotate.test b/test/api/data-paint/paint_rotate.test new file mode 100644 index 000000000..002a3701e --- /dev/null +++ b/test/api/data-paint/paint_rotate.test @@ -0,0 +1 @@ +󰘀​󰘁​󰘂​󰘃 diff --git a/test/api/data-paint/paint_scale.test b/test/api/data-paint/paint_scale.test new file mode 100644 index 000000000..b00bdf027 --- /dev/null +++ b/test/api/data-paint/paint_scale.test @@ -0,0 +1 @@ +󰌀​󰌁​󰌂​󰌃​󰌄​󰌅 diff --git a/test/api/data-paint/paint_skew.test b/test/api/data-paint/paint_skew.test new file mode 100644 index 000000000..0ff07962f --- /dev/null +++ b/test/api/data-paint/paint_skew.test @@ -0,0 +1 @@ +󰜀​󰜁​󰜂​󰜃​󰜄​󰜅 diff --git a/test/api/data-paint/paint_transform.test b/test/api/data-paint/paint_transform.test new file mode 100644 index 000000000..a66ab4f27 --- /dev/null +++ b/test/api/data-paint/paint_transform.test @@ -0,0 +1 @@ +󰠀​󰠁​󰠂​󰠃 diff --git a/test/api/data-paint/paint_translate.test b/test/api/data-paint/paint_translate.test new file mode 100644 index 000000000..faa1fedc9 --- /dev/null +++ b/test/api/data-paint/paint_translate.test @@ -0,0 +1 @@ +󰤀​󰤁​󰤂​󰤃​󰤄​󰤅​󰤆 diff --git a/test/api/data-paint/sweep_varsweep.test b/test/api/data-paint/sweep_varsweep.test new file mode 100644 index 000000000..dc6b166c2 --- /dev/null +++ b/test/api/data-paint/sweep_varsweep.test @@ -0,0 +1 @@ +󰈀​󰈁​󰈂​󰈃​󰈄​󰈅​󰈆​󰈇​󰈈​󰈉​󰈊​󰈋​󰈌​󰈍​󰈎​󰈏​󰈐​󰈑​󰈒​󰈓​󰈔​󰈕​󰈖​󰈗​󰈘​󰈙​󰈚​󰈛​󰈜​󰈝​󰈞​󰈟​󰈠​󰈡​󰈢​󰈣​󰈤​󰈥​󰈦​󰈧​󰈨​󰈩​󰈪​󰈫​󰈬​󰈭​󰈮​󰈯​󰈰​󰈱​󰈲​󰈳​󰈴​󰈵​󰈶​󰈷​󰈸​󰈹​󰈺​󰈻​󰈼​󰈽​󰈾​󰈿​󰉀​󰉁​󰉂​󰉃​󰉄​󰉅​󰉆​󰉇 diff --git a/test/api/data-paint/variable_alpha.test b/test/api/data-paint/variable_alpha.test new file mode 100644 index 000000000..f61150392 --- /dev/null +++ b/test/api/data-paint/variable_alpha.test @@ -0,0 +1 @@ +󱀀 diff --git a/test/api/results/bad-154 b/test/api/results-paint/bad-154 similarity index 100% rename from test/api/results/bad-154 rename to test/api/results-paint/bad-154 diff --git a/test/api/results/hand-10 b/test/api/results-paint/hand-10 similarity index 100% rename from test/api/results/hand-10 rename to test/api/results-paint/hand-10 diff --git a/test/api/results/hand-10.2 b/test/api/results-paint/hand-10.2 similarity index 100% rename from test/api/results/hand-10.2 rename to test/api/results-paint/hand-10.2 diff --git a/test/api/results/rocher-1 b/test/api/results-paint/rocher-1 similarity index 100% rename from test/api/results/rocher-1 rename to test/api/results-paint/rocher-1 diff --git a/test/api/results/rocher-2 b/test/api/results-paint/rocher-2 similarity index 100% rename from test/api/results/rocher-2 rename to test/api/results-paint/rocher-2 diff --git a/test/api/results/rocher-3 b/test/api/results-paint/rocher-3 similarity index 100% rename from test/api/results/rocher-3 rename to test/api/results-paint/rocher-3 diff --git a/test/api/results/test-10 b/test/api/results-paint/test-10 similarity index 100% rename from test/api/results/test-10 rename to test/api/results-paint/test-10 diff --git a/test/api/results/test-106 b/test/api/results-paint/test-106 similarity index 100% rename from test/api/results/test-106 rename to test/api/results-paint/test-106 diff --git a/test/api/results/test-116 b/test/api/results-paint/test-116 similarity index 100% rename from test/api/results/test-116 rename to test/api/results-paint/test-116 diff --git a/test/api/results/test-123 b/test/api/results-paint/test-123 similarity index 100% rename from test/api/results/test-123 rename to test/api/results-paint/test-123 diff --git a/test/api/results/test-154 b/test/api/results-paint/test-154 similarity index 100% rename from test/api/results/test-154 rename to test/api/results-paint/test-154 diff --git a/test/api/results/test-165 b/test/api/results-paint/test-165 similarity index 100% rename from test/api/results/test-165 rename to test/api/results-paint/test-165 diff --git a/test/api/results/test-175 b/test/api/results-paint/test-175 similarity index 100% rename from test/api/results/test-175 rename to test/api/results-paint/test-175 diff --git a/test/api/results/test-6 b/test/api/results-paint/test-6 similarity index 100% rename from test/api/results/test-6 rename to test/api/results-paint/test-6 diff --git a/test/api/results/test-92 b/test/api/results-paint/test-92 similarity index 100% rename from test/api/results/test-92 rename to test/api/results-paint/test-92 diff --git a/test/api/results/testvf-10 b/test/api/results-paint/testvf-10 similarity index 100% rename from test/api/results/testvf-10 rename to test/api/results-paint/testvf-10 diff --git a/test/api/results/testvf-106 b/test/api/results-paint/testvf-106 similarity index 100% rename from test/api/results/testvf-106 rename to test/api/results-paint/testvf-106 diff --git a/test/api/results/testvf-116 b/test/api/results-paint/testvf-116 similarity index 100% rename from test/api/results/testvf-116 rename to test/api/results-paint/testvf-116 diff --git a/test/api/results/testvf-123 b/test/api/results-paint/testvf-123 similarity index 100% rename from test/api/results/testvf-123 rename to test/api/results-paint/testvf-123 diff --git a/test/api/results/testvf-154 b/test/api/results-paint/testvf-154 similarity index 100% rename from test/api/results/testvf-154 rename to test/api/results-paint/testvf-154 diff --git a/test/api/results/testvf-165 b/test/api/results-paint/testvf-165 similarity index 100% rename from test/api/results/testvf-165 rename to test/api/results-paint/testvf-165 diff --git a/test/api/results/testvf-175 b/test/api/results-paint/testvf-175 similarity index 100% rename from test/api/results/testvf-175 rename to test/api/results-paint/testvf-175 diff --git a/test/api/results/testvf-6 b/test/api/results-paint/testvf-6 similarity index 100% rename from test/api/results/testvf-6 rename to test/api/results-paint/testvf-6 diff --git a/test/api/results/testvf-92 b/test/api/results-paint/testvf-92 similarity index 100% rename from test/api/results/testvf-92 rename to test/api/results-paint/testvf-92 diff --git a/test/api/test-paint.c b/test/api/test-paint.c index 218d28b5a..924582f85 100644 --- a/test/api/test-paint.c +++ b/test/api/test-paint.c @@ -404,7 +404,7 @@ test_hb_paint (gconstpointer d, /* Run * - * GENERATE_DATA=1 G_TEST_SRCDIR=./test/api ./build/test/api/test-paint -p TESTCASE > test/api/results/OUTPUT + * GENERATE_DATA=1 G_TEST_SRCDIR=./test/api ./build/test/api/test-paint -p TESTCASE > test/api/results-paint/OUTPUT * * to produce the expected results file. */ @@ -414,7 +414,7 @@ test_hb_paint (gconstpointer d, exit (0); } - file = g_test_build_filename (G_TEST_DIST, "results", test->output, NULL); + file = g_test_build_filename (G_TEST_DIST, "results-paint", test->output, NULL); if (!g_file_get_contents (file, &buffer, &len, &error)) { g_test_message ("File %s not found.", file);