Java代写 | CSSE2002/7023 — Semester 1, 2021 Assignment 1

本次Java代写是根据Javadoc完成实现类并用junit进行单元测试

CSSE2002/7023 — Semester 1, 2021
Assignment 1

Tasks
1. Fully implement each of the classes and interfaces described in the Javadoc.
2. Write JUnit 4 tests for all the methods in the following classes:
ˆ Gate (in a class called GateTest)
ˆ TaskList (in a class called TaskListTest)
Conformance
Conformance is marked starting with a mark of 10.
Every single occurrence of a conformance violation in your solution then results in a 1 mark deduction, down to a minimum of 0. Note that multiple conformance violations of the same type
will each result in a 1 mark deduction.
Conformance violations include (but are not limited to):
ˆ Placing files in incorrect directories.
ˆ Incorrect package declarations at the top of files.
ˆ Using modifiers on classes, methods and member variables that are different to those specified
in the Javadoc. Modifiers include private, protected, public, abstract, final, and
static. For example, declaring a method as public when it should be private.
ˆ Adding extra public methods, constructors, member variables or classes that are not described in the Javadoc.
ˆ Incorrect parameters and exceptions declared as thrown for constructors.
ˆ Incorrect parameters, return type and exceptions declared as thrown for methods.
ˆ Incorrect types of public fields
JUnit Test Marking
See Appendix B for more details.
The JUnit tests that you provide in GateTest and TaskListTest will be used to test both correct
5
and incorrect implementations of the Gate and TaskList classes. Marks will be awarded for test
sets which distinguish between correct and incorrect implementations5
. A test class which passes
every implementation (or fails every implementation) will likely get a low mark. Marks will be
rewarded for tests which pass or fail correctly.
There will be some limitations on your tests:
1. If your tests take more than 20 seconds to run, or
2. If your tests consume more memory than is reasonable or are otherwise malicious,
then your tests will be stopped and a mark of zero given. These limits are very generous (e.g. your
tests should not take anywhere near 20 seconds to run).
Electronic Marking
The electronic aspects of the marking will be carried out in a Linux environment. The environment
will not be running Windows, and neither IntelliJ nor Eclipse (or any other IDE) will be involved.
OpenJDK 11 will be used to compile and execute your code and tests.
It is critical that your code compiles.
If your submission does not compile, you will receive zero for Functionality (FT)


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


blank

本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: itcsdx@outlook.com  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论