You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2017/04/06 11:08:48 UTC

[5/5] brooklyn-server git commit: Closes #619

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 <ge...@cloudsoftcorp.com>
Authored: Thu Apr 6 12:08:34 2017 +0100
Committer: Geoff Macartney <ge...@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(-)
----------------------------------------------------------------------