mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-2961 - CategoryPath - Changes from first review
This commit is contained in:
parent
ea88558241
commit
f62b220e09
2 changed files with 75 additions and 94 deletions
|
@ -277,16 +277,6 @@ public class CategoryPathTest extends AbstractGenericTest {
|
|||
|
||||
@Test
|
||||
public void testConstructorDelimeterEscape4() {
|
||||
CategoryPath path = new CategoryPath("/\\/aaa/bbb/bob");
|
||||
List<String> names = path.asList();
|
||||
assertEquals("/aaa", names.get(0));
|
||||
assertEquals("bbb", names.get(1));
|
||||
assertEquals("bob", names.get(2));
|
||||
assertEquals("/\\/aaa/bbb/bob", path.getPath());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConstructorDelimeterEscape5() {
|
||||
CategoryPath path = new CategoryPath("/\\/\\/aaa/bbb/bob");
|
||||
List<String> names = path.asList();
|
||||
assertEquals("//aaa", names.get(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue