Home
last modified time | relevance | path

Searched refs:prv (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java355 Provider[] prv; in test_getProviders() local
359 prv = Security.getProviders(); in test_getProviders()
360 int len1 = prv.length; in test_getProviders()
365 prv = Security.getProviders(); in test_getProviders()
366 int len2 = prv.length; in test_getProviders()
367 if ((len2 == len1 + 1) && (prv[len2-1].toString().equals("MyProvider version 1.0"))) { in test_getProviders()
DAlgorithmParametersTest.java198 String[] prv = {"", null}; in test_getInstanceLjava_lang_StringLjava_lang_String() local
220 for (int i = 0; i < prv.length; i++) { in test_getInstanceLjava_lang_StringLjava_lang_String()
222 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC", prv[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()
223 fail("IllegalArgumentException was not thrown for parameter " + prv[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()
227 fail("Incorrect exception " + e + " was thrown for " + prv[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()