+ ", c"
+ "\r-c.d "
+ ", c.d.e.f"
+ ",-c.d.e.f.g";
DefaultNativeSecurityManager manager = new DefaultNativeSecurityManager();
manager.setList(list);
manager.init(EngineManager.getEngine());
assertFalse(manager.access("a"));
assertFalse(manager.access("a.aa"));
assertFalse(manager.access("a.aa.aaa"));
assertFalse(manager.access("b"));
assertFalse(manager.access("b.b"));
assertFalse(manager.access("b.c"));
assertTrue(manager.access("c"));
assertTrue(manager.access("c.cc"));
assertTrue(manager.access("c.cc.ccc"));
assertFalse(manager.access("c.d"));
assertFalse(manager.access("c.d.e"));
assertTrue(manager.access("c.d.e.f"));
assertFalse(manager.access("c.d.e.f.g"));
assertFalse(manager.access("c.d.e.f.g.h"));
}