Testsuite: org.apache.catalina.realm.TestJNDIRealmConvertToHexEscape Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec Testcase: testConvertToHexEscape[0: in[none], out[none]] took 0.071 sec Testcase: testConvertToHexEscape[1: in[\], out[\]] took 0 sec Testcase: testConvertToHexEscape[2: in[\\], out[\5C]] took 0 sec Testcase: testConvertToHexEscape[3: in[\5C], out[\5C]] took 0.001 sec Testcase: testConvertToHexEscape[4: in[\ ], out[\20]] took 0 sec Testcase: testConvertToHexEscape[5: in[\20], out[\20]] took 0.001 sec Testcase: testConvertToHexEscape[6: in[\ foo], out[\20foo]] took 0 sec Testcase: testConvertToHexEscape[7: in[\20foo], out[\20foo]] took 0 sec Testcase: testConvertToHexEscape[8: in[\ foo], out[\20 foo]] took 0.001 sec Testcase: testConvertToHexEscape[9: in[\20 foo], out[\20 foo]] took 0 sec Testcase: testConvertToHexEscape[10: in[\ \ foo], out[\20\20foo]] took 0 sec Testcase: testConvertToHexEscape[11: in[\20\20foo], out[\20\20foo]] took 0.002 sec Testcase: testConvertToHexEscape[12: in[foo\ ], out[foo\20]] took 0 sec Testcase: testConvertToHexEscape[13: in[foo\20], out[foo\20]] took 0 sec Testcase: testConvertToHexEscape[14: in[foo \ ], out[foo \20]] took 0 sec Testcase: testConvertToHexEscape[15: in[foo \20], out[foo \20]] took 0.006 sec Testcase: testConvertToHexEscape[16: in[foo\ \ ], out[foo\20\20]] took 0 sec Testcase: testConvertToHexEscape[17: in[foo\20\20], out[foo\20\20]] took 0 sec