assertNameEquals(name, "a/b/c");
}
public void testConstructor_WithProps_DS() throws InvalidNameException {
log.setMethod("testConstructor_WithProps_DS()");
CompoundName name;
props.clear();
props.put("jndi.syntax.direction", "left_to_right");
props.put("jndi.syntax.separator", "/");
name = new CompoundName("a\\/b/c", props);
assertNameEquals(name, "a\\", "b", "c");
name = new CompoundName("'a/a'/b/c", props);
assertNameEquals(name, "'a", "a'", "b", "c");
name = new CompoundName("\"a/a\"/b/c", props);
assertNameEquals(name, "\"a", "a\"", "b", "c");
name = new CompoundName("<a/a>/b/c", props);
assertNameEquals(name, "<a", "a>", "b", "c");
name = new CompoundName("a/b/c", props);
assertFalse(name.equals(new CompoundName("A/B/C", props)));
assertFalse(name.equals(new CompoundName(" a / b / c ", props)));
}