File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
src/test/java/liquidjava/rj_language Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 3939 </configuration >
4040 </plugin >
4141 <plugin >
42+ <groupId >org.jacoco</groupId >
43+ <artifactId >jacoco-maven-plugin</artifactId >
44+ <version >0.8.14</version >
45+ <executions >
46+ <execution >
47+ <id >default-prepare-agent</id >
48+ <goals >
49+ <goal >prepare-agent</goal >
50+ </goals >
51+ </execution >
52+ <execution >
53+ <id >default-report</id >
54+ <goals >
55+ <goal >report</goal >
56+ </goals >
57+ </execution >
58+ <execution >
59+ <id >default-check</id >
60+ <goals >
61+ <goal >check</goal >
62+ </goals >
63+ <configuration >
64+ <rules >
65+ <rule >
66+ <element >BUNDLE</element >
67+ <limits >
68+ <limit >
69+ <counter >COMPLEXITY</counter >
70+ <value >COVEREDRATIO</value >
71+ <minimum >0.60</minimum >
72+ </limit >
73+ </limits >
74+ </rule >
75+ </rules >
76+ </configuration >
77+ </execution >
78+ </executions >
79+ </plugin >
80+ <plugin >
4281 <groupId >org.apache.maven.plugins</groupId >
4382 <artifactId >maven-compiler-plugin</artifactId >
4483 <version >${pVersion.compiler} </version >
Original file line number Diff line number Diff line change 1+
2+ package liquidjava .rj_language ;
3+
4+ import static org .junit .Assert .assertNotEquals ;
5+ import org .junit .Test ;
6+ import liquidjava .rj_language .ast .LiteralString ;
7+
8+ public class TestLiteralString {
9+ @ Test
10+ public void testLiteralString () {
11+ LiteralString s1 = new LiteralString ("hello" );
12+ LiteralString s2 = new LiteralString ("world" );
13+ assertNotEquals (s1 .hashCode (), s2 .hashCode ());
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments