Closes #969 Closes #968 Add registered types test
This PR follows on from #968 It adds 2 commits. The first adds tests for the functionality fixed in #968 The second changes the logic in #968 in a way that I think is equivalent but I haven't managed to add the requisite test coverage to prove this. Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/e040f074 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/e040f074 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/e040f074 Branch: refs/heads/master Commit: e040f074f71ef12c4f0798ea6f28850ddc1c0f81 Parents: baad0c0 1962b04 Author: Geoff Macartney <geoff.macart...@cloudsoftcorp.com> Authored: Fri Jun 15 09:44:39 2018 +0100 Committer: Geoff Macartney <geoff.macart...@cloudsoftcorp.com> Committed: Fri Jun 15 09:45:21 2018 +0100 ---------------------------------------------------------------------- .../brooklyn/core/typereg/RegisteredTypes.java | 49 +++++++- .../core/typereg/RegisteredTypesTest.java | 124 +++++++++++++++++++ 2 files changed, 169 insertions(+), 4 deletions(-) ----------------------------------------------------------------------