tests
Class TestBase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
tests.TestBase
- All Implemented Interfaces:
- junit.framework.Test
public class TestBase
- extends junit.framework.TestCase
Test class about modele.Base Class.
Tests of Getters and Setters are the most simple.
To test the isBase method, it is done with char used in a normal case
some other codes (R, Y...), gap and some counter-examples.
Tests of isBaseOrGap is tested same as isBase (which is included).
MatchBases(char,char) is tested with all correct combinations and some
uncorrect combinations, the MatchBasesGap(char,char) is tested with
combinations with are not delayed to MatchBases(char,char).
MatchBases(Base,Base) and MatchBasesOrGap(Base,Base) are not tested
because they directly delay to their (char,char) versions and getters which
have been already tested.
- Author:
- Gabriel Chandesris (2008)
- See Also:
modele
Field Summary |
private Base |
basetest
A local instance of Base. |
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 |
basetest
private Base basetest
- A local instance of Base.
TestBase
public TestBase()
setUp
protected void setUp()
throws java.lang.Exception
- At the beginning of the tests, to instanciate a Base Object (and test constructor).
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testEqualsTrue
public void testEqualsTrue()
testEqualsFalseUn
public void testEqualsFalseUn()
testEqualsFalseDe
public void testEqualsFalseDe()
testEqualsFalseTr
public void testEqualsFalseTr()
testGetBase
public void testGetBase()
testGetPosition
public void testGetPosition()
testSetBase
public void testSetBase()
testSetPosition
public void testSetPosition()
testIsBaseA
public void testIsBaseA()
testIsBaseC
public void testIsBaseC()
testIsBaseG
public void testIsBaseG()
testIsBaseT
public void testIsBaseT()
testIsBaseGap
public void testIsBaseGap()
testIsBaseZ
public void testIsBaseZ()
testIsBaseQ
public void testIsBaseQ()
testIsBaseN
public void testIsBaseN()
testIsBaseR
public void testIsBaseR()
testIsBaseY
public void testIsBaseY()
testIsBaseOrGapC
public void testIsBaseOrGapC()
testIsBaseOrGapG
public void testIsBaseOrGapG()
testIsBaseOrGapT
public void testIsBaseOrGapT()
testIsBaseOrGapGap
public void testIsBaseOrGapGap()
testIsBaseOrGapZ
public void testIsBaseOrGapZ()
testIsBaseOrGapQ
public void testIsBaseOrGapQ()
testIsBaseOrGapN
public void testIsBaseOrGapN()
testIsBaseOrGapR
public void testIsBaseOrGapR()
testIsBaseOrGapY
public void testIsBaseOrGapY()
testMatchBasesCharCharAU
public void testMatchBasesCharCharAU()
testMatchBasesCharCharUA
public void testMatchBasesCharCharUA()
testMatchBasesCharCharGC
public void testMatchBasesCharCharGC()
testMatchBasesCharCharCG
public void testMatchBasesCharCharCG()
testMatchBasesCharCharAT
public void testMatchBasesCharCharAT()
testMatchBasesCharCharTA
public void testMatchBasesCharCharTA()
testMatchBasesCharCharGU
public void testMatchBasesCharCharGU()
testMatchBasesCharCharUG
public void testMatchBasesCharCharUG()
testMatchBasesCharCharAG
public void testMatchBasesCharCharAG()
testMatchBasesCharCharGA
public void testMatchBasesCharCharGA()
testMatchBasesCharCharAC
public void testMatchBasesCharCharAC()
testMatchBasesCharCharCA
public void testMatchBasesCharCharCA()
testMatchBasesCharCharCT
public void testMatchBasesCharCharCT()
testMatchBasesCharCharTC
public void testMatchBasesCharCharTC()
testMatchBasesCharCharGT
public void testMatchBasesCharCharGT()
testMatchBasesCharCharTG
public void testMatchBasesCharCharTG()
testMatchBasesCharCharGapGap
public void testMatchBasesCharCharGapGap()
testMatchBasesCharCharAGap
public void testMatchBasesCharCharAGap()
testMatchBasesCharCharCGap
public void testMatchBasesCharCharCGap()
testMatchBasesCharCharGGap
public void testMatchBasesCharCharGGap()
testMatchBasesCharCharTGap
public void testMatchBasesCharCharTGap()
testMatchBasesCharCharGapA
public void testMatchBasesCharCharGapA()
testMatchBasesCharCharGapC
public void testMatchBasesCharCharGapC()
testMatchBasesCharCharGapG
public void testMatchBasesCharCharGapG()
testMatchBasesCharCharGapT
public void testMatchBasesCharCharGapT()
testMatchBasesGapCharCharGapGap
public void testMatchBasesGapCharCharGapGap()
testMatchBasesGapCharCharAGap
public void testMatchBasesGapCharCharAGap()
testMatchBasesGapCharCharCGap
public void testMatchBasesGapCharCharCGap()
testMatchBasesGapCharCharGGap
public void testMatchBasesGapCharCharGGap()
testMatchBasesGapCharCharTGap
public void testMatchBasesGapCharCharTGap()
testMatchBasesGapCharCharUGap
public void testMatchBasesGapCharCharUGap()
testMatchBasesGapCharCharGapA
public void testMatchBasesGapCharCharGapA()
testMatchBasesGapCharCharGapC
public void testMatchBasesGapCharCharGapC()
testMatchBasesGapCharCharGapG
public void testMatchBasesGapCharCharGapG()
testMatchBasesGapCharCharGapT
public void testMatchBasesGapCharCharGapT()
testMatchBasesGapCharCharGapU
public void testMatchBasesGapCharCharGapU()
testScoreBasesGC
public void testScoreBasesGC()
testScoreBasesCG
public void testScoreBasesCG()
testScoreBasesAU
public void testScoreBasesAU()
testScoreBasesUA
public void testScoreBasesUA()
testScoreBasesAT
public void testScoreBasesAT()
testScoreBasesTA
public void testScoreBasesTA()
testScoreBasesGU
public void testScoreBasesGU()
testScoreBasesUG
public void testScoreBasesUG()
testScoreBasesXX
public void testScoreBasesXX()
testScoreBasesGG
public void testScoreBasesGG()
testScoreBasesGT
public void testScoreBasesGT()
testScoreBasesTG
public void testScoreBasesTG()
testScoreBasesGA
public void testScoreBasesGA()
testScoreBasesAG
public void testScoreBasesAG()
testScoreBasesCC
public void testScoreBasesCC()
testScoreBasesAA
public void testScoreBasesAA()
testScoreBasesUU
public void testScoreBasesUU()
testScoreBasesTT
public void testScoreBasesTT()