brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geom...@apache.org
Subject [5/5] brooklyn-server git commit: Closes #619
Date Thu, 06 Apr 2017 11:08:48 GMT
Closes #619

Add greaterThan and lessThan test framework assertions

Each relies on the two objects being compared being instances of the same `Comparable<T>`.

I also took the opportunity to simplify the logic in `TestAssertions`.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/ff7cde11
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/ff7cde11
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/ff7cde11

Branch: refs/heads/master
Commit: ff7cde11639e49684f4baf86e9000dfb24feffa5
Parents: b608635 c51c69a
Author: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Authored: Thu Apr 6 12:08:34 2017 +0100
Committer: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Committed: Thu Apr 6 12:08:34 2017 +0100

----------------------------------------------------------------------
 .../util/core/xstream/XmlSerializerTest.java    |   1 -
 .../test/framework/TestFrameworkAssertions.java | 197 +++++++------------
 .../framework/TestFrameworkAssertionsTest.java  |  24 ++-
 .../apache/brooklyn/util/net/Networking.java    |   2 +-
 4 files changed, 97 insertions(+), 127 deletions(-)
----------------------------------------------------------------------



Mime
View raw message