The basics.
-
Install eclipse and related tools by following the instructions
here,
here and
here.
-
Download the homework files from D2L, as explained
here.
-
Complete the files in the
src
directory
correctly.
-
Upload the homework files to D2L, as explained
here.
Evaluation.
-
Twenty points are available. Ten will be awarded for
successful completion of
VideoObj
and
InventorySet
. Ten will be awarded for
successful completion of the tests.
-
Zero points if your submitted zip file does not
successfully compile using ant.
-
Five point maximum if any test ends in failure or error.
More detail.
-
Over the next few weeks we will develop a simple inventory
control system for a video shop.
-
Your job this week is to complete the basic classes: an
immutable data class and a collection.
-
I suggest you write
VideoObj
and
VideoTEST
first. Make sure all the tests are
written and that they all pass.
-
Then write
InventorySet
and
InventoryTEST
. Get the tests to pass.
-
Note that there is no ``main program''. Just tests!
-
You can view the source code online
here [source].
(Private javadoc)