Search in sources :

Example 1 with TagType

use of com.google.security.zynamics.binnavi.Tagging.TagType in project binnavi by google.

the class CTagEvaluatorTest method testComplete.

@Test
public void testComplete() {
    final NaviNode node = CNaviNodeFactory.get();
    final TagType type = TagType.NODE_TAG;
    final CTag tag = new CTag(1, "foo", "bar", type, new MockSqlProvider());
    assertFalse(CTagEvaluator.evaluate(node, true, tag));
    assertFalse(CTagEvaluator.evaluate(node, false, tag));
}
Also used : TagType(com.google.security.zynamics.binnavi.Tagging.TagType) MockSqlProvider(com.google.security.zynamics.binnavi.Database.MockClasses.MockSqlProvider) NaviNode(com.google.security.zynamics.binnavi.yfileswrap.zygraph.NaviNode) CTag(com.google.security.zynamics.binnavi.Tagging.CTag) Test(org.junit.Test)

Aggregations

MockSqlProvider (com.google.security.zynamics.binnavi.Database.MockClasses.MockSqlProvider)1 CTag (com.google.security.zynamics.binnavi.Tagging.CTag)1 TagType (com.google.security.zynamics.binnavi.Tagging.TagType)1 NaviNode (com.google.security.zynamics.binnavi.yfileswrap.zygraph.NaviNode)1 Test (org.junit.Test)1