|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--canguru.CanguruTest
Unit Test para o Canguru
Canguru
,
TestCase
Field Summary | |
private java.lang.Boolean |
_boolean
|
private java.lang.Byte |
_byte
|
private char |
_char
|
private java.lang.Character |
_character
|
private java.util.Date |
_date
|
private java.lang.Double |
_double
|
private java.lang.Float |
_float
|
private int |
_int
|
private java.lang.Integer |
_integer
|
private java.lang.Long |
_long
|
private boolean |
_pBoolean
|
private byte |
_pByte
|
private double |
_pDouble
|
private float |
_pFloat
|
private long |
_pLong
|
private short |
_pShort
|
private java.lang.Short |
_short
|
private java.lang.String |
_string
|
private java.lang.String[] |
_stringA
|
private Canguru |
canguru
|
private MixurucaEnhanced |
m0
|
private MixurucaEnhanced |
m1
|
private MixurucaEnhanced |
m2
|
private MixurucaEnhanced |
m3
|
private java.lang.StringBuffer |
stringBuffer
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
CanguruTest(java.lang.String arg0)
Construtor do CanguruTest. |
Method Summary | |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAddFilter()
Testa adição de filtros para recuperação de dados. |
void |
testAddRemove()
Testa adição e remoção de objetos da collection. |
void |
testFilter()
Testa utilização de filtros para recuperação de dados. |
void |
testNotNull()
Testa autilização de valores direferentes de null nos objetos guardados. |
void |
testNull()
Testa a utilização de null nos objetos guardados. |
void |
testReferences()
Testa a integridade das referências dos objetos salvos e recuperados. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
private float _pFloat
private long _pLong
private double _pDouble
private byte _pByte
private char _char
private int _int
private short _pShort
private boolean _pBoolean
private java.lang.String[] _stringA
private Canguru canguru
private MixurucaEnhanced m0
private MixurucaEnhanced m1
private MixurucaEnhanced m2
private MixurucaEnhanced m3
private java.lang.Boolean _boolean
private java.lang.Byte _byte
private java.lang.Character _character
private java.util.Date _date
private java.lang.Double _double
private java.lang.Float _float
private java.lang.Integer _integer
private java.lang.Long _long
private java.lang.Short _short
private java.lang.String _string
private java.lang.StringBuffer stringBuffer
Constructor Detail |
public CanguruTest(java.lang.String arg0)
arg0
- Method Detail |
public static void main(java.lang.String[] args)
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public final void testNull() throws IOException, java.io.IOException, java.lang.ClassNotFoundException, java.sql.SQLException, BeanManipulationException, CanguruInitializationException
null
nos objetos guardados.
IOException
java.io.IOException
java.lang.ClassNotFoundException
java.sql.SQLException
BeanManipulationException
CanguruInitializationException
public final void testNotNull() throws IOException, java.io.IOException, java.lang.ClassNotFoundException, java.sql.SQLException, BeanManipulationException, CanguruInitializationException
null
nos objetos guardados.
IOException
java.io.IOException
java.lang.ClassNotFoundException
java.sql.SQLException
BeanManipulationException
CanguruInitializationException
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public final void testAddRemove() throws IOException, java.io.IOException, java.lang.ClassNotFoundException, java.sql.SQLException, BeanManipulationException
IOException
java.io.IOException
java.lang.ClassNotFoundException
java.sql.SQLException
BeanManipulationException
public final void testAddFilter() throws AttributeDefinitionNotFoundException, InvalidNameException, InvalidAttributeException, FilterException, IOException, java.io.IOException, java.lang.ClassNotFoundException, java.sql.SQLException, BeanManipulationException
AttributeDefinitionNotFoundException
InvalidNameException
InvalidAttributeException
FilterException
IOException
java.io.IOException
java.lang.ClassNotFoundException
java.sql.SQLException
BeanManipulationException
public final void testFilter() throws java.lang.ClassNotFoundException, java.sql.SQLException, java.io.IOException, IOException, AttributeDefinitionNotFoundException, InvalidNameException, InvalidAttributeException, FilterException
java.lang.ClassNotFoundException
java.sql.SQLException
java.io.IOException
IOException
AttributeDefinitionNotFoundException
InvalidNameException
InvalidAttributeException
FilterException
public final void testReferences() throws IOException, java.io.IOException, java.lang.ClassNotFoundException, java.sql.SQLException, BeanManipulationException
IOException
java.io.IOException
java.lang.ClassNotFoundException
java.sql.SQLException
BeanManipulationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |