@Test(groups = "asn1", dataProvider = "paths") public void testToString(final String testPath, final String expected) throws Exception { Assert.assertEquals(new DERPath(testPath).toString(), expected); }
@Override public String toString() { final StringBuilder sb = new StringBuilder(nodeStack.size() * 10); for (Node node : nodeStack) { sb.append(PATH_SEPARATOR); node.toString(sb); } return sb.toString(); }
DERPath { @Override public String toString() { final StringBuilder sb = new StringBuilder(nodeStack.size() * 10); for (Node node : nodeStack) { sb.append(PATH_SEPARATOR); node.toString(sb); } return sb.toString(); } }
DERPath { @Override public String toString() { final StringBuilder sb = new StringBuilder(nodeStack.size() * 10); for (Node node : nodeStack) { sb.append(PATH_SEPARATOR); node.toString(sb); } return sb.toString(); } DERPath();  DERPath(final DERPath path);  DERPath(final String pathSpec); }
DERPath { @Override public String toString() { final StringBuilder sb = new StringBuilder(nodeStack.size() * 10); for (Node node : nodeStack) { sb.append(PATH_SEPARATOR); node.toString(sb); } return sb.toString(); } DERPath();  DERPath(final DERPath path);  DERPath(final String pathSpec); DERPath pushNode(final String name); DERPath pushNode(final String name, final int index); String peekNode(); String popNode(); int getSize(); boolean isEmpty(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
DERPath { @Override public String toString() { final StringBuilder sb = new StringBuilder(nodeStack.size() * 10); for (Node node : nodeStack) { sb.append(PATH_SEPARATOR); node.toString(sb); } return sb.toString(); } DERPath();  DERPath(final DERPath path);  DERPath(final String pathSpec); DERPath pushNode(final String name); DERPath pushNode(final String name, final int index); String peekNode(); String popNode(); int getSize(); boolean isEmpty(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final String PATH_SEPARATOR; }