Permalink
Browse files

stricter Element property key/value testing. Only change, NULL no lon…

…ger supported in GraphSON.
  • Loading branch information...
1 parent fa717e2 commit 4862924f76cbb2afe934ca58d904e229f56f9395 @okram okram committed Mar 10, 2013
@@ -633,6 +633,12 @@ public void testSettingBadVertexProperties() {
} catch (RuntimeException e) {
assertTrue(true);
}
+ try {
+ edge.setProperty(convertId(graph, "good"), null);
+ assertFalse(true);
+ } catch (RuntimeException e) {
+ assertTrue(true);
+ }
}
graph.shutdown();
}
@@ -613,6 +613,12 @@ public void testSettingBadVertexProperties() {
} catch(RuntimeException e) {
assertTrue(true);
}
+ try {
+ v.setProperty(convertId(graph,"good"),null);
+ assertFalse(true);
+ } catch(RuntimeException e) {
+ assertTrue(true);
+ }
}
graph.shutdown();
}

0 comments on commit 4862924

Please sign in to comment.