Repository: brooklyn-docs
Updated Branches:
  refs/heads/master d089dcf79 -> 2453ea555


Documentation on greaterThan and lessThan test assertions


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

Branch: refs/heads/master
Commit: 181569cab33adf11410072b5ac4ede02f167f4b9
Parents: 7d85084
Author: Sam Corbett <[email protected]>
Authored: Thu Apr 6 10:30:44 2017 +0100
Committer: Sam Corbett <[email protected]>
Committed: Thu Apr 6 10:30:44 2017 +0100

----------------------------------------------------------------------
 guide/yaml/test/test-entities.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/181569ca/guide/yaml/test/test-entities.md
----------------------------------------------------------------------
diff --git a/guide/yaml/test/test-entities.md b/guide/yaml/test/test-entities.md
index 6f5ff02..4187c35 100644
--- a/guide/yaml/test/test-entities.md
+++ b/guide/yaml/test/test-entities.md
@@ -169,6 +169,12 @@ The following conditions are provided by those test 
entities above that include
 - `isEmpty` - asserts that the actual value is an empty string
 - `notEmpty` - asserts that the actual value is a non empty string
 - `hasTruthValue` - asserts that the actual value has the expected 
interpretation as a boolean
+- `greaterThan` - asserts that the actual value is greater than the expected 
value according to Java's
+  
[Comparable](https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html)
 interface. Actual and
+  expected must be instances of the same type and implement `Comparable`.
+- `lessThan` - asserts that the actual value is less than the expected value 
according to Java's
+  
[Comparable](https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html)
 interface. Actual and
+  expected must be instances of the same type and implement `Comparable`.
 
 Assertions may be provided as a simple map:
 

Reply via email to