Index: C:/harmony/trunk_0427/modules/security/src/test/impl/java.injected/java/security/cert/X509CertSelectorTest.java =================================================================== --- C:/harmony/trunk_0427/modules/security/src/test/impl/java.injected/java/security/cert/X509CertSelectorTest.java (revision 418673) +++ C:/harmony/trunk_0427/modules/security/src/test/impl/java.injected/java/security/cert/X509CertSelectorTest.java (working copy) @@ -2569,6 +2569,20 @@ /** * addPathToName(int type, String name) method testing. */ + public void testAddPathToName() { + for (int type = 0; type <= 8; type++) { + try { + new X509CertSelector().addPathToName(type, (String) null); + fail("IOException expected!"); + } catch (IOException ioe) { + //expected + } + } + } + + /** + * addPathToName(int type, String name) method testing. + */ public void testAddPathToName1() { try { int[] types = new int[] {1, 1, 2, 2, 4, 4, 6, 6, 7, 7};