Skip to content

Commit

Permalink
Fix travis checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
rafflesandrison committed Apr 13, 2019
1 parent 0022c90 commit b930aa0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 11 deletions.
46 changes: 40 additions & 6 deletions src/test/java/guitests/guihandles/BrowserPanelHandle.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,47 @@ public BrowserPanelHandle(Node browserPanelNode) {
prevStatus = BrowserPanel.DEFAULT_STATUS_LABEL;
prevUsageCount = BrowserPanel.DEFAULT_USAGE_COUNT_LABEL;
}
/**
* Get the image.
*/
public Image getImage() {
return imageView.getImage();
}

/**
* Get the apparel name.
*/
public String getName() {
return nameLabel.getText();
}

/**
* Get the clothing type for the apparel.
*/
public String getClothingType() {
return clothingTypeLabel.getText();
}

public Image getImage() { return imageView.getImage(); }
public String getName() { return nameLabel.getText(); }
public String getClothingType() { return clothingTypeLabel.getText(); }
public String getColor() { return colorLabel.getText(); }
public String getStatus() { return statusLabel.getText(); }
public String getUsageCount() { return usageCountLabel.getText(); }
/**
* Get the color of the apparel.
*/
public String getColor() {
return colorLabel.getText();
}

/**
* Get the status of the apparel.
*/
public String getStatus() {
return statusLabel.getText();
}

/**
* Get the usage count for the apparel.
*/
public String getUsageCount() {
return usageCountLabel.getText();
}

/**
* Remember the state of the selected apparel
Expand Down
5 changes: 0 additions & 5 deletions src/test/java/seedu/address/ui/BrowserPanelTest.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
package seedu.address.ui;

import static guitests.guihandles.WebViewUtil.waitUntilBrowserLoaded;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static seedu.address.testutil.TypicalApparels.SHIRT1;

import java.net.URL;

import org.junit.Before;
import org.junit.Test;
Expand Down

0 comments on commit b930aa0

Please sign in to comment.