Class DatabaseCliConfirmationTest
java.lang.Object
ubic.gemma.apps.DatabaseCliConfirmationTest
initializeDatabase and updateDatabase must ask for confirmation unless
-force is passed.
Both used to check whether -force was defined rather than passed, which is always true, so neither
ever prompted. The data source is a plain mock, so nothing here can reach a database: a run that skips the prompt
fails on the mock instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoid
-
Constructor Details
-
DatabaseCliConfirmationTest
public DatabaseCliConfirmationTest()
-
-
Method Details
-
testInitializeDatabasePromptsWithoutForce
-
testInitializeDatabaseDoesNotPromptWithForce
-
testUpdateDatabasePromptsWithoutForce
-
testUpdateDatabaseDoesNotPromptWithForce
-