Move DisabledReviewDb to gerrit-server testutil

Change-Id: I7e337271766a442521069b5bcc8d0dac809a5831
This commit is contained in:
Dave Borowitz 2015-09-02 11:10:27 -04:00
parent ef64e7405a
commit 36db655bcb
2 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ import com.google.gerrit.server.config.RequestScopedReviewDbProvider;
import com.google.gerrit.server.util.RequestContext;
import com.google.gerrit.server.util.ThreadLocalRequestContext;
import com.google.gerrit.server.util.ThreadLocalRequestScopePropagator;
import com.google.gerrit.testutil.DisabledReviewDb;
import com.google.gwtorm.server.SchemaFactory;
import com.google.inject.Inject;
import com.google.inject.Key;

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.acceptance;
package com.google.gerrit.testutil;
import com.google.gerrit.reviewdb.server.AccountAccess;
import com.google.gerrit.reviewdb.server.AccountDiffPreferenceAccess;
@ -41,7 +41,7 @@ import com.google.gwtorm.server.Access;
import com.google.gwtorm.server.StatementExecutor;
/** ReviewDb that is disabled for testing. */
class DisabledReviewDb implements ReviewDb {
public class DisabledReviewDb implements ReviewDb {
private static final String MESSAGE = "ReviewDb is disabled for this test";
@Override