use of com.google.security.zynamics.binnavi.Tagging.CTagManager in project binnavi by google.
the class PostgreSQLProviderTest method testCTagFunctionsMoveTag3.
@Test(expected = NullPointerException.class)
public void testCTagFunctionsMoveTag3() throws CouldntSaveDataException, CouldntLoadDataException {
final CTagManager tagManager = getProvider().loadTagManager(TagType.VIEW_TAG);
tagManager.addTag(tagManager.getRootTag(), "Node Tag I");
final ITreeNode<CTag> tag1 = tagManager.getRootTag().getChildren().get(0);
PostgreSQLTagFunctions.moveTag((AbstractSQLProvider) getProvider(), tag1, null, null);
}
use of com.google.security.zynamics.binnavi.Tagging.CTagManager in project binnavi by google.
the class PostgreSQLProviderTestSetup method testCreateTag3.
@Test(expected = NullPointerException.class)
public void testCreateTag3() throws CouldntSaveDataException, CouldntLoadDataException {
final CTagManager tagManager = getProvider().loadTagManager(TagType.VIEW_TAG);
getProvider().createTag(tagManager.getRootTag().getObject(), "Tag Name", null, TagType.VIEW_TAG);
}
use of com.google.security.zynamics.binnavi.Tagging.CTagManager in project binnavi by google.
the class PostgreSQLProviderTestSetup method testCreateTag2.
@Test(expected = NullPointerException.class)
public void testCreateTag2() throws CouldntSaveDataException, CouldntLoadDataException {
final CTagManager tagManager = getProvider().loadTagManager(TagType.VIEW_TAG);
getProvider().createTag(tagManager.getRootTag().getObject(), null, "Tag Description", TagType.VIEW_TAG);
}
use of com.google.security.zynamics.binnavi.Tagging.CTagManager in project binnavi by google.
the class PostgreSQLProviderTestSetup method testCreateTag4.
@Test(expected = NullPointerException.class)
public void testCreateTag4() throws CouldntSaveDataException, CouldntLoadDataException {
final CTagManager tagManager = getProvider().loadTagManager(TagType.VIEW_TAG);
getProvider().createTag(tagManager.getRootTag().getObject(), "Tag Name", "Tag Description", null);
}
use of com.google.security.zynamics.binnavi.Tagging.CTagManager in project binnavi by google.
the class PostgreSQLProviderTest method testSetDescription11.
@Test(expected = NullPointerException.class)
public void testSetDescription11() throws CouldntLoadDataException, CouldntSaveDataException {
final CTagManager tagManager = getProvider().loadTagManager(TagType.VIEW_TAG);
final ITreeNode<CTag> tag = tagManager.getRootTag().getChildren().get(0);
getProvider().setDescription(tag.getObject(), null);
}
Aggregations