Repository: incubator-sentry Updated Branches: refs/heads/master 2bd258105 -> 0b5ff1054
SENTRY-742: Add describe, show/compute stats tests for column level privileges ( Anne yu, Reviewed by: Sravya Tirukkovalur) Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/0b5ff105 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/0b5ff105 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/0b5ff105 Branch: refs/heads/master Commit: 0b5ff1054333deafec55e85da58489a8b8ddaefa Parents: 2bd2581 Author: Sravya Tirukkovalur <[email protected]> Authored: Thu Nov 5 15:49:02 2015 -0800 Committer: Sravya Tirukkovalur <[email protected]> Committed: Thu Nov 5 15:49:02 2015 -0800 ---------------------------------------------------------------------- .../org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/0b5ff105/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java index cee05a0..8818c4c 100644 --- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java +++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/PrivilegeResultSet.java @@ -74,18 +74,18 @@ public class PrivilegeResultSet { } } - protected List<ArrayList<String>> getResultSet() { + public List<ArrayList<String>> getResultSet() { return this.privilegeResultSet; } - protected List<String> getHeader() { + public List<String> getHeader() { return this.header; } /** * Given a column name, validate if one of its values equals to given colVal */ - protected boolean verifyResultSetColumn(String colName, String colVal) { + public boolean verifyResultSetColumn(String colName, String colVal) { for (int i = 0; i < this.colNum; i ++) { if (this.header.get(i).equalsIgnoreCase(colName)) { for (int j = 0; j < this.privilegeResultSet.size(); j ++) {
