@Test public void testFriendlyDatabaseVersion() { List<Integer> appliedUpgrades = new ArrayList<Integer>(); appliedUpgrades.add(1277604232); appliedUpgrades.add(1277604243); appliedUpgrades.add(1277604267); List<Integer> releaseUpgrades = new ArrayList<Integer>(); releaseUpgrades.add(1277604232); releaseUpgrades.add(1277604243); releaseUpgrades.add(1277604267); String releaseSchemaName = "mifos-v1.7.0-schema"; String databaseVersion = info.getApplicationVersion(appliedUpgrades, releaseUpgrades, releaseSchemaName); Assert.assertEquals(releaseSchemaName, databaseVersion); }
public String getApplicationVersion() { return getApplicationVersion(new DatabaseMigrator().getAppliedUpgrades(), getReleaseUpgrades(), getReleaseSchemaName()); }
SystemInfo implements Serializable { public String getApplicationVersion() { return getApplicationVersion(new DatabaseMigrator().getAppliedUpgrades(), getReleaseUpgrades(), getReleaseSchemaName()); } }
SystemInfo implements Serializable { public String getApplicationVersion() { return getApplicationVersion(new DatabaseMigrator().getAppliedUpgrades(), getReleaseUpgrades(), getReleaseSchemaName()); } SystemInfo(DatabaseMetaData databaseMetaData, ServletContext context, Locale locale, boolean getInfoSource); }
SystemInfo implements Serializable { public String getApplicationVersion() { return getApplicationVersion(new DatabaseMigrator().getAppliedUpgrades(), getReleaseUpgrades(), getReleaseSchemaName()); } SystemInfo(DatabaseMetaData databaseMetaData, ServletContext context, Locale locale, boolean getInfoSource); String getApplicationVersion(); String getApplicationVersion(List<Integer> appliedUpgrades, List<Integer> releaseUpgrades,
            String releaseSchemaName); String getDatabaseVendor(); String getDatabaseVersion(); String getDriverName(); String getDriverVersion(); String getJavaVendor(); String getJavaVersion(); String getApplicationServerInfo(); void setApplicationServerInfo(String applicationServerInfo); String getCommitIdentifier(); String getBuildNumber(); String getBuildDate(); String getReleaseName(); void setJavaVendor(String javaVendor); void setJavaVersion(String javaVersion); void setBuildInformation(VersionInfo versionInfo); void setCustomReportsDir(String dir); String getCustomReportsDir(); String getOsName(); void setOsName(String osName); String getOsArch(); void setOsArch(String osArch); String getOsVersion(); void setOsVersion(String osVersion); String getInfoSource(); void setInfoSource(String infoSource); String getDatabaseServer(); String getDatabasePort(); String getDatabaseName(); String getDatabaseUser(); void setDatabaseUser(String databaseUser); String getInfoURL(); void setInfoURL(URI infoURL); DateTime getDateTime(); String getDateTimeString(); String getDateTimeStringIso8601(); String getOsUser(); void setOsUser(String osUser); }
SystemInfo implements Serializable { public String getApplicationVersion() { return getApplicationVersion(new DatabaseMigrator().getAppliedUpgrades(), getReleaseUpgrades(), getReleaseSchemaName()); } SystemInfo(DatabaseMetaData databaseMetaData, ServletContext context, Locale locale, boolean getInfoSource); String getApplicationVersion(); String getApplicationVersion(List<Integer> appliedUpgrades, List<Integer> releaseUpgrades,
            String releaseSchemaName); String getDatabaseVendor(); String getDatabaseVersion(); String getDriverName(); String getDriverVersion(); String getJavaVendor(); String getJavaVersion(); String getApplicationServerInfo(); void setApplicationServerInfo(String applicationServerInfo); String getCommitIdentifier(); String getBuildNumber(); String getBuildDate(); String getReleaseName(); void setJavaVendor(String javaVendor); void setJavaVersion(String javaVersion); void setBuildInformation(VersionInfo versionInfo); void setCustomReportsDir(String dir); String getCustomReportsDir(); String getOsName(); void setOsName(String osName); String getOsArch(); void setOsArch(String osArch); String getOsVersion(); void setOsVersion(String osVersion); String getInfoSource(); void setInfoSource(String infoSource); String getDatabaseServer(); String getDatabasePort(); String getDatabaseName(); String getDatabaseUser(); void setDatabaseUser(String databaseUser); String getInfoURL(); void setInfoURL(URI infoURL); DateTime getDateTime(); String getDateTimeString(); String getDateTimeStringIso8601(); String getOsUser(); void setOsUser(String osUser);  }