diff --git a/src/attributes-test.h b/src/attributes-test.h
index c8287f76935945f8c4a7b0f52fbeae00fe252b9d..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"
{"inkscape:bbox-nodes", true},
{"inkscape:snap-page", true},
{"inkscape:snap-global", true},
- {"inkscape:snap-indicator", true},
{"inkscape:snap-bbox", true},
{"inkscape:snap-nodes", true},
- {"inkscape:snap-guide", true},
+ {"inkscape:snap-from-guide", true},
{"inkscape:snap-center", true},
- {"inkscape:snap-intersection-grid-guide", true},
- {"inkscape:snap-intersection-line-segments", 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},
}
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 );
}