jigcell.compare.tests
Class TabTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jigcell.compare.tests.TabTests
All Implemented Interfaces:
junit.framework.Test

public class TabTests
extends junit.framework.TestCase

A collection of tests to exercise basic tab functions.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Constructor Summary
TabTests(java.lang.String name)
          Creates a new system test.
 
Method Summary
static void main(java.lang.String[] args)
          Starts a new test suite run.
static junit.framework.Test suite()
          All of the tests in this test.
 void testAddRow()
          A test for adding rows.
 void testAddRows()
          Test for adding rows.
 void testClear()
          Test for clearing experimental data view.
 void testClearAndNew()
          Test for creating a new experimental data view.
 void testCurrentSource()
          Test for recording the current tab data source.
 void testCurrentSource2()
          Test for clearing the current tab data source.
 void testRemoveRow()
          Test for removing the last row.
 void testRemoveRow2()
          Test for removing a row.
 void testRemoveRows()
          Test for removing a list of rows.
 void testRemoveRows2()
          Test for removing an empty list of rows.
 
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

TabTests

public TabTests(java.lang.String name)
Creates a new system test.

Parameters:
name - Test name
Method Detail

main

public static void main(java.lang.String[] args)
Starts a new test suite run.

Parameters:
args - Program arguments

suite

public static junit.framework.Test suite()
All of the tests in this test.


testAddRow

public void testAddRow()
A test for adding rows.


testAddRows

public void testAddRows()
Test for adding rows.


testClear

public void testClear()
Test for clearing experimental data view.


testClearAndNew

public void testClearAndNew()
Test for creating a new experimental data view.


testCurrentSource

public void testCurrentSource()
Test for recording the current tab data source.


testCurrentSource2

public void testCurrentSource2()
Test for clearing the current tab data source.


testRemoveRow

public void testRemoveRow()
Test for removing the last row.


testRemoveRow2

public void testRemoveRow2()
Test for removing a row.


testRemoveRows

public void testRemoveRows()
Test for removing a list of rows.


testRemoveRows2

public void testRemoveRows2()
Test for removing an empty list of rows.