|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
cz.muni.fi.pb162.school.StudentCatalogTest
public class StudentCatalogTest
Testovací třída pro katalog studentů
Field Summary | |
---|---|
static String |
ENCODING
|
Constructor Summary | |
---|---|
StudentCatalogTest(String testName)
|
Method Summary | |
---|---|
static void |
main(String[] args)
|
static junit.framework.Test |
suite()
|
void |
testBadDataEmptyLine()
|
void |
testBadDataInvalidNumber()
|
void |
testBadDataNoName()
|
void |
testClear()
|
void |
testLoad()
|
void |
testLoadIOError()
|
void |
testNewStudent()
|
void |
testReadOnlyStudentsCollection()
|
void |
testSave()
|
void |
testSaveIOError()
|
void |
testStudentEquals()
|
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 |
Field Detail |
---|
public static final String ENCODING
Constructor Detail |
---|
public StudentCatalogTest(String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testStudentEquals()
public void testNewStudent()
public void testLoad() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testSave() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testBadDataEmptyLine() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testBadDataNoName() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testBadDataInvalidNumber() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testReadOnlyStudentsCollection() throws IOException, StudentCatalogException
IOException
StudentCatalogException
public void testClear()
public void testLoadIOError()
public void testSaveIOError()
public static void main(String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |