Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.modama.gui.viewer.lookuptable
Class LUTPropertysTest  view LUTPropertysTest download LUTPropertysTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.modama.gui.viewer.lookuptable.LUTPropertysTest
All Implemented Interfaces:
junit.framework.Test

public class LUTPropertysTest
extends junit.framework.TestCase

test for the LUTProperties


Field Summary
(package private)  LUTProperties lut
           
(package private)  Spot[] s
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
LUTPropertysTest(java.lang.String s)
           
 
Method Summary
private  void assertCalcColor()
           
protected  java.awt.Color getMixColor(java.awt.Color c1, java.awt.Color c2)
           
protected  void setUp()
          create the lut, add spots
 void testColors()
          test the calculation of colors
 void testMove()
          test the moving of the spots
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

lut

LUTProperties lut

s

Spot[] s
Constructor Detail

LUTPropertysTest

public LUTPropertysTest(java.lang.String s)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
create the lut, add spots


testColors

public void testColors()
test the calculation of colors


assertCalcColor

private void assertCalcColor()

getMixColor

protected java.awt.Color getMixColor(java.awt.Color c1,
                                     java.awt.Color c2)

testMove

public void testMove()
test the moving of the spots