Permalink
Browse files

Added copyright to pom.xml

  • Loading branch information...
1 parent ddaf7ba commit c8f1f94d73a2b4e398a87df774cf2480cbe68c51 @horstmeier committed Aug 18, 2013
Showing with 11 additions and 43 deletions.
  1. +9 −1 pom.xml
  2. +0 −38 src/test/java/TFTPServer/AppTest.java
  3. +2 −4 src/test/java/com/horstmeier/java/tftp/TFTPBaseServerTest.java
View
@@ -2,14 +2,22 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<groupId>TFTPServer</groupId>
<artifactId>TFTPServer</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>TFTPServer</name>
<url>http://maven.apache.org</url>
-
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ <comments>A business-friendly OSS license</comments>
+ </license>
+ </licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -1,38 +0,0 @@
-package TFTPServer;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
- }
-}
@@ -1,17 +1,15 @@
package com.horstmeier.java.tftp;
import com.horstmeier.java.tftp.interfaces.IFileNameMapper;
+import junit.framework.TestCase;
import org.apache.commons.net.tftp.TFTPClient;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import java.io.*;
-/**
- * Created by jens on 17.08.13.
- */
-public class TFTPBaseServerTest {
+public class TFTPBaseServerTest extends TestCase {
class TestFileMapperRead implements IFileNameMapper {

0 comments on commit c8f1f94

Please sign in to comment.