updated pom to testng sound
authorAnton Epple <toni.epple@eppleton.de>
Mon, 27 May 2013 16:36:26 +0200
branchsound
changeset 106877f18756b74
parent 105 c6c16603206c
child 107 8b55cc88621f
updated pom to testng
sound/pom.xml
sound/src/main/java/net/java/html/sound/App.java
sound/src/test/java/net/java/html/sound/AppTest.java
     1.1 --- a/sound/pom.xml	Mon May 27 16:29:15 2013 +0200
     1.2 +++ b/sound/pom.xml	Mon May 27 16:36:26 2013 +0200
     1.3 @@ -1,26 +1,37 @@
     1.4  <?xml version="1.0"?>
     1.5  <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
     1.6 -    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     1.7 -  <modelVersion>4.0.0</modelVersion>
     1.8 -  <parent>
     1.9 -    <groupId>org.apidesign</groupId>
    1.10 -    <artifactId>html</artifactId>
    1.11 -    <version>0.4-SNAPSHOT</version>
    1.12 -  </parent>
    1.13 -  <groupId>net.java.html</groupId>
    1.14 -  <artifactId>sound</artifactId>
    1.15 -  <version>1.0-SNAPSHOT</version>
    1.16 -  <name>sound</name>
    1.17 -  <url>http://maven.apache.org</url>
    1.18 -  <properties>
    1.19 -    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.20 -  </properties>
    1.21 -  <dependencies>
    1.22 -    <dependency>
    1.23 -      <groupId>junit</groupId>
    1.24 -      <artifactId>junit</artifactId>
    1.25 -      <version>3.8.1</version>
    1.26 -      <scope>test</scope>
    1.27 -    </dependency>
    1.28 -  </dependencies>
    1.29 +         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    1.30 +    <modelVersion>4.0.0</modelVersion>
    1.31 +    <parent>
    1.32 +        <groupId>org.apidesign</groupId>
    1.33 +        <artifactId>html</artifactId>
    1.34 +        <version>0.4-SNAPSHOT</version>
    1.35 +    </parent>
    1.36 +    <groupId>net.java.html</groupId>
    1.37 +    <artifactId>sound</artifactId>
    1.38 +    <version>1.0-SNAPSHOT</version>
    1.39 +    <name>Sound API for Java</name>
    1.40 +    <url>http://maven.apache.org</url>
    1.41 +    <properties>
    1.42 +        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.43 +    </properties>
    1.44 +    <build>
    1.45 +        <plugins>
    1.46 +            <plugin>
    1.47 +                <groupId>org.apache.maven.plugins</groupId>
    1.48 +                <artifactId>maven-javadoc-plugin</artifactId>
    1.49 +                <configuration>
    1.50 +                    <skip>false</skip>
    1.51 +                </configuration>
    1.52 +            </plugin>
    1.53 +        </plugins>
    1.54 +    </build>
    1.55 +    <dependencies>
    1.56 +        <dependency>
    1.57 +            <groupId>org.testng</groupId>
    1.58 +            <artifactId>testng</artifactId>
    1.59 +            <version>6.5.2</version>
    1.60 +            <scope>test</scope>
    1.61 +        </dependency>
    1.62 +    </dependencies>
    1.63  </project>
     2.1 --- a/sound/src/main/java/net/java/html/sound/App.java	Mon May 27 16:29:15 2013 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,13 +0,0 @@
     2.4 -package net.java.html.sound;
     2.5 -
     2.6 -/**
     2.7 - * Hello world!
     2.8 - *
     2.9 - */
    2.10 -public class App 
    2.11 -{
    2.12 -    public static void main( String[] args )
    2.13 -    {
    2.14 -        System.out.println( "Hello World!" );
    2.15 -    }
    2.16 -}
     3.1 --- a/sound/src/test/java/net/java/html/sound/AppTest.java	Mon May 27 16:29:15 2013 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,38 +0,0 @@
     3.4 -package net.java.html.sound;
     3.5 -
     3.6 -import junit.framework.Test;
     3.7 -import junit.framework.TestCase;
     3.8 -import junit.framework.TestSuite;
     3.9 -
    3.10 -/**
    3.11 - * Unit test for simple App.
    3.12 - */
    3.13 -public class AppTest 
    3.14 -    extends TestCase
    3.15 -{
    3.16 -    /**
    3.17 -     * Create the test case
    3.18 -     *
    3.19 -     * @param testName name of the test case
    3.20 -     */
    3.21 -    public AppTest( String testName )
    3.22 -    {
    3.23 -        super( testName );
    3.24 -    }
    3.25 -
    3.26 -    /**
    3.27 -     * @return the suite of tests being tested
    3.28 -     */
    3.29 -    public static Test suite()
    3.30 -    {
    3.31 -        return new TestSuite( AppTest.class );
    3.32 -    }
    3.33 -
    3.34 -    /**
    3.35 -     * Rigourous Test :-)
    3.36 -     */
    3.37 -    public void testApp()
    3.38 -    {
    3.39 -        assertTrue( true );
    3.40 -    }
    3.41 -}