maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vmas...@apache.org
Subject cvs commit: maven/src/plugins-build/examples/simple-java/src/test/org/apache/maven/examples/simplejava TestSimpleJava.java
Date Wed, 04 Jun 2003 17:26:52 GMT
vmassol     2003/06/04 10:26:52

  Modified:    src/plugins-build/examples/simple-java README.txt
                        project.xml
  Added:       src/plugins-build/examples/simple-java/src/test/org/apache/maven/examples/simplejava
                        TestSimpleJava.java
  Log:
  Added a junit test example to the simple java sample. Hope it has not become too complex
;-)
  
  Revision  Changes    Path
  1.2       +1 -1      maven/src/plugins-build/examples/simple-java/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/examples/simple-java/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt	24 Jan 2003 03:44:34 -0000	1.1
  +++ README.txt	4 Jun 2003 17:26:52 -0000	1.2
  @@ -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
  
  
  
  1.4       +1 -0      maven/src/plugins-build/examples/simple-java/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/examples/simple-java/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	19 Mar 2003 06:18:45 -0000	1.3
  +++ project.xml	4 Jun 2003 17:26:52 -0000	1.4
  @@ -56,6 +56,7 @@
     <!-- build information for the project -->
     <build>
     	<sourceDirectory>src/java</sourceDirectory>
  +    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
     </build>
   
   </project>
  
  
  
  1.1                  maven/src/plugins-build/examples/simple-java/src/test/org/apache/maven/examples/simplejava/TestSimpleJava.java
  
  Index: TestSimpleJava.java
  ===================================================================
  package org.apache.maven.examples.simplejava;
  
  import junit.framework.TestCase;
  
  /**
   * A really simple JUnit test class that tests nothing!
   * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
   */
  public class TestSimpleJava {
      public void testNothing() {
      }
  }
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message