![]() |
SudokuFX
|
Classes | |
| class | VersionServiceITest |
Functions | |
| [instance initializer] | |
| void | cleanup () throws Exception |
| int | compareVersions (final String version1, final String version2) |
| Compares two semantic versions (major.minor.patch). | |
| void | eachSetup () |
| void | givenEmptyGitHubResponse_whenCheckLatestVersion_thenLatestVersionTrue () throws Exception |
| void | givenInvalidGitHubVersions_whenCheckLatestVersion_thenLatestVersionTrue (String onLineVersion) throws ExecutionException, InterruptedException, IOException |
| void | givenInvalidJsonResponse_whenCheckLatestVersion_thenReturnsTrueAndLogsError () throws Exception |
| void | givenNon200HttpStatus_whenCheckLatestVersion_thenLatestVersionTrue (int httpStatusCode) throws IOException, InterruptedException, ExecutionException |
| void | givenRealCurrentVersion_whenCheckLatestVersion_thenCompareWithNearbyVersions () throws Exception |
Variables | |
| AutoCloseable | closeable |
| ListAppender< ILoggingEvent > | logWatcher |
| HttpClient | mockHttpClient |
| HttpResponse< String > | mockResponse |
| MyDateTime | myDateTime |
| final ObjectMapper | objectMapper = new ObjectMapper() |
|
package |
|
package |
|
private |
Compares two semantic versions (major.minor.patch).
| version1 | the first version |
| version2 | the second version |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |