Home
last modified time | relevance | path

Searched refs:backupUtils (Results 1 – 1 of 1) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DBackupUtilsTest.java54 BackupUtils backupUtils = new BackupUtils() { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() local
67 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
73 BackupUtils backupUtils = new BackupUtils() { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() local
86 assertFalse(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
92 BackupUtils backupUtils = new BackupUtils() { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue() local
105 assertTrue(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
111 BackupUtils backupUtils = new BackupUtils() { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse() local
124 assertFalse(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
131 BackupUtils backupUtils = new BackupUtils() { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines() local
144 assertTrue(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()
[all …]