Searched refs:enableBackup (Results 1 – 2 of 2) sorted by relevance
66 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()85 assertFalse(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()104 assertTrue(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()123 assertFalse(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()143 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()166 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandThrows_propagatesException()194 backupUtils.enableBackup(true); in testEnableBackup_whenSetCommandThrows_propagatesException()222 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandReturnsInvalidString_throwsException()250 backupUtils.enableBackup(true); in testEnableBackup_whenQueryCommandReturnsEmptyString_throwsException()
301 public boolean enableBackup(boolean enable) throws Exception { in enableBackup() method in BackupUtils