Searched refs:enableBackup (Results 1 – 2 of 2) sorted by relevance
67 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()86 assertFalse(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()105 assertTrue(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()124 assertFalse(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()144 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()167 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandThrows_propagatesException()195 backupUtils.enableBackup(true); in testEnableBackup_whenSetCommandThrows_propagatesException()223 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandReturnsInvalidString_throwsException()251 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandReturnsEmptyString_throwsException()
275 public boolean enableBackup(boolean enable) throws Exception { in enableBackup() method in BackupUtils