Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
c60473e0
Commit
c60473e0
authored
Dec 30, 2016
by
Johannes Edmeier
Committed by
Johannes Edmeier
Jul 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to Java 8
parent
15cf8071
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
pom.xml
pom.xml
+1
-1
ApplicationTest.java
.../codecentric/boot/admin/registration/ApplicationTest.java
+5
-7
No files found.
pom.xml
View file @
c60473e0
...
...
@@ -16,7 +16,7 @@
<description>
Spring Boot Admin
</description>
<url>
https://github.com/codecentric/spring-boot-admin/
</url>
<properties>
<java.version>
1.
7
</java.version>
<java.version>
1.
8
</java.version>
<main.basedir>
${basedir}
</main.basedir>
<spring-boot.version>
1.5.4.RELEASE
</spring-boot.version>
<spring-cloud.version>
Dalston.SR1
</spring-cloud.version>
...
...
spring-boot-admin-starter-client/src/test/java/de/codecentric/boot/admin/registration/ApplicationTest.java
View file @
c60473e0
package
de
.
codecentric
.
boot
.
admin
.
registration
;
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
hamcrest
.
Matchers
.
is
;
import
static
org
.
hamcrest
.
Matchers
.
not
;
import
java.io.IOException
;
...
...
@@ -41,13 +39,13 @@ public class ApplicationTest {
Application
a2
=
Application
.
create
(
"foo"
).
withHealthUrl
(
"healthUrl"
)
.
withManagementUrl
(
"mgmt"
).
withServiceUrl
(
"svc"
).
build
();
assertThat
(
a1
,
is
(
a2
)
);
assertThat
(
a1
.
hashCode
()
,
is
(
a2
.
hashCode
()
));
assertThat
(
a1
).
isEqualTo
(
a2
);
assertThat
(
a1
.
hashCode
()
).
isEqualTo
(
a2
.
hashCode
(
));
Application
a3
=
Application
.
create
(
"foo"
).
withHealthUrl
(
"healthUrl2"
)
.
withManagementUrl
(
"mgmt"
).
withServiceUrl
(
"svc"
).
build
();
assertThat
(
a1
,
not
(
is
(
a3
))
);
assertThat
(
a2
,
not
(
is
(
a3
))
);
assertThat
(
a1
).
isNotEqualTo
(
a3
);
assertThat
(
a2
).
isNotEqualTo
(
a3
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment