Compare commits

...

3 Commits

Author SHA1 Message Date
787f951ff7 [maven-release-plugin] prepare release process-0.0.5 2018-10-27 17:17:44 -04:00
a364b6442b Added javadoc
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2018-10-27 17:16:15 -04:00
211b965e9e [maven-release-plugin] prepare for next development iteration 2018-10-27 16:39:13 -04:00
7 changed files with 10 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
<groupId>net.bigeon.gclc</groupId> <groupId>net.bigeon.gclc</groupId>
<artifactId>process</artifactId> <artifactId>process</artifactId>
<version>0.0.5-SNAPSHOT</version> <version>0.0.5</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>process</name> <name>process</name>
@@ -37,7 +37,7 @@
</developer> </developer>
</developers> </developers>
<scm> <scm>
<tag>HEAD</tag> <tag>process-0.0.5</tag>
<developerConnection>scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git</developerConnection> <developerConnection>scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git</developerConnection>
</scm> </scm>
<properties> <properties>

View File

@@ -37,7 +37,7 @@ public class CommandForkTest {
* {@link net.bigeon.gclc.process.CommandFork#execute(net.bigeon.gclc.manager.ConsoleOutput, net.bigeon.gclc.manager.ConsoleInput, java.lang.String[])}. * {@link net.bigeon.gclc.process.CommandFork#execute(net.bigeon.gclc.manager.ConsoleOutput, net.bigeon.gclc.manager.ConsoleInput, java.lang.String[])}.
* *
* @throws InvalidCommandName if the test init failed * @throws InvalidCommandName if the test init failed
* @throws CommandRunException */ * @throws CommandRunException if the command execution failed in the test */
@Test @Test
public void testExecute() throws InvalidCommandName, CommandRunException { public void testExecute() throws InvalidCommandName, CommandRunException {
final TaskPool pool = new TaskPool(false); final TaskPool pool = new TaskPool(false);

View File

@@ -7,8 +7,6 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import java.io.IOException;
import org.junit.Test; import org.junit.Test;
import net.bigeon.gclc.exception.CommandRunException; import net.bigeon.gclc.exception.CommandRunException;
@@ -30,8 +28,7 @@ public class ProcessKillTest {
/** Test method for /** Test method for
* {@link net.bigeon.gclc.process.ProcessKill#execute(net.bigeon.gclc.manager.ConsoleOutput, net.bigeon.gclc.manager.ConsoleInput, java.lang.String[])}. * {@link net.bigeon.gclc.process.ProcessKill#execute(net.bigeon.gclc.manager.ConsoleOutput, net.bigeon.gclc.manager.ConsoleInput, java.lang.String[])}.
* *
* @throws CommandRunException if an error occured in test * @throws CommandRunException if an error occured in test */
* @throws IOException if an error occured with the console output */
@Test @Test
public void testExecute() throws CommandRunException { public void testExecute() throws CommandRunException {
final TaskPool pool = new TaskPool(); final TaskPool pool = new TaskPool();

View File

@@ -15,7 +15,7 @@ public class ForkTaskMock extends ForkTask implements Task {
private int runCall = 0; private int runCall = 0;
/** @param lines */ /** Default constructor. */
public ForkTaskMock() { public ForkTaskMock() {
super(10); super(10);
} }

View File

@@ -49,8 +49,8 @@ public class TaskMock implements Task {
setRunningCall = 0; setRunningCall = 0;
} }
/** @return */ /** @return the number of calls to set running method */
public Object getNumberSetRunning() { public int getNumberSetRunning() {
return setRunningCall; return setRunningCall;
} }

View File

@@ -7,7 +7,7 @@
</parent> </parent>
<groupId>net.bigeon.gclc</groupId> <groupId>net.bigeon.gclc</groupId>
<artifactId>swt</artifactId> <artifactId>swt</artifactId>
<version>1.1.6</version> <version>1.1.7-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>GCLC swt</name> <name>GCLC swt</name>
<description>A swt window for console applications</description> <description>A swt window for console applications</description>
@@ -36,7 +36,7 @@
</developers> </developers>
<scm> <scm>
<developerConnection>scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git</developerConnection> <developerConnection>scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git</developerConnection>
<tag>swt-1.1.6</tag> <tag>HEAD</tag>
</scm> </scm>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@@ -59,7 +59,7 @@ public class ExecSystemCommandTest {
/** Test the execution of the command. /** Test the execution of the command.
* *
* @throws CommandRunException */ * @throws CommandRunException if the command fails */
@Test @Test
public void testExecute() throws CommandRunException { public void testExecute() throws CommandRunException {
final ConsoleOutput out = SinkOutput.INSTANCE; final ConsoleOutput out = SinkOutput.INSTANCE;