}
public void testSetStringValue() throws RepositoryException {
NodeId nid = getNodeId(testPath);
Name propName = resolver.getQName("stringProp");
QValueFactory vf = rs.getQValueFactory();
List l = new ArrayList();
l.add("String value containing \"double quotes\" and \'single\' and \"undeterminated quote.");
l.add("String value \ncontaining \n\rline \r\nseparators and \t tab.");
l.add("String value containing \r\n\r\r\n\r\n multiple \r\n\r\n line separators in sequence.");
l.add("String value containing >diff -char +act ^ters.");
l.add("String value containing \n>line sep \r+and \r\n-diff\n\r^chars.");
l.add("String value containing \u0633\u0634 unicode chars.");
for (Iterator it = l.iterator(); it.hasNext();) {
QValue v = vf.create(it.next().toString(), PropertyType.STRING);
Batch b = rs.createBatch(si, nid);
b.addProperty(nid, propName, v);
rs.submit(b);
PropertyInfo pi = getPropertyInfo(nid, propName);