Skip to content

Commit

Permalink
add issue comment
Browse files Browse the repository at this point in the history
//CS304 Issue link: romankh3#199
  • Loading branch information
scp-WFZ committed May 29, 2022
1 parent e701ad1 commit 382ca08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
</execution>
</executions>
</plugin>
<!-- CS304 (manually written) Issue link: https://github.com/romankh3/image-comparison/issues/199 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import com.github.romankh3.image.comparison.model.*;
import org.apache.commons.cli.*;

import java.awt.image.BufferedImage;
import java.io.File;

//CS304 Issue link: https://github.com/romankh3/image-comparison/issues/199
public class client {
static String helpMessage = "Usage: java -jar image-comparison-4.4.0.jar [-e] <image_path1> [-a] <image_path2> [-o] <image_path3>\n"+
"Options:\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@DisplayName("Unit-level testing for {@link ImageComparison} object.")
public class ImageComparisonUnitTest {

//CS304 (manually written) Issue link: https://github.com/romankh3/image-comparison/issues/199
@DisplayName("For issue#199, test the '-e' and '-a' arguments")
@Test
public void testCLI1() throws Exception {
Expand All @@ -38,6 +39,7 @@ public void testCLI1() throws Exception {
assertEquals(MISMATCH, imageComparisonResult.getImageComparisonState());
}

//CS304 (manually written) Issue link: https://github.com/romankh3/image-comparison/issues/199
@DisplayName("For issue#199, test the '-o' argument")
@Test
public void tesCLI2() {
Expand Down

0 comments on commit 382ca08

Please sign in to comment.