#include <cxxtest/TestSuite.h>
#include <cstdlib>
#include <glib.h>
#include "uri.h"
{
{
}
virtual ~RebaseHrefsTest() {}
// createSuite and destroySuite get us per-suite setup and teardown
// without us having to worry about static initialization order, etc.
{
tmp += " [";
for (unsigned i = 0; i < total; i++) {
}
tmp += "]";
}
void testFlipples()
{
"data:foo,bar",
"foo.svg",
"file:foo.svg",
"bar\xe1\x84\x92.svg",
"bar%e1%84%92.svg",
};
g_message("+------");
for ( int i = 0; things[i]; i++ )
{
{
(int)uri.isRelative(),
things[i],
str );
}
{
{
(int)again.isRelative(),
things[i],
str );
g_message(" ----");
}
}
}
g_message("+------");
}
};
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :