ImmutableTreeTest.testHiddenExists , confusion.

2015-06-03 Thread Ian Boston
Hi, I am confused how hidden trees work in MutableTree and ImmutableTree. The ImmutableTreeTesttestHiddenExists asserts that a hidden node from an ImmutableTree will return true() to exists, and yet the same node from a MuttableTree is hard coded to return false to exists(). Is this correct ? I

Re: ImmutableTreeTest.testHiddenExists , confusion.

2015-06-03 Thread Angela Schreiber
hi ian here is my take on it: - the ImmutableTree is just a tiny wrapper around the regular non-secured Nodestate for the sake of allowing to make use of the hierarchy operations that are missing in the NodeState interface. those immutable (read-only) trees are meant to be used for oak

Re: ImmutableTreeTest.testHiddenExists , confusion.

2015-06-04 Thread Ian Boston
Hi, Thanks for the clarification. If ImmutableTree is not exposed the Unit test makes sense. I have fixed my modified code, the test passes. Only a few more to go. Best Regards Ian On 3 June 2015 at 12:43, Angela Schreiber wrote: > hi ian > > here is my take on it: > > - the ImmutableTree is