Package org.jboss.cache.aop.test

Examples of org.jboss.cache.aop.test.TestNode


      pm_.addNode("root", "kanto");
      pm_.addNode("root.kanto", "tokyo");
      pm_.addNode("root.kanto", "yakahoma");
      pm_.addNode("root.kanto.tokyo", "handanshita");

      TestNode kanto = pm_.findNode("root.kanto");
      TestNode yakahoma = pm_.findNode("root.kanto.yakahoma");
      TestNode hadanshita = pm_.findNode("root.kanto.tokyo.handanshita");

      pm_ = new NodeManager();
      pm_.setRootNode("rt");
      pm_.addNode("rt", "test");
      TestNode test = pm_.findNode("rt.test");

//      cache_.putObject("/pm", pm_);

      assertTrue("Hadanshita should be reachable from Kanto ", ObjectUtil.isReachable(cache_, kanto, hadanshita));
      assertTrue("Hadanshita should also be reachable from Yakahoma! ", ObjectUtil.isReachable(cache_, yakahoma, hadanshita));
View Full Code Here

TOP

Related Classes of org.jboss.cache.aop.test.TestNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.