test_class.declarator: testdataDirectory = "nav2"
test_class.modifier: private final static
test_class.original_string: private final static String testdataDirectory = "nav2";
test_class.type: String
test_class.var_name: testdataDirectory
test_class.file: ontopia-navigator/src/test/java/net/ontopia/topicmaps/nav2/portlets/pojos/MenuTest.java
test_class.identifier: MenuTest
test_case.body: @Test
    public void testErrorMenu() throws IOException {
      // initialize
      TopicMapIF tm = load("error-menu.ltm");
      TopicIF topic = getTopicById(tm, "menu1");
      Assert.assertTrue("menu topic not found",
                 topic != null);
  
      // test menu
      try {
        Menu menu = new Menu(topic);
        menu.getChildren();
        Assert.fail("menu with invalid condition queries was accepted");
      } catch (OntopiaRuntimeException e) {
        // we should get this exception, because the menu has an invalid
        // condition query in it
      }
    }
test_case.class_method_signature: MenuTest.testErrorMenu()
test_case.full_signature: @Test public void testErrorMenu()
test_case.identifier: testErrorMenu
test_case.invocations: load getTopicById assertTrue getChildren fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testErrorMenu()
focal_class.declarator: topic
focal_class.modifier: private
focal_class.original_string: private TopicIF topic;
focal_class.type: TopicIF
focal_class.var_name: topic
focal_class.declarator: owner
focal_class.modifier: private
focal_class.original_string: private TopicIF owner;
focal_class.type: TopicIF
focal_class.var_name: owner
focal_class.file: ontopia-navigator/src/main/java/net/ontopia/topicmaps/nav2/portlets/pojos/Menu.java
focal_class.identifier: Menu
focal_class.class_method_signature: Menu.Menu(TopicIF topic)
focal_class.full_signature: public  Menu(TopicIF topic)
focal_class.identifier: Menu
focal_class.modifiers: public
focal_class.parameters: (TopicIF topic)
focal_class.signature:  Menu(TopicIF topic)
focal_class.class_method_signature: Menu.getTitle()
focal_class.full_signature: public String getTitle()
focal_class.identifier: getTitle
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTitle()
focal_class.class_method_signature: Menu.getTopic()
focal_class.full_signature: public TopicIF getTopic()
focal_class.identifier: getTopic
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TopicIF
focal_class.signature: TopicIF getTopic()
focal_class.class_method_signature: Menu.getOwner()
focal_class.full_signature: public TopicIF getOwner()
focal_class.identifier: getOwner
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TopicIF
focal_class.signature: TopicIF getOwner()
focal_class.class_method_signature: Menu.getChildren()
focal_class.full_signature: public List getChildren()
focal_class.identifier: getChildren
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List
focal_class.signature: List getChildren()
focal_class.class_method_signature: Menu.getHasChildren()
focal_class.full_signature: public boolean getHasChildren()
focal_class.identifier: getHasChildren
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getHasChildren()
focal_class.class_method_signature: Menu.setTitle(String title)
focal_class.full_signature: public void setTitle(String title)
focal_class.identifier: setTitle
focal_class.modifiers: public
focal_class.parameters: (String title)
focal_class.return: void
focal_class.signature: void setTitle(String title)
focal_class.class_method_signature: Menu.setOwner(TopicIF owner)
focal_class.full_signature: public void setOwner(TopicIF owner)
focal_class.identifier: setOwner
focal_class.modifiers: public
focal_class.parameters: (TopicIF owner)
focal_class.return: void
focal_class.signature: void setOwner(TopicIF owner)
focal_class.class_method_signature: Menu.createHeading(String title)
focal_class.full_signature: public Heading createHeading(String title)
focal_class.identifier: createHeading
focal_class.modifiers: public
focal_class.parameters: (String title)
focal_class.return: Heading
focal_class.signature: Heading createHeading(String title)
focal_class.class_method_signature: Menu.createItem(String title)
focal_class.full_signature: public Item createItem(String title)
focal_class.identifier: createItem
focal_class.modifiers: public
focal_class.parameters: (String title)
focal_class.return: Item
focal_class.signature: Item createItem(String title)
focal_class.class_method_signature: Menu.delete()
focal_class.full_signature: public void delete()
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void delete()
focal_class.class_method_signature: Menu.buildHeading(TopicIF topic)
focal_class.full_signature: private static Heading buildHeading(TopicIF topic)
focal_class.identifier: buildHeading
focal_class.modifiers: private static
focal_class.parameters: (TopicIF topic)
focal_class.return: Heading
focal_class.signature: Heading buildHeading(TopicIF topic)
focal_class.class_method_signature: Menu.buildItem(TopicIF topic)
focal_class.full_signature: private static Item buildItem(TopicIF topic)
focal_class.identifier: buildItem
focal_class.modifiers: private static
focal_class.parameters: (TopicIF topic)
focal_class.return: Item
focal_class.signature: Item buildItem(TopicIF topic)
focal_class.class_method_signature: Menu.buildChildren(TopicIF topic)
focal_class.full_signature: private static List buildChildren(TopicIF topic)
focal_class.identifier: buildChildren
focal_class.modifiers: private static
focal_class.parameters: (TopicIF topic)
focal_class.return: List
focal_class.signature: List buildChildren(TopicIF topic)
focal_method.body: public List getChildren() {
      return buildChildren(topic);
    }
focal_method.class_method_signature: Menu.getChildren()
focal_method.full_signature: public List getChildren()
focal_method.identifier: getChildren
focal_method.invocations: buildChildren
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List
focal_method.signature: List getChildren()