File tree Expand file tree Collapse file tree 4 files changed +84
-8
lines changed
value-object/value-object
main/java/com/iluwatar/value/object
test/java/com/iluwatar/value/object Expand file tree Collapse file tree 4 files changed +84
-8
lines changed Original file line number Diff line number Diff line change 9393 <module >publish-subscribe</module >
9494 <module >delegation</module >
9595 <module >event-driven-architecture</module >
96+ <module >value-object</module >
9697 </modules >
9798
9899 <dependencyManagement >
172173 <build >
173174 <pluginManagement >
174175 <plugins >
175- <!-- This plugin's configuration is used to store Eclipse m2e settings
176- only. It has no influence on the Maven build itself. TODO: Remove when the
176+ <!-- This plugin's configuration is used to store Eclipse m2e settings
177+ only. It has no influence on the Maven build itself. TODO: Remove when the
177178 m2e plugin can correctly bind to Maven lifecycle -->
178179 <plugin >
179180 <groupId >org.eclipse.m2e</groupId >
229230 <groupId >org.jacoco</groupId >
230231 <artifactId >jacoco-maven-plugin</artifactId >
231232 <version >${jacoco.version} </version >
232- <!-- The following exclude configuration was added because error occurred
233+ <!-- The following exclude configuration was added because error occurred
233234 when executing "mvn clean test jacoco:report coveralls:report" -->
234- <!-- [ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:3.1.0:report
235- (default-cli) on project java-design-patterns: I/O operation failed: No source
235+ <!-- [ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:3.1.0:report
236+ (default-cli) on project java-design-patterns: I/O operation failed: No source
236237 found for domainapp/dom/modules/simple/QSimpleObject.java -> [Help 1] -->
237238 <configuration >
238239 <excludes >
327328 <excludeFromFailureFile >exclude-pmd.properties</excludeFromFailureFile >
328329 </configuration >
329330 </execution >
330- </executions >
331- </plugin >
331+ </executions >
332+ </plugin >
332333 </plugins >
333334 </build >
334335
341342 </plugin >
342343 </plugins >
343344 </reporting >
344-
345+
345346</project >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <project
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4+ xmlns=" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
5+ <modelVersion >4.0.0</modelVersion >
6+ <parent >
7+ <groupId >com.iluwatar</groupId >
8+ <artifactId >java-design-patterns</artifactId >
9+ <version >1.10.0-SNAPSHOT</version >
10+ </parent >
11+ <artifactId >value-object</artifactId >
12+ <dependencies >
13+ <dependency >
14+ <groupId >junit</groupId >
15+ <artifactId >junit</artifactId >
16+ <scope >test</scope >
17+ </dependency >
18+ <dependency >
19+ <groupId >org.mockito</groupId >
20+ <artifactId >mockito-core</artifactId >
21+ <scope >test</scope >
22+ </dependency >
23+ </dependencies >
24+ </project >
Original file line number Diff line number Diff line change 1+ package com .iluwatar .value .object ;
2+
3+ /**
4+ * Hello world!
5+ *
6+ */
7+ public class App
8+ {
9+ public static void main ( String [] args )
10+ {
11+ System .out .println ( "Hello World!" );
12+ }
13+ }
Original file line number Diff line number Diff line change 1+ package com .iluwatar .value .object ;
2+
3+ import junit .framework .Test ;
4+ import junit .framework .TestCase ;
5+ import junit .framework .TestSuite ;
6+
7+ /**
8+ * Unit test for simple App.
9+ */
10+ public class AppTest
11+ extends TestCase
12+ {
13+ /**
14+ * Create the test case
15+ *
16+ * @param testName name of the test case
17+ */
18+ public AppTest ( String testName )
19+ {
20+ super ( testName );
21+ }
22+
23+ /**
24+ * @return the suite of tests being tested
25+ */
26+ public static Test suite ()
27+ {
28+ return new TestSuite ( AppTest .class );
29+ }
30+
31+ /**
32+ * Rigourous Test :-)
33+ */
34+ public void testApp ()
35+ {
36+ assertTrue ( true );
37+ }
38+ }
You can’t perform that action at this time.
0 commit comments