Skip to content

Commit

Permalink
prj maven
Browse files Browse the repository at this point in the history
  • Loading branch information
relson committed Aug 19, 2024
1 parent a9c286e commit f4edae3
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/JConsoleUtils/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>JConsoleUtils</groupId>
<artifactId>JConsoleUtils</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
13 changes: 13 additions & 0 deletions src/JConsoleUtils/src/main/java/info/relson/JConsoleUtils/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package info.relson.JConsoleUtils;

/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package info.relson.JConsoleUtils;

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 );
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package test
package test;

import static org.junit.Assert.assertEquals;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;

import org.junit.Test;

import info.relson.lib.console.util.JConsoleUtil;

public class JConsoleUtilTest {

@Test
Expand Down

0 comments on commit f4edae3

Please sign in to comment.