2 Module: Test_JMXPassword
3 Provides unit tests and examples for the <JMXPassword> lens.
6 module Test_JMXPassword =
13 (* Variable: new_conf *)
14 let new_conf = "# Comment
18 let lns = JMXPassword.lns
20 (* Test: JMXPassword.lns
21 * Get test against tree structure
24 { "#comment" = "Comment" }
26 { "username" = "admin" }
27 { "password" = "activemq" }
30 (* Test: JMXPassword.lns
31 * Put test changing password to password
33 test lns put conf after set "/user/password" "password" = new_conf
35 (* vim: set ts=4 expandtab sw=4: *)