[boilerplate] s/_cairo_test_content_name/cairo_boilerplate_content_name/g

This commit is contained in:
Behdad Esfahbod 2007-04-18 19:15:16 -04:00
parent b9026d0b13
commit 47c02a6bd6
3 changed files with 10 additions and 10 deletions

View file

@ -80,7 +80,7 @@ static const char *vector_ignored_tests[] = {
};
const char *
_cairo_test_content_name (cairo_content_t content)
cairo_boilerplate_content_name (cairo_content_t content)
{
/* For the purpose of the content name, we don't distinguish the
* flattened content value.
@ -1068,7 +1068,7 @@ create_ps_surface (const char *name,
*closure = ptc = xmalloc (sizeof (ps_target_closure_t));
xasprintf (&ptc->filename, "%s-ps-%s-out.ps",
name, _cairo_test_content_name (content));
name, cairo_boilerplate_content_name (content));
ptc->width = width;
ptc->height = height;
@ -1188,7 +1188,7 @@ create_pdf_surface (const char *name,
ptc->height = height;
xasprintf (&ptc->filename, "%s-pdf-%s-out.pdf",
name, _cairo_test_content_name (content));
name, cairo_boilerplate_content_name (content));
surface = cairo_pdf_surface_create (ptc->filename, width, height);
if (cairo_surface_status (surface)) {
@ -1294,7 +1294,7 @@ create_svg_surface (const char *name,
ptc->height = height;
xasprintf (&ptc->filename, "%s-svg-%s-out.svg",
name, _cairo_test_content_name (content));
name, cairo_boilerplate_content_name (content));
surface = cairo_svg_surface_create (ptc->filename, width, height);
if (cairo_surface_status (surface)) {

View file

@ -78,7 +78,7 @@
#define CAIRO_TEST_CONTENT_COLOR_ALPHA_FLATTENED ((unsigned int) -1)
const char *
_cairo_test_content_name (cairo_content_t content);
cairo_boilerplate_content_name (cairo_content_t content);
#ifndef FALSE
#define FALSE 0

View file

@ -203,7 +203,7 @@ cairo_test_for_target (cairo_test_t *test,
const char *format;
/* Get the strings ready that we'll need. */
format = _cairo_test_content_name (target->content);
format = cairo_boilerplate_content_name (target->content);
if (dev_offset)
xasprintf (&offset_str, "-%d", dev_offset);
else
@ -479,7 +479,7 @@ cairo_test_expecting (cairo_test_t *test,
cairo_test_log ("Testing %s with %s target (dev offset %d)\n", test->name, target->name, dev_offset);
printf ("%s-%s-%s [%d]:\t", test->name, target->name,
_cairo_test_content_name (target->content),
cairo_boilerplate_content_name (target->content),
dev_offset);
#ifdef HAVE_SIGNAL_H
@ -496,7 +496,7 @@ cairo_test_expecting (cairo_test_t *test,
cairo_test_log ("TEST: %s TARGET: %s FORMAT: %s OFFSET: %d RESULT: ",
test->name, target->name,
_cairo_test_content_name (target->content),
cairo_boilerplate_content_name (target->content),
dev_offset);
switch (status) {
@ -521,7 +521,7 @@ cairo_test_expecting (cairo_test_t *test,
cairo_test_log ("CRASHED\n");
fprintf (stderr, "%s-%s-%s [%d]:\t%s!!!CRASHED!!!%s\n",
test->name, target->name,
_cairo_test_content_name (target->content), dev_offset,
cairo_boilerplate_content_name (target->content), dev_offset,
fail_face, normal_face);
ret = CAIRO_TEST_FAILURE;
break;
@ -540,7 +540,7 @@ cairo_test_expecting (cairo_test_t *test,
}
fprintf (stderr, "%s-%s-%s [%d]:\t%sFAIL%s\n",
test->name, target->name,
_cairo_test_content_name (target->content), dev_offset,
cairo_boilerplate_content_name (target->content), dev_offset,
fail_face, normal_face);
cairo_test_log ("FAIL\n");
}