From 8fd8a7000bf8257e51af13e34eb249a86d245755 Mon Sep 17 00:00:00 2001 From: vmassol Date: Wed, 4 Jun 2003 17:26:52 +0000 Subject: [PATCH] Added a junit test example to the simple java sample. Hope it has not become too complex ;-) git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113463 13f79535-47bb-0310-9956-ffa450edef68 --- examples/simple-java/README.txt | 2 +- examples/simple-java/project.xml | 1 + .../maven/examples/simplejava/TestSimpleJava.java | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 examples/simple-java/src/test/org/apache/maven/examples/simplejava/TestSimpleJava.java diff --git a/examples/simple-java/README.txt b/examples/simple-java/README.txt index dec74aad..42ca279f 100644 --- a/examples/simple-java/README.txt +++ b/examples/simple-java/README.txt @@ -1,4 +1,4 @@ -This project is a simple set of java classes. +This project is a simple set of java classes and JUnit test classes. It illustrates what Maven can do for a developer with the addition of a single file - project.xml diff --git a/examples/simple-java/project.xml b/examples/simple-java/project.xml index 98352849..16217a6d 100644 --- a/examples/simple-java/project.xml +++ b/examples/simple-java/project.xml @@ -56,6 +56,7 @@ src/java + src/test diff --git a/examples/simple-java/src/test/org/apache/maven/examples/simplejava/TestSimpleJava.java b/examples/simple-java/src/test/org/apache/maven/examples/simplejava/TestSimpleJava.java new file mode 100644 index 00000000..ad31688b --- /dev/null +++ b/examples/simple-java/src/test/org/apache/maven/examples/simplejava/TestSimpleJava.java @@ -0,0 +1,12 @@ +package org.apache.maven.examples.simplejava; + +import junit.framework.TestCase; + +/** + * A really simple JUnit test class that tests nothing! + * @author Vincent Massol + */ +public class TestSimpleJava { + public void testNothing() { + } +} \ No newline at end of file