Package org.apache.clerezza.platform.typerendering

Examples of org.apache.clerezza.platform.typerendering.UserContextProvider


  }

  @Test
  public void checkMenu() throws Exception {
    Assert.assertTrue(webServerExist);
    UserContextProvider contextProvider = (UserContextProvider)
        waitFor(UserContextProvider.class, 300000);
    Assert.assertTrue(contextProvider != null);
    GraphNode node = new GraphNode(new BNode(), new SimpleMGraph());
    contextProvider.addUserContext(node);
    Iterator<Resource> iter = node.getObjects(GLOBALMENU.globalMenu);
    Assert.assertTrue(iter.hasNext());
    TripleCollection graph = node.getGraph();
    RdfList list = new RdfList((NonLiteral)iter.next(), graph);
    Assert.assertEquals(3, list.size());
View Full Code Here

TOP

Related Classes of org.apache.clerezza.platform.typerendering.UserContextProvider

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.