|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.uci.ics.inf111.dvdvendor.app.DVDTest
public class DVDTest
This class contains JUnit test cases for DVD.java.
Field Summary | |
---|---|
(package private) BarCode |
differentBarCode
|
(package private) java.lang.String |
differentCode
|
(package private) DVD |
differentDVD
|
(package private) Utils.genre[] |
differentGenre
|
(package private) java.lang.String |
differentPlot
|
(package private) double |
differentPrice
|
(package private) java.lang.String |
differentRunningTime
|
(package private) java.lang.String |
differentStarring
|
(package private) java.lang.String |
differentTitle
|
(package private) BarCode |
firstBarCode
|
(package private) java.lang.String |
firstCode
|
(package private) DVD |
firstDVD
|
(package private) Utils.genre[] |
firstGenre
|
(package private) java.lang.String |
firstPlot
|
(package private) double |
firstPrice
|
(package private) java.lang.String |
firstRunningTime
|
(package private) java.lang.String |
firstStarring
|
(package private) java.lang.String |
firstTitle
|
Constructor Summary | |
---|---|
DVDTest(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
setUp()
Initialize variables per each test method |
protected void |
tearDown()
Free variables per each test method |
void |
testGetBarCode()
This method will test the getBarCode method. |
void |
testGetGenre()
This method will test the getGenre method. |
void |
testGetPlot()
This method will test the getPlot method. |
void |
testGetPrice()
This method will test the getPrice method. |
void |
testGetRunningTime()
This method will test the getRunningTime method. |
void |
testGetStarring()
This method will test the getStarring method. |
void |
testGetTitle()
This method will test the getTitle method. |
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
DVD firstDVD
DVD differentDVD
BarCode firstBarCode
BarCode differentBarCode
java.lang.String firstCode
java.lang.String firstTitle
java.lang.String firstPlot
java.lang.String firstRunningTime
java.lang.String firstStarring
java.lang.String differentCode
java.lang.String differentTitle
java.lang.String differentPlot
java.lang.String differentRunningTime
java.lang.String differentStarring
double firstPrice
double differentPrice
Utils.genre[] firstGenre
Utils.genre[] differentGenre
Constructor Detail |
---|
public DVDTest(java.lang.String name)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testGetBarCode()
public void testGetPrice()
public void testGetTitle()
public void testGetPlot()
public void testGetGenre()
public void testGetRunningTime()
public void testGetStarring()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |