suvi.api.alg.attr
Class GraphLayoutAttrsTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--suvi.api.alg.attr.GraphLayoutAttrsTest
All Implemented Interfaces:
GraphLayoutAttrClassesConstants, junit.framework.Test

public class GraphLayoutAttrsTest
extends junit.framework.TestCase
implements GraphLayoutAttrClassesConstants

A [JUnit] test for GraphLayoutAttrs.


Field Summary
 
Fields inherited from interface suvi.api.alg.attr.GraphLayoutAttrClassesConstants
ATTRS
 
Constructor Summary
GraphLayoutAttrsTest()
           
 
Method Summary
 void testAttrClasses()
          Tests the GraphLayoutAttrs.attrClasses(suvi.api.alg.attr.GraphLayoutAttr)-method, making sure that the method returns all the interfaces.
 void testUniqueGlobalKeys()
          Tests that all the known, global, attribute keys are unique.
 void testUniqueKeys()
          Tests that all the known, non-global, attribute keys are unique.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphLayoutAttrsTest

public GraphLayoutAttrsTest()
Method Detail

testAttrClasses

public void testAttrClasses()

Tests the GraphLayoutAttrs.attrClasses(suvi.api.alg.attr.GraphLayoutAttr)-method, making sure that the method returns all the interfaces.


testUniqueKeys

public void testUniqueKeys()

Tests that all the known, non-global, attribute keys are unique.


testUniqueGlobalKeys

public void testUniqueGlobalKeys()

Tests that all the known, global, attribute keys are unique.