brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [1/3] brooklyn-docs git commit: Add TestWinrmCommand and TestEndpointReachable to list
Date Fri, 14 Oct 2016 18:38:39 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/master c008aae55 -> 906f43f97


Add TestWinrmCommand and TestEndpointReachable to list

(still no examples or details for these).

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

Branch: refs/heads/master
Commit: b7b25230c9dd03d7e4e3beed90c351553795d9fd
Parents: c008aae
Author: Aled Sage <aled.sage@gmail.com>
Authored: Fri Oct 14 19:15:38 2016 +0100
Committer: Aled Sage <aled.sage@gmail.com>
Committed: Fri Oct 14 19:15:38 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/b7b25230/guide/yaml/test/index.md
----------------------------------------------------------------------
diff --git a/guide/yaml/test/index.md b/guide/yaml/test/index.md
index 856cc73..8b10f01 100644
--- a/guide/yaml/test/index.md
+++ b/guide/yaml/test/index.md
@@ -21,6 +21,10 @@ Validation test entities include:
 - `TestEffector` - perform assertion on response to effector call.
 - `TestHttpCall` - perform assertion on response to specified HTTP GET Request.
 - `TestSshCommand` - test assertions on the result of an ssh command on the same machine
as the target entity.
+- `TestWinrmCommand` - test assertions on the result of a WinRM command on the same machine
as the target entity.
+- `TestEndpointReachable` - assert that a TCP endpoint is reachable. The endpoint can be
in a 
+  number of different formats: a string in the form of `ip:port` or URI format; or a 
+  `com.google.common.net.HostAndPort` instance; or a `java.net.URI` instance; or a `java.net.URL`
instance.
 
 TargetableTestComponents can be chained together, with the target being inherited by the
components children. For example, a ParallelTestCase could be created that has a TestHttpCall
as a child. As long as the TestHttpCall itself does not have a target, it will use the target
of it's parent, ParallelTestCase. Using this technique, we can build up complex test scenarios.
 


Mime
View raw message