()
| 122 | } |
| 123 | |
| 124 | @Test |
| 125 | public void isHttpRpcPluginPathValid() { |
| 126 | mgr_under_test = RpcManager.instance(mock_tsdb_no_plugins); |
| 127 | assertTrue(mgr_under_test.isHttpRpcPluginPath("/plugin/my/http/plugin")); |
| 128 | assertTrue(mgr_under_test.isHttpRpcPluginPath("plugin/my/http/plugin")); |
| 129 | assertTrue(mgr_under_test.isHttpRpcPluginPath("/plugin/my?hey=hi&howdy=ho")); |
| 130 | assertTrue(mgr_under_test.isHttpRpcPluginPath("plugin/my?hey=hi&howdy=ho")); |
| 131 | assertTrue(mgr_under_test.isHttpRpcPluginPath("plugin/my/?hey=hi&howdy=ho")); |
| 132 | } |
| 133 | |
| 134 | @Test |
| 135 | public void isHttpRpcPluginPathInvalid() { |
nothing calls this directly
no test coverage detected