One of the test case failed while running the test associated with GCAT
Hi,
I was able to successfully compile GCAT. While I ran the test cases one of them failed. I am creating this issue to check if I am not doing any mistake. Otherwise I used `java -jar GCAT.jar with the path to the dataset in my local repository and I could see the html report in the output folder.
Following are the log details: Generating Report...
-------------- Common Tree -------------- ||Level 0|Start Pos:0,0 rectangle:1440,2368 |Level 1|--------Start Pos:0,96 rectangle:1440,2272 |Level 2|----------------Start Pos:0,96 rectangle:1440,553 |Level 3|------------------------Start Pos:0,96 rectangle:1440,224 |Level 4|--------------------------------Start Pos:64,160 rectangle:452,96 |Level 4|--------------------------------Start Pos:1152,144 rectangle:128,128 |Level 4|--------------------------------Start Pos:1280,112 rectangle:160,192 |Level 3|------------------------Start Pos:0,320 rectangle:1440,128 |Level 4|--------------------------------Start Pos:0,320 rectangle:64,128 |Level 4|--------------------------------Start Pos:64,320 rectangle:1024,128 |Level 4|--------------------------------Start Pos:1248,320 rectangle:128,128 |Level 3|------------------------Start Pos:0,448 rectangle:1440,201 |Level 2|----------------Start Pos:0,649 rectangle:1440,1719 |Level 3|------------------------Start Pos:4,801 rectangle:712,398 |Level 3|------------------------Start Pos:724,801 rectangle:712,402 |Level 3|------------------------Start Pos:4,1207 rectangle:712,459 |Level 3|------------------------Start Pos:724,1211 rectangle:712,402 |Level 3|------------------------Start Pos:4,1674 rectangle:712,694 |Level 3|------------------------Start Pos:724,1621 rectangle:712,587 |Level 3|------------------------Start Pos:724,2216 rectangle:712,152
Summary: There were many changes relative to the number of components in this release. These changes made moderate differences to the appearance of the GUI. All of the changes occurred at the top edge of the screen. There were font, text color, text and image changes to components, and a component was moved this release.
List of violation changes:
- The TextView at location (832,448) has changed font.
- The TextView at location (832,448) has changed text color.
- Location Change : the distance between the left edge of the component and the left edge of the screen is 1101 px while it used to be 1088 px.
- The ImageButton at location (1101,320) image has changed color.
- The TextView at location (4,653) has changed font.
- The TextView at location (0,448) has changed font.
- The TextView at location (1189,448) has changed font.
- The TextView at location (397,448) has changed text from 'REACTIONS' to 'VtzAVuWbQ'
- The TextView at location (397,448) has changed text color. -----------Beginning Tests for Giphy 1-11----------- Number of Text Color Violations: 2 expecting: 2 (known extraneous violations) Number of Font Mismatch Violations: 4 expecting: 4 Font mismatching node:[id, ][start position, (832.0,448.0) ][rectangle, (357,201) ][name, ACTIONS] Font mismatching node:[id, com.giphy.messenger:id/gif_grid_header_text][start position, (4.0,653.0) ][rectangle, (1432,140) ][name, The newest, most trending gifs on the interwebs] Font mismatching node:[id, ][start position, (0.0,448.0) ][rectangle, (397,201) ][name, TRENDING] Font mismatching node:[id, ][start position, (1189.0,448.0) ][rectangle, (251,201) ][name, EMOTIONS] Number of Location Change Violations: 1 expecting: 1 Location Change node:[id, com.giphy.messenger:id/search_bar_button][start position, (1101.0,320.0) ][rectangle, (128,128) ][name, ] Location Change : the distance between the left edge of the component and the left edge of the screen is 1101 px while it used to be 1088 px. Number of Text Mismatch Violations: 1 expecting: 1 Number of Missing Component Violations: 0 expecting: 0 Number of Extra Component Violations: 0 expecting: 0 Number of Color Mismatch Violations: 0 expecting: 0 Number of Image Difference Violations: 1 expecting: 0 Image Different node:[id, com.giphy.messenger:id/search_bar_button][start position, (1101.0,320.0) ][rectangle, (128,128) ][name, ] Number of Component Size Violations: 0 expecting: 0 Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.961 sec <<< FAILURE! testTextColorViolationQuantity(acceptancetests.giphy.Test1_11) Time elapsed: 0.003 sec <<< FAILURE! java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at acceptancetests.giphy.Test1_11.testTextColorViolationQuantity(Test1_11.java:145) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)