diff --git a/src/attributes-test.h b/src/attributes-test.h
index 1030f9e46755ca94599b8ed2418ff862d54674de..7b021a5433bc4a776e59cd9c0ea715ece4e0336a 100644 (file)
--- a/src/attributes-test.h
+++ b/src/attributes-test.h
#include <vector>
#include <glib.h>
#include <glib/gprintf.h>
-#include "utest/utest.h"
#include "attributes.h"
#include "streq.h"
{"arabic-form", false},
{"ascent", false},
{"attributeType", true},
- {"azimuth", false},
+ {"azimuth", true},
{"baseFrequency", true},
{"baseline-shift", true},
{"baseProfile", false},
{"dx", true},
{"dy", true},
{"edgeMode", true},
- {"elevation", false},
+ {"elevation", true},
{"enable-background", true},
{"end", true},
{"exponent", true},
{"horiz-origin-y", false},
{"ideographic", false},
{"image-rendering", true},
- {"in", false},
+ {"in", true},
{"in2", true},
{"intercept", true},
{"k", false},
{"lengthAdjust", false},
{"letter-spacing", true},
{"lighting-color", true},
- {"limitingConeAngle", false},
+ {"limitingConeAngle", true},
{"local", true},
{"marker-end", true},
{"marker-mid", true},
{"patternUnits", true},
{"pointer-events", true},
{"points", true},
- {"pointsAtX", false},
- {"pointsAtY", false},
- {"pointsAtZ", false},
+ {"pointsAtX", true},
+ {"pointsAtY", true},
+ {"pointsAtZ", true},
{"preserveAlpha", true},
{"preserveAspectRatio", true},
{"primitiveUnits", true},
{"requiredFeatures", true},
{"requiredExtensions", true},
{"restart", true},
- {"result", false},
+ {"result", true},
{"rotate", true},
{"rx", true},
{"ry", true},
{"y1", true},
{"y2", true},
{"yChannelSelector", true},
- {"z", false},
+ {"z", true},
{"zoomAndPan", false},
/* Extra attributes. */
{"inkscape:groupmode", true},
{"sodipodi:version", true},
{"inkscape:version", true},
-/* {"inkscape:object-bbox", true},
- {"inkscape:object-points", true},*/
{"inkscape:object-paths", true},
{"inkscape:object-nodes", true},
+ {"inkscape:bbox-paths", true},
+ {"inkscape:bbox-nodes", true},
+ {"inkscape:snap-page", true},
+ {"inkscape:snap-global", true},
+ {"inkscape:snap-bbox", true},
+ {"inkscape:snap-nodes", true},
+ {"inkscape:snap-from-guide", true},
+ {"inkscape:snap-center", true},
+ {"inkscape:snap-smooth-nodes", true},
+ {"inkscape:snap-midpoints", true},
+ {"inkscape:snap-object-midpoints", true},
+ {"inkscape:snap-bbox-edge-midpoints", true},
+ {"inkscape:snap-bbox-midpoints", true},
+ //{"inkscape:snap-intersection-grid-guide", true},
+ {"inkscape:snap-grids", true},
+ {"inkscape:snap-to-guides", true},
+ {"inkscape:snap-intersection-paths", true},
{"inkscape:pageopacity", true},
{"inkscape:pageshadow", true},
{"inkscape:transform-center-x", true},
{"inkscape:window-height", true},
{"inkscape:window-x", true},
{"inkscape:window-y", true},
-/* {"inkscape:grid-bbox", true},
- {"inkscape:guide-bbox", true},
- {"inkscape:grid-points", true},
- {"inkscape:guide-points", true},*/
{"inkscape:current-layer", true},
{"inkscape:connector-type", true},
{"inkscape:connection-start", true},
{"sodipodi:cy", true},
{"sodipodi:rx", true},
{"sodipodi:ry", true},
+ {"inkscape:perspectiveID", true},
+ {"inkscape:corner0", true},
+ {"inkscape:corner7", true},
+ {"inkscape:box3dsidetype", true},
+ {"inkscape:persp3d", true},
+ {"inkscape:vp_x", true},
+ {"inkscape:vp_y", true},
+ {"inkscape:vp_z", true},
+ {"inkscape:persp3d-origin", true},
{"sodipodi:start", true},
{"sodipodi:end", true},
{"sodipodi:open", true},
/* SPNamedView */
{"viewonly", true},
{"showgrid", true},
- {"gridtype", true},
+// {"gridtype", true},
{"showguides", true},
{"gridtolerance", true},
{"guidetolerance", true},
{"objecttolerance", true},
- {"gridoriginx", true},
+/* {"gridoriginx", true},
{"gridoriginy", true},
{"gridspacingx", true},
{"gridspacingy", true},
{"gridopacity", true},
{"gridempcolor", true},
{"gridempopacity", true},
- {"gridempspacing", true},
+ {"gridempspacing", true}, */
{"guidecolor", true},
{"guideopacity", true},
{"guidehicolor", true},
}
TS_ASSERT(!found);
- for ( guint index = 1; index < n_ids; index++ ) {
+ for ( unsigned int index = 1; index < n_ids; index++ ) {
guchar const* name = sp_attribute_name(index);
- gint postLookup = sp_attribute_lookup( reinterpret_cast<gchar const*>(name) );
+ unsigned int postLookup = sp_attribute_lookup( reinterpret_cast<gchar const*>(name) );
TSM_ASSERT_EQUALS( std::string("Enum round-trip through string {") + (char const*)name + "} failed.", index, postLookup );
}