This repo is the base codes of the ClassProject of 2023Spring CSCI485.
You need to copy and paste the code of Part 1 to this project.
Your codes need to be put under src/CSCI485ClassProject/
and its subdirectories.
Once finished, you can verify it by running the unit test of Part1.
lib
: the dependencies of the projectsrc
: the source codes of the projectCSCI485ClassProject
: root package of the projectmodels
: package storing some defined representations of models in the database.test
: package for unit tests
Under src/CSCI485ClassProject
, there are 2 classes to finish:
Cursor
:Cursor
implementationRecordsImpl
: implementation of an interface classRecords
If you are developing in macOS/Linux
environment(recommended), we provide Makefile
for you to run tests quickly.
To run tests of part1, use command
make part1Test
To run tests of part2, use command
make part2Test
As you may have different project structures, Makefile may not work in your implementation. In this case, you can change the sources
variable in Makefile by adding the name of the java files you created to it.
Note that the order of the file should align with the class dependency relationship, i.e. class A
imports B
, then B.java
should be in front of A.java
in sources
.