Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Bidder Seller JUNIT Command and Parser #151

Merged
merged 5 commits into from
Oct 16, 2020

Conversation

kormingsoon
Copy link

No description provided.

@codecov-io
Copy link

codecov-io commented Oct 14, 2020

Codecov Report

Merging #151 into master will increase coverage by 4.24%.
The diff coverage is 74.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #151      +/-   ##
============================================
+ Coverage     54.85%   59.09%   +4.24%     
- Complexity      783      857      +74     
============================================
  Files           158      161       +3     
  Lines          3019     3068      +49     
  Branches        332      338       +6     
============================================
+ Hits           1656     1813     +157     
+ Misses         1271     1162     -109     
- Partials         92       93       +1     
Impacted Files Coverage Δ Complexity Δ
...main/java/seedu/address/commons/core/Messages.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...rc/main/java/seedu/address/logic/LogicManager.java 54.05% <ø> (-1.21%) 3.00 <0.00> (ø)
...eedu/address/logic/commands/AddMeetingCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...edu/address/logic/commands/ListMeetingCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...logic/commands/property/DeletePropertyCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../seedu/address/logic/parser/AddressBookParser.java 53.33% <0.00%> (-3.81%) 12.00 <0.00> (ø)
...rc/main/java/seedu/address/model/ModelManager.java 71.97% <ø> (+14.01%) 52.00 <0.00> (+10.00)
.../java/seedu/address/model/person/ClientPerson.java 100.00% <ø> (+58.82%) 4.00 <0.00> (-1.00) ⬆️
.../java/seedu/address/model/util/SampleDataUtil.java 6.66% <0.00%> (-0.84%) 1.00 <0.00> (ø)
src/main/java/seedu/address/ui/HelpWindow.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44b8012...1eb2dfb. Read the comment docs.

Copy link

@Marcon2509 Marcon2509 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

this.bidder = bidder;
}

@Override
public CommandResult execute(Model model) throws CommandException {
requireNonNull(model);

if (model.hasPerson(bidder)) {
if (model.hasBidder(bidder)) {
throw new CommandException(MESSAGE_DUPLICATE_PERSON);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very small issue but MESSAGE_DUPLICATE_BIDDER?

@FXML
private void setAutoTab(EntityType entityType) {
TabBar personAndJobTabPane = new TabBar(this.logic);
personAndJobTabPane.setTab(entityType);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming could be better perhaps

@AY2021S1-CS2103-W14-1 AY2021S1-CS2103-W14-1 locked and limited conversation to collaborators Oct 16, 2020
@AY2021S1-CS2103-W14-1 AY2021S1-CS2103-W14-1 unlocked this conversation Oct 16, 2020
@kormingsoon kormingsoon merged commit 1d1fb48 into AY2021S1-CS2103-W14-1:master Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants