Compare commits
7 Commits
process-0.
...
process-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 787f951ff7 | |||
| a364b6442b | |||
| 211b965e9e | |||
| e1d030c6c5 | |||
| 8bc2b13a92 | |||
| c1050b1b4f | |||
| a3e4758d1b |
@@ -8,7 +8,7 @@
|
||||
|
||||
<groupId>net.bigeon.gclc</groupId>
|
||||
<artifactId>process</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>process</name>
|
||||
@@ -37,7 +37,7 @@
|
||||
</developer>
|
||||
</developers>
|
||||
<scm>
|
||||
<tag>process-0.0.4</tag>
|
||||
<tag>process-0.0.5</tag>
|
||||
<developerConnection>scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git</developerConnection>
|
||||
</scm>
|
||||
<properties>
|
||||
|
||||
@@ -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[])}.
|
||||
*
|
||||
* @throws InvalidCommandName if the test init failed
|
||||
* @throws CommandRunException */
|
||||
* @throws CommandRunException if the command execution failed in the test */
|
||||
@Test
|
||||
public void testExecute() throws InvalidCommandName, CommandRunException {
|
||||
final TaskPool pool = new TaskPool(false);
|
||||
|
||||
@@ -7,8 +7,6 @@ import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import net.bigeon.gclc.exception.CommandRunException;
|
||||
@@ -30,8 +28,7 @@ public class ProcessKillTest {
|
||||
/** Test method for
|
||||
* {@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 IOException if an error occured with the console output */
|
||||
* @throws CommandRunException if an error occured in test */
|
||||
@Test
|
||||
public void testExecute() throws CommandRunException {
|
||||
final TaskPool pool = new TaskPool();
|
||||
|
||||
@@ -15,7 +15,7 @@ public class ForkTaskMock extends ForkTask implements Task {
|
||||
|
||||
private int runCall = 0;
|
||||
|
||||
/** @param lines */
|
||||
/** Default constructor. */
|
||||
public ForkTaskMock() {
|
||||
super(10);
|
||||
}
|
||||
|
||||
@@ -49,8 +49,8 @@ public class TaskMock implements Task {
|
||||
setRunningCall = 0;
|
||||
}
|
||||
|
||||
/** @return */
|
||||
public Object getNumberSetRunning() {
|
||||
/** @return the number of calls to set running method */
|
||||
public int getNumberSetRunning() {
|
||||
return setRunningCall;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</parent>
|
||||
<groupId>net.bigeon.gclc</groupId>
|
||||
<artifactId>socket</artifactId>
|
||||
<version>1.1.13-SNAPSHOT</version>
|
||||
<version>1.1.14-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>GCLC Socket</name>
|
||||
<description>Socket implementation of GCLC</description>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>net.bigeon.config</groupId>
|
||||
@@ -9,7 +7,7 @@
|
||||
</parent>
|
||||
<groupId>net.bigeon.gclc</groupId>
|
||||
<artifactId>swt</artifactId>
|
||||
<version>1.1.6-SNAPSHOT</version>
|
||||
<version>1.1.7-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>GCLC swt</name>
|
||||
<description>A swt window for console applications</description>
|
||||
|
||||
@@ -59,7 +59,7 @@ public class ExecSystemCommandTest {
|
||||
|
||||
/** Test the execution of the command.
|
||||
*
|
||||
* @throws CommandRunException */
|
||||
* @throws CommandRunException if the command fails */
|
||||
@Test
|
||||
public void testExecute() throws CommandRunException {
|
||||
final ConsoleOutput out = SinkOutput.INSTANCE;
|
||||
|
||||
Reference in New Issue
Block a user