mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Added comments
This commit is contained in:
parent
aa74064998
commit
09b9831296
@ -383,6 +383,13 @@ public class CentralRepoDbManager {
|
||||
saveNewCentralRepo();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up a PostgresDb using the settings for the given database choice
|
||||
* enum.
|
||||
*
|
||||
* @param choice Type of postgres DB to set up
|
||||
* @throws CentralRepoException
|
||||
*/
|
||||
public void setupPostgresDb(CentralRepoDbChoice choice) throws CentralRepoException {
|
||||
selectedDbChoice = choice;
|
||||
DatabaseTestResult curStatus = testStatus();
|
||||
|
@ -106,6 +106,8 @@ public class RegressionTest extends TestCase {
|
||||
|
||||
try {
|
||||
if (Boolean.parseBoolean(System.getProperty("isMultiUser"))) {
|
||||
// Set up a custom postgres CR using the configuration passed
|
||||
// to system properties.
|
||||
CentralRepoDbManager manager = new CentralRepoDbManager();
|
||||
manager.getDbSettingsPostgres().setHost(System.getProperty("crHost"));
|
||||
manager.getDbSettingsPostgres().setPort(Integer.parseInt(System.getProperty("crPort")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user