public class TestBackupCommandLineTool extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.conf.Configuration |
conf |
private static String |
USAGE_BACKUP |
private static String |
USAGE_CREATE |
private static String |
USAGE_DELETE |
private static String |
USAGE_DESCRIBE |
private static String |
USAGE_HISTORY |
private static String |
USAGE_PROGRESS |
private static String |
USAGE_RESTORE |
private static String |
USAGE_SET |
Constructor and Description |
---|
TestBackupCommandLineTool() |
Modifier and Type | Method and Description |
---|---|
void |
setUpBefore() |
void |
testBackupDriverBackupSetAndList() |
void |
testBackupDriverCreateHelp() |
void |
testBackupDriverCreateTopLevelBackupDest() |
void |
testBackupDriverCreateWrongArgNumber() |
void |
testBackupDriverDeleteHelp() |
void |
testBackupDriverDeleteWrongArgNumber() |
void |
testBackupDriverDescribeHelp() |
void |
testBackupDriverHelp() |
void |
testBackupDriverHistoryHelp() |
void |
testBackupDriverHistoryWrongArgs() |
void |
testBackupDriverProgressHelp() |
void |
testBackupDriverSetHelp() |
void |
testBackupDriverUnrecognizedCommand() |
void |
testBackupDriverUnrecognizedOption() |
void |
testBackupDriverWrongBackupDestination() |
void |
testRestoreDriverHelp() |
void |
testRestoreDriverUnrecognizedOption() |
public static final HBaseClassTestRule CLASS_RULE
private static final String USAGE_DESCRIBE
private static final String USAGE_CREATE
private static final String USAGE_HISTORY
private static final String USAGE_BACKUP
private static final String USAGE_DELETE
private static final String USAGE_PROGRESS
private static final String USAGE_SET
private static final String USAGE_RESTORE
org.apache.hadoop.conf.Configuration conf
public TestBackupCommandLineTool()
public void setUpBefore() throws Exception
Exception
public void testBackupDriverDescribeHelp() throws Exception
Exception
public void testBackupDriverCreateTopLevelBackupDest() throws Exception
Exception
public void testBackupDriverCreateHelp() throws Exception
Exception
public void testBackupDriverHistoryHelp() throws Exception
Exception
public void testBackupDriverDeleteHelp() throws Exception
Exception
public void testBackupDriverProgressHelp() throws Exception
Exception
public void testBackupDriverSetHelp() throws Exception
Exception
public void testBackupDriverHelp() throws Exception
Exception
public void testRestoreDriverHelp() throws Exception
Exception
public void testBackupDriverUnrecognizedCommand() throws Exception
Exception
public void testBackupDriverUnrecognizedOption() throws Exception
Exception
public void testRestoreDriverUnrecognizedOption() throws Exception
Exception
public void testBackupDriverCreateWrongArgNumber() throws Exception
Exception
public void testBackupDriverDeleteWrongArgNumber() throws Exception
Exception
public void testBackupDriverHistoryWrongArgs() throws Exception
Exception
public void testBackupDriverWrongBackupDestination() throws Exception
Exception
public void testBackupDriverBackupSetAndList() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.