Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataNotSupportedTest.java471 HashSet<String> expectedPrivs = new HashSet<String>(); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() local
472 expectedPrivs.add("CREATE"); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
473 expectedPrivs.add("SELECT"); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
489 expectedPrivs.remove(privileges.getString("PRIVILEGE"))); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
498 assertTrue("Wrong privileges were returned", expectedPrivs.isEmpty()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
508 expectedPrivs = new HashSet<String>(); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
510 expectedPrivs.add(privs[i]); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
526 expectedPrivs.remove(privileges.getString("PRIVILEGE"))); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
535 assertTrue("Wrong privileges were returned", expectedPrivs.isEmpty()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()