Project

General

Profile

« Previous | Next » 

Revision 4509

Added by daigle about 16 years ago

Change getAccessBlock from private to protected so it can override the MCTestCase version

View differences:

test/edu/ucsb/nceas/metacattest/OnlineDataAccessTest.java
132 132
    /**
133 133
     * This function returns an access block based on the params passed
134 134
     */
135
    private String getAccessBlock(String principal, boolean grantAccess,
135
    protected String getAccessBlock(String principal, boolean grantAccess,
136 136
                                  boolean read, boolean write,
137 137
                                  boolean changePermission, boolean all) {
138 138
        String accessBlock = "<access " +
test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java
114 114
    /**
115 115
     * This function returns an access block based on the params passed
116 116
     */
117
    private String getAccessBlock(String principal, boolean grantAccess,
117
    protected String getAccessBlock(String principal, boolean grantAccess,
118 118
                                  boolean read, boolean write,
119 119
                                  boolean changePermission, boolean all) {
120 120
        String accessBlock = "<access " +
test/edu/ucsb/nceas/metacattest/InlineDataAccessTest.java
133 133
    /**
134 134
     * This function returns an access block based on the params passed
135 135
     */
136
    private String getAccessBlock(String principal, boolean grantAccess,
136
    protected String getAccessBlock(String principal, boolean grantAccess,
137 137
                                  boolean read, boolean write,
138 138
                                  boolean changePermission, boolean all) {
139 139
        String accessBlock = "<access " +

Also available in: Unified diff