From 0f148f37d2863be7f5d51d5389c44e82bdf46772 Mon Sep 17 00:00:00 2001 From: Mathieu Bague Date: Mon, 16 Jan 2017 18:08:37 +0100 Subject: [PATCH] Add dummy test in modules with no unit test (for code coverage) --- cim1-import/pom.xml | 7 + cim1-import/src/test/java/CoverageTest.java | 18 + cim1-model/pom.xml | 11 +- .../src/test/java/cim1/CoverageTest.java | 20 + .../itesla_project/dymola/CoverageTest.java | 19 + .../itesla_project/dymola/CoverageTest.java | 19 + eurostag-integration/pom.xml | 7 + .../itesla_project/eurostag/CoverageTest.java | 19 + eurostag-network/pom.xml | 7 + .../eurostag/network/CoverageTest.java | 19 + .../fpf_integration/CoverageTest.java | 19 + .../histodb/server/CoverageTest.java | 19 + .../histodb/client/impl/CoverageTest.java | 19 + .../pom.xml | 416 +++++++++--------- .../iidm/ejbclient/CoverageTest.java | 19 + .../pom.xml | 221 +++++----- .../ddb/eurostag_modelica/CoverageTest.java | 19 + iidm-ddb/iidm-ddb-example-ejb-client/pom.xml | 189 ++++---- .../ddb/examples/ejbclient/CoverageTest.java | 19 + .../iidm-ddb-modelica-import-export/pom.xml | 223 +++++----- .../itesla_project/iidm/ddb/CoverageTest.java | 19 + iidm-ddb/iidm-ddb-web/pom.xml | 304 ++++++------- .../iidm/ddb/web/CoverageTest.java | 19 + .../eu/itesla_project/mcla/CoverageTest.java | 19 + modelica-events-adder/pom.xml | 130 +++--- .../events/CoverageTest.java | 19 + modelica-export/pom.xml | 289 ++++++------ .../modelica_export/CoverageTest.java | 19 + network-merge/pom.xml | 6 + .../eu/itesla_project/merge/CoverageTest.java | 19 + offline-mpi/pom.xml | 7 + .../offline/mpi/CoverageTest.java | 19 + offline-server/pom.xml | 6 + .../src/test/java/CoverageTest.java | 18 + online-mpi/pom.xml | 7 + .../online/mpi/CoverageTest.java | 19 + online-server/pom.xml | 31 +- .../online/server/CoverageTest.java | 19 + online-workflow/pom.xml | 59 +-- .../itesla_project/online/CoverageTest.java | 19 + .../itesla_project/pclfsim/CoverageTest.java | 19 + .../itesla_project/sampling/CoverageTest.java | 19 + ucte-import/pom.xml | 7 + .../iidm/import_/ucte/CoverageTest.java | 19 + ucte-network/pom.xml | 7 + .../ucte/network/CoverageTest.java | 19 + wca-integration/pom.xml | 7 + .../eu/itesla_project/wca/CoverageTest.java | 19 + 48 files changed, 1563 insertions(+), 909 deletions(-) create mode 100644 cim1-import/src/test/java/CoverageTest.java create mode 100644 cim1-model/src/test/java/cim1/CoverageTest.java create mode 100644 dymola-integration/src/test/java/eu/itesla_project/dymola/CoverageTest.java create mode 100644 dymola-proxyservice/src/test/java/eu/itesla_project/dymola/CoverageTest.java create mode 100644 eurostag-integration/src/test/java/eu/itesla_project/eurostag/CoverageTest.java create mode 100644 eurostag-network/src/test/java/eu/itesla_project/eurostag/network/CoverageTest.java create mode 100644 fpf-integration/src/test/java/eu/itesla_project/fpf_integration/CoverageTest.java create mode 100644 histoDB/histodb-dataserver/src/test/java/eu/itesla_project/histodb/server/CoverageTest.java create mode 100644 histodb-client/src/test/java/eu/itesla_project/histodb/client/impl/CoverageTest.java create mode 100644 iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/src/test/java/eu/itesla_project/iidm/ejbclient/CoverageTest.java create mode 100644 iidm-ddb/iidm-ddb-eurostag-modelica-converter/src/test/java/eu/itesla_project/iidm/ddb/eurostag_modelica/CoverageTest.java create mode 100644 iidm-ddb/iidm-ddb-example-ejb-client/src/test/java/eu/itesla_project/iidm/ddb/examples/ejbclient/CoverageTest.java create mode 100644 iidm-ddb/iidm-ddb-modelica-import-export/src/test/java/eu/itesla_project/iidm/ddb/CoverageTest.java create mode 100644 iidm-ddb/iidm-ddb-web/src/test/java/eu/itesla_project/iidm/ddb/web/CoverageTest.java create mode 100644 mcla-integration/src/test/java/eu/itesla_project/mcla/CoverageTest.java create mode 100644 modelica-events-adder/src/test/java/eu/itesla_project/modelica_events_adder/events/CoverageTest.java create mode 100644 modelica-export/src/test/java/eu/itesla_project/modelica_export/CoverageTest.java create mode 100644 network-merge/src/test/java/eu/itesla_project/merge/CoverageTest.java create mode 100644 offline-mpi/src/test/java/eu/itesla_project/offline/mpi/CoverageTest.java create mode 100644 offline-server/src/test/java/CoverageTest.java create mode 100644 online-mpi/src/test/java/eu/itesla_project/online/mpi/CoverageTest.java create mode 100644 online-server/src/test/java/eu/itesla_project/online/server/CoverageTest.java create mode 100644 online-workflow/src/test/java/eu/itesla_project/online/CoverageTest.java create mode 100644 pclfsim-integration/src/test/java/eu/itesla_project/pclfsim/CoverageTest.java create mode 100644 sampling-integration/src/test/java/eu/itesla_project/sampling/CoverageTest.java create mode 100644 ucte-import/src/test/java/eu/itesla_project/iidm/import_/ucte/CoverageTest.java create mode 100644 ucte-network/src/test/java/eu/itesla_project/ucte/network/CoverageTest.java create mode 100644 wca-integration/src/test/java/eu/itesla_project/wca/CoverageTest.java diff --git a/cim1-import/pom.xml b/cim1-import/pom.xml index 43841b5e..2c1ad758 100644 --- a/cim1-import/pom.xml +++ b/cim1-import/pom.xml @@ -58,5 +58,12 @@ entsoe-util ${project.version} + + + + junit + junit + test + diff --git a/cim1-import/src/test/java/CoverageTest.java b/cim1-import/src/test/java/CoverageTest.java new file mode 100644 index 00000000..19c94f67 --- /dev/null +++ b/cim1-import/src/test/java/CoverageTest.java @@ -0,0 +1,18 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/cim1-model/pom.xml b/cim1-model/pom.xml index ebb25aa1..80724e08 100644 --- a/cim1-model/pom.xml +++ b/cim1-model/pom.xml @@ -24,13 +24,20 @@ CIM ENTSO-E V1 model generated by CIM Gateway tool + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.gdata + org.slf4j slf4j-api + + - org.apache.servicemix.bundles - org.apache.servicemix.bundles.gdata + junit + junit + test diff --git a/cim1-model/src/test/java/cim1/CoverageTest.java b/cim1-model/src/test/java/cim1/CoverageTest.java new file mode 100644 index 00000000..a41e6acf --- /dev/null +++ b/cim1-model/src/test/java/cim1/CoverageTest.java @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +package cim1; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/dymola-integration/src/test/java/eu/itesla_project/dymola/CoverageTest.java b/dymola-integration/src/test/java/eu/itesla_project/dymola/CoverageTest.java new file mode 100644 index 00000000..ddcb72f9 --- /dev/null +++ b/dymola-integration/src/test/java/eu/itesla_project/dymola/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.dymola; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/dymola-proxyservice/src/test/java/eu/itesla_project/dymola/CoverageTest.java b/dymola-proxyservice/src/test/java/eu/itesla_project/dymola/CoverageTest.java new file mode 100644 index 00000000..ddcb72f9 --- /dev/null +++ b/dymola-proxyservice/src/test/java/eu/itesla_project/dymola/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.dymola; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/eurostag-integration/pom.xml b/eurostag-integration/pom.xml index f8a88f88..61d0c503 100644 --- a/eurostag-integration/pom.xml +++ b/eurostag-integration/pom.xml @@ -83,6 +83,13 @@ iidm-ddb-eurostag-import-export 0.0.1-SNAPSHOT + + + + junit + junit + test + diff --git a/eurostag-integration/src/test/java/eu/itesla_project/eurostag/CoverageTest.java b/eurostag-integration/src/test/java/eu/itesla_project/eurostag/CoverageTest.java new file mode 100644 index 00000000..402afac8 --- /dev/null +++ b/eurostag-integration/src/test/java/eu/itesla_project/eurostag/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.eurostag; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/eurostag-network/pom.xml b/eurostag-network/pom.xml index edba8f1f..7dc77fc9 100644 --- a/eurostag-network/pom.xml +++ b/eurostag-network/pom.xml @@ -33,5 +33,12 @@ joda-time joda-time + + + + junit + junit + test + diff --git a/eurostag-network/src/test/java/eu/itesla_project/eurostag/network/CoverageTest.java b/eurostag-network/src/test/java/eu/itesla_project/eurostag/network/CoverageTest.java new file mode 100644 index 00000000..2db684cd --- /dev/null +++ b/eurostag-network/src/test/java/eu/itesla_project/eurostag/network/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.eurostag.network; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/fpf-integration/src/test/java/eu/itesla_project/fpf_integration/CoverageTest.java b/fpf-integration/src/test/java/eu/itesla_project/fpf_integration/CoverageTest.java new file mode 100644 index 00000000..fe4df4ee --- /dev/null +++ b/fpf-integration/src/test/java/eu/itesla_project/fpf_integration/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.fpf_integration; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/histoDB/histodb-dataserver/src/test/java/eu/itesla_project/histodb/server/CoverageTest.java b/histoDB/histodb-dataserver/src/test/java/eu/itesla_project/histodb/server/CoverageTest.java new file mode 100644 index 00000000..a5b02b1e --- /dev/null +++ b/histoDB/histodb-dataserver/src/test/java/eu/itesla_project/histodb/server/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.histodb.server; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/histodb-client/src/test/java/eu/itesla_project/histodb/client/impl/CoverageTest.java b/histodb-client/src/test/java/eu/itesla_project/histodb/client/impl/CoverageTest.java new file mode 100644 index 00000000..ed958c3e --- /dev/null +++ b/histodb-client/src/test/java/eu/itesla_project/histodb/client/impl/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.histodb.client.impl; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/pom.xml b/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/pom.xml index 66b03628..aa1a4588 100644 --- a/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/pom.xml +++ b/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/pom.xml @@ -8,8 +8,8 @@ --> - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 iidm-ddb @@ -17,225 +17,227 @@ 0.0.1-SNAPSHOT - iidm-ddb-ejb-remote-client-wildfly - jar - iidm ddb - ejb-remote-client-wildfly package - ejb remote wildfly client utils - - - - ibiblio.org-releases - http://mirrors.ibiblio.org/maven2/ - - - - jboss-releases - https://repository.jboss.org/nexus/content/repositories/releases/ - - - - - UTF-8 - - 1.0.1.Final - 8.1.0.Final - 1.0.0.Final - - - - - 3.1 - 1.2.1 - 2.1.1 - - - 1.7 - 1.7 - - - 127.0.0.1 - - - - - - - org.jboss.spec - jboss-javaee-7.0 - ${version.jboss.spec.javaee.7.0} - pom - import - - + iidm-ddb-ejb-remote-client-wildfly + jar + iidm ddb - ejb-remote-client-wildfly package + ejb remote wildfly client utils + + + + ibiblio.org-releases + http://mirrors.ibiblio.org/maven2/ + + + + jboss-releases + https://repository.jboss.org/nexus/content/repositories/releases/ + + + + + UTF-8 + + 1.0.1.Final + 8.1.0.Final + 1.0.0.Final + + + + + 3.1 + 1.2.1 + 2.1.1 + + + 1.7 + 1.7 + + + 127.0.0.1 + + + + + + + org.jboss.spec + jboss-javaee-7.0 + ${version.jboss.spec.javaee.7.0} + pom + import + + + + org.wildfly + wildfly-ejb-client-bom + ${version.wildfly} + pom + import + + + + + + + - org.wildfly - wildfly-ejb-client-bom - ${version.wildfly} - pom - import - - - - - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - ejb-client - - - - - - - - org.jboss.spec.javax.transaction - jboss-transaction-api_1.2_spec - runtime - - - - - org.jboss.spec.javax.ejb - jboss-ejb-api_3.2_spec - runtime - - - - - - org.jboss - jboss-ejb-client - - 2.0.2.Final - compile - - - - org.jboss - jboss-remote-naming - - - - - org.jboss.xnio - xnio-api - runtime - - - - org.jboss.xnio - xnio-nio - runtime - - - - + + org.jboss.spec.javax.transaction + jboss-transaction-api_1.2_spec + runtime + + + + + org.jboss.spec.javax.ejb + jboss-ejb-api_3.2_spec + runtime + + + + + + org.jboss + jboss-ejb-client + + 2.0.2.Final + compile + + + + org.jboss + jboss-remote-naming + + + + + org.jboss.xnio + xnio-api runtime - + + + + org.jboss.xnio + xnio-nio + runtime + + + + org.jboss.sasl jboss-sasl runtime - + org.jboss.marshalling jboss-marshalling-river runtime - - org.hibernate - hibernate-core - runtime - - - - - - - - - org.slf4j - slf4j-api - 1.7.5 - - - - - - - - - maven-compiler-plugin - ${version.compiler.plugin} - - ${maven.compiler.source} - ${maven.compiler.target} - - - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - - ${project.build.directory}/.. - - -DJBHOST=${JBHOST} - - -classpath - - - eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient - - - + + org.hibernate + hibernate-core + runtime + + + + + org.slf4j + slf4j-api + 1.7.5 + + + + + + + junit + junit + test + + + + + + + + maven-compiler-plugin + ${version.compiler.plugin} + + ${maven.compiler.source} + ${maven.compiler.target} + + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + + ${project.build.directory}/.. + + -DJBHOST=${JBHOST} + + -classpath + + + eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient + + + - - maven-assembly-plugin - - - jar-with-dependencies - - - - eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient - - - - - - - - - + + maven-assembly-plugin + + + jar-with-dependencies + + + + eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient + + + + + + + + + diff --git a/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/src/test/java/eu/itesla_project/iidm/ejbclient/CoverageTest.java b/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/src/test/java/eu/itesla_project/iidm/ejbclient/CoverageTest.java new file mode 100644 index 00000000..de0d231d --- /dev/null +++ b/iidm-ddb/iidm-ddb-ejb-remote-client-wildfly/src/test/java/eu/itesla_project/iidm/ejbclient/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.ejbclient; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/iidm-ddb/iidm-ddb-eurostag-modelica-converter/pom.xml b/iidm-ddb/iidm-ddb-eurostag-modelica-converter/pom.xml index 7a25fa74..3925a366 100644 --- a/iidm-ddb/iidm-ddb-eurostag-modelica-converter/pom.xml +++ b/iidm-ddb/iidm-ddb-eurostag-modelica-converter/pom.xml @@ -8,8 +8,8 @@ --> - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 iidm-ddb @@ -17,110 +17,117 @@ 0.0.1-SNAPSHOT - iidm-ddb-eurostag-modelica-converter - jar - iidm-ddb-eurostag-modelica-converter - - - UTF-8 - - - - 2.3.1 - 1.2.1 - - - 1.7 - 1.7 - - - 1.2.1 - - - 127.0.0.1 - 4447 - user - password - 5.1.1 - 3.3 - true - - - - - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - ${project.build.directory}/.. - - - -classpath - - - eu.itesla_project.iidm.ddb.eurostag_modelica.DDBConverter - ${jbHost} - ${jbPort} - ${ddbUser} - ${ddbPassword} - ${eurostagVersion} - ${modelicaVersion} - ${overwrite} - - - - - - - - - - - - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - ejb-client - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb-remote-client-wildfly - 0.0.1-SNAPSHOT - - - - eu.itesla_project - EU2Mod_MB - 0.1-SNAPSHOT - - - - DDB Eurostag to Modelica converter + iidm-ddb-eurostag-modelica-converter + jar + iidm-ddb-eurostag-modelica-converter + + + UTF-8 + + + + 2.3.1 + 1.2.1 + + + 1.7 + 1.7 + + + 1.2.1 + + + 127.0.0.1 + 4447 + user + password + 5.1.1 + 3.3 + true + + + + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + ${project.build.directory}/.. + + + -classpath + + + eu.itesla_project.iidm.ddb.eurostag_modelica.DDBConverter + ${jbHost} + ${jbPort} + ${ddbUser} + ${ddbPassword} + ${eurostagVersion} + ${modelicaVersion} + ${overwrite} + + + + + + + + + + + + + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb + 0.0.1-SNAPSHOT + ejb-client + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb-remote-client-wildfly + 0.0.1-SNAPSHOT + + + + eu.itesla_project + EU2Mod_MB + 0.1-SNAPSHOT + + + + + junit + junit + test + + + + DDB Eurostag to Modelica converter diff --git a/iidm-ddb/iidm-ddb-eurostag-modelica-converter/src/test/java/eu/itesla_project/iidm/ddb/eurostag_modelica/CoverageTest.java b/iidm-ddb/iidm-ddb-eurostag-modelica-converter/src/test/java/eu/itesla_project/iidm/ddb/eurostag_modelica/CoverageTest.java new file mode 100644 index 00000000..6acccb4f --- /dev/null +++ b/iidm-ddb/iidm-ddb-eurostag-modelica-converter/src/test/java/eu/itesla_project/iidm/ddb/eurostag_modelica/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.ddb.eurostag_modelica; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/iidm-ddb/iidm-ddb-example-ejb-client/pom.xml b/iidm-ddb/iidm-ddb-example-ejb-client/pom.xml index 07cc2b5e..c963267b 100644 --- a/iidm-ddb/iidm-ddb-example-ejb-client/pom.xml +++ b/iidm-ddb/iidm-ddb-example-ejb-client/pom.xml @@ -8,8 +8,8 @@ --> - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 iidm-ddb @@ -17,94 +17,101 @@ 0.0.1-SNAPSHOT - iidm-ddb-example-ejb-client - jar - iidm ddb - ejb-remote-client-example - - - UTF-8 - - - 2.3.1 - 1.2.1 - - - 1.7 - 1.7 - - - 127.0.0.1 - 8080 - - - - - - - - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - ejb-client - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb-remote-client-wildfly - 0.0.1-SNAPSHOT - - - - org.slf4j - slf4j-api - 1.7.5 - - - - - - - - maven-compiler-plugin - ${version.compiler.plugin} - - ${maven.compiler.source} - ${maven.compiler.target} - - - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - ${project.build.directory}/.. - - -DJBHOST=${JBHOST} - -DJBPORT=${JBPORT} - - -classpath - - - eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient - - - - - + iidm-ddb-example-ejb-client + jar + iidm ddb - ejb-remote-client-example + + + UTF-8 + + + 2.3.1 + 1.2.1 + + + 1.7 + 1.7 + + + 127.0.0.1 + 8080 + + + + + + + + + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb + 0.0.1-SNAPSHOT + ejb-client + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb-remote-client-wildfly + 0.0.1-SNAPSHOT + + + + org.slf4j + slf4j-api + 1.7.5 + + + + + junit + junit + test + + + + + + + + maven-compiler-plugin + ${version.compiler.plugin} + + ${maven.compiler.source} + ${maven.compiler.target} + + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + ${project.build.directory}/.. + + -DJBHOST=${JBHOST} + -DJBPORT=${JBPORT} + + -classpath + + + eu.itesla_project.iidm.ddb.examples.ejbclient.RemoteEJBClient + + + + + diff --git a/iidm-ddb/iidm-ddb-example-ejb-client/src/test/java/eu/itesla_project/iidm/ddb/examples/ejbclient/CoverageTest.java b/iidm-ddb/iidm-ddb-example-ejb-client/src/test/java/eu/itesla_project/iidm/ddb/examples/ejbclient/CoverageTest.java new file mode 100644 index 00000000..cc527934 --- /dev/null +++ b/iidm-ddb/iidm-ddb-example-ejb-client/src/test/java/eu/itesla_project/iidm/ddb/examples/ejbclient/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.ddb.examples.ejbclient; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/iidm-ddb/iidm-ddb-modelica-import-export/pom.xml b/iidm-ddb/iidm-ddb-modelica-import-export/pom.xml index e6869f39..2d5b60c7 100644 --- a/iidm-ddb/iidm-ddb-modelica-import-export/pom.xml +++ b/iidm-ddb/iidm-ddb-modelica-import-export/pom.xml @@ -8,62 +8,62 @@ --> - 4.0.0 - - - iidm-ddb - eu.itesla_project.iidm-ddb - 0.0.1-SNAPSHOT - - - iidm-ddb-modelica-import-export - jar - iidm-ddb-modelica-import-export - - - UTF-8 - - - 2.3.1 - 1.2.1 - - - 1.7 - 1.7 - - - - 1.2.1 - - C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla - Data/PowerSystems_withoutConnectors.mo - C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla - Data/DDB/rte22MOD/data/elements - C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla - Data/DDB/rte22MOD/EUR2MOD.txt - 127.0.0.1 - 4447 - user - password - true - true - eu.itesla_project.iidm.ddb.modelica_imp.test.LibUploaderTest - - - - - - - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - + 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + + iidm-ddb + eu.itesla_project.iidm-ddb + 0.0.1-SNAPSHOT + + + iidm-ddb-modelica-import-export + jar + iidm-ddb-modelica-import-export + + + UTF-8 + + + 2.3.1 + 1.2.1 + + + 1.7 + 1.7 + + + + 1.2.1 + + C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla Data/PowerSystems_withoutConnectors.mo + + C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla Data/DDB/rte22MOD/data/elements + + C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla Data/DDB/rte22MOD/EUR2MOD.txt + + 127.0.0.1 + 4447 + user + password + true + true + eu.itesla_project.iidm.ddb.modelica_imp.test.LibUploaderTest + + + + + + + + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb + 0.0.1-SNAPSHOT + eu.itesla_project.iidm-ddb @@ -71,59 +71,66 @@ 0.0.1-SNAPSHOT - - org.slf4j - slf4j-api - 1.7.10 - + + org.slf4j + slf4j-api + 1.7.10 + + + + + junit + junit + test + - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - - true - - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - ${project.build.directory}/.. - - -DJBHOST=${Host} - -classpath - - - ${execClass} - ${Inputdir} - ${Tempdir} - ${Mapperdir} - ${Host} - ${Port} - ${User} - ${Password} - ${Islibrary} - ${Isregulator} - - - - - - - Modelica import export api + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.16 + + true + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + ${project.build.directory}/.. + + -DJBHOST=${Host} + -classpath + + + ${execClass} + ${Inputdir} + ${Tempdir} + ${Mapperdir} + ${Host} + ${Port} + ${User} + ${Password} + ${Islibrary} + ${Isregulator} + + + + + + + Modelica import export api diff --git a/iidm-ddb/iidm-ddb-modelica-import-export/src/test/java/eu/itesla_project/iidm/ddb/CoverageTest.java b/iidm-ddb/iidm-ddb-modelica-import-export/src/test/java/eu/itesla_project/iidm/ddb/CoverageTest.java new file mode 100644 index 00000000..83d6a2b0 --- /dev/null +++ b/iidm-ddb/iidm-ddb-modelica-import-export/src/test/java/eu/itesla_project/iidm/ddb/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.ddb; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/iidm-ddb/iidm-ddb-web/pom.xml b/iidm-ddb/iidm-ddb-web/pom.xml index 42503288..14795d9d 100644 --- a/iidm-ddb/iidm-ddb-web/pom.xml +++ b/iidm-ddb/iidm-ddb-web/pom.xml @@ -8,155 +8,161 @@ --> - 4.0.0 - - - iidm-ddb - eu.itesla_project.iidm-ddb - 0.0.1-SNAPSHOT - - - iidm-ddb-web - war - - iidm ddb - war package - - - - prime-repo - Prime Repo - http://repository.primefaces.org - - - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - ejb-client - provided - - - - - eu.itesla_project.iidm-ddb - iidm-ddb-eurostag-modelica-converter - 0.0.1-SNAPSHOT - - - - - org.jboss.spec.javax.ws.rs - jboss-jaxrs-api_1.1_spec - provided - - - + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb + 0.0.1-SNAPSHOT + ejb-client + provided + + + + + eu.itesla_project.iidm-ddb + iidm-ddb-eurostag-modelica-converter + 0.0.1-SNAPSHOT + + + + + org.jboss.spec.javax.ws.rs + jboss-jaxrs-api_1.1_spec + provided + + + + + org.jboss.spec.javax.ejb + jboss-ejb-api_3.1_spec + provided + + + + + + javax.enterprise + cdi-api + provided + + + + + org.jboss.spec.javax.faces + jboss-jsf-api_2.1_spec + provided + + + + + org.hibernate.javax.persistence + hibernate-jpa-2.0-api + provided + + + + + + + org.hibernate + hibernate-validator + provided + + + org.slf4j + slf4j-api + + + + + + org.jboss.spec.javax.servlet + jboss-servlet-api_3.0_spec + + + javax.transaction + transaction-api + 1.1-rev-1 + + + + + org.primefaces + primefaces + 3.5 + + + + commons-io + commons-io + 2.4 + + + commons-fileupload + commons-fileupload + 1.2.1 + + + - - org.jboss.spec.javax.ejb - jboss-ejb-api_3.1_spec - provided - - - - - - javax.enterprise - cdi-api - provided - - - - - org.jboss.spec.javax.faces - jboss-jsf-api_2.1_spec - provided - - - - - org.hibernate.javax.persistence - hibernate-jpa-2.0-api - provided - - - - - - - org.hibernate - hibernate-validator - provided - - - org.slf4j - slf4j-api - - - - - - org.jboss.spec.javax.servlet - jboss-servlet-api_3.0_spec - - - javax.transaction - transaction-api - 1.1-rev-1 - - - - - org.primefaces - primefaces - 3.5 - - - - commons-io - commons-io - 2.4 - - - commons-fileupload - commons-fileupload - 1.2.1 - - - - - com.google.guava - guava - 16.0.1 - - - - - - - - maven-war-plugin - ${version.war.plugin} - - - false - - - - + + com.google.guava + guava + 16.0.1 + + + + junit + junit + test + + + + + + + + maven-war-plugin + ${version.war.plugin} + + + false + + + + diff --git a/iidm-ddb/iidm-ddb-web/src/test/java/eu/itesla_project/iidm/ddb/web/CoverageTest.java b/iidm-ddb/iidm-ddb-web/src/test/java/eu/itesla_project/iidm/ddb/web/CoverageTest.java new file mode 100644 index 00000000..37fc5594 --- /dev/null +++ b/iidm-ddb/iidm-ddb-web/src/test/java/eu/itesla_project/iidm/ddb/web/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.ddb.web; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/mcla-integration/src/test/java/eu/itesla_project/mcla/CoverageTest.java b/mcla-integration/src/test/java/eu/itesla_project/mcla/CoverageTest.java new file mode 100644 index 00000000..c826731d --- /dev/null +++ b/mcla-integration/src/test/java/eu/itesla_project/mcla/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.mcla; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/modelica-events-adder/pom.xml b/modelica-events-adder/pom.xml index 4290ff2b..6c33b28f 100644 --- a/modelica-events-adder/pom.xml +++ b/modelica-events-adder/pom.xml @@ -8,76 +8,76 @@ --> - 4.0.0 - - eu.itesla_project - itesla-parent - 0.1-SNAPSHOT - - eu.itesla_project - modelica-events-adder - 0.1-SNAPSHOT - modelica-events-adder - http://maven.apache.org - - UTF-8 - 2.3.1 - 1.2.1 + 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + eu.itesla_project + itesla-parent + 0.1-SNAPSHOT + + eu.itesla_project + modelica-events-adder + 0.1-SNAPSHOT + modelica-events-adder + http://maven.apache.org + + UTF-8 + 2.3.1 + 1.2.1 - - 1.7 - 1.7 + + 1.7 + 1.7 - - eu.itesla_project.modelica_events_adder.test.ModelicaExportEventsTest - /home/machados/sources/itesla/platform/modelica-events-adder/N44_h21.mo - /home/machados/sources/itesla/platform/modelica-events-adder/events/CIMEvents_example.csv - - + + eu.itesla_project.modelica_events_adder.test.ModelicaExportEventsTest + /home/machados/sources/itesla/platform/modelica-events-adder/N44_h21.mo + /home/machados/sources/itesla/platform/modelica-events-adder/events/CIMEvents_example.csv + + + org.slf4j slf4j-api - - ch.qos.logback - logback-classic - - - junit - junit - 3.8.1 - test - - + + ch.qos.logback + logback-classic + + + junit + junit + test + + - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - ${project.build.directory}/.. - - -classpath - - - ${execClass} - ${modFile} - ${eventsFile} - - - - - + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + ${project.build.directory}/.. + + -classpath + + + ${execClass} + ${modFile} + ${eventsFile} + + + + + diff --git a/modelica-events-adder/src/test/java/eu/itesla_project/modelica_events_adder/events/CoverageTest.java b/modelica-events-adder/src/test/java/eu/itesla_project/modelica_events_adder/events/CoverageTest.java new file mode 100644 index 00000000..022fbea3 --- /dev/null +++ b/modelica-events-adder/src/test/java/eu/itesla_project/modelica_events_adder/events/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.modelica_events_adder.events; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/modelica-export/pom.xml b/modelica-export/pom.xml index 187ba548..364b0642 100644 --- a/modelica-export/pom.xml +++ b/modelica-export/pom.xml @@ -8,146 +8,151 @@ --> - 4.0.0 - - - eu.itesla_project - itesla-parent - 0.1-SNAPSHOT - - - modelica-export - jar - Modelica export - - - UTF-8 - - - - 2.3.1 - 1.2.1 - - - 1.7 - 1.7 - - - - eu.itesla_project.modelica_export.test.ModelicaExporterTestLF - C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla Data/Modelo 22 Buses/CIM2_TP.xml - 127.0.0.1 - 8080 - user - password - 3.2 - psse - 32.1 - - dummy - - - - - - - - - - ${project.groupId} - computation-local - - - ${project.groupId} - iidm-network-api - - - ${project.groupId} - iidm-network-impl - - - - ${project.groupId} - iidm-converter-api - - - - eu.itesla_project - loadflow-api - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb - 0.0.1-SNAPSHOT - - - - eu.itesla_project.iidm-ddb - iidm-ddb-ejb-remote-client-wildfly - 0.0.1-SNAPSHOT - - - - ch.qos.logback - logback-classic - - - - eu.itesla_project.iidm-ddb - iidm-ddb-eurostag-modelica-converter - 0.0.1-SNAPSHOT - - - - - - - - - - - - - - - - - - - - org.codehaus.mojo - exec-maven-plugin - ${version.exec.plugin} - - - - exec - - - - - java - ${project.build.directory}/.. - - -classpath - - - ${execClass} - ${cimFile} - ${slackAt} - ${host} - ${port} - ${user} - ${password} - ${modelicaVersion} - ${sourceEngine} - ${sourceVersion} - ${modelicaLibPath} - - - - - + 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + + eu.itesla_project + itesla-parent + 0.1-SNAPSHOT + + + modelica-export + jar + Modelica export + + + UTF-8 + + + + 2.3.1 + 1.2.1 + + + 1.7 + 1.7 + + + + eu.itesla_project.modelica_export.test.ModelicaExporterTestLF + C:/Users/machadosc/Dropbox/Trabajo/Silvia iTesla Data/Modelo 22 Buses/CIM2_TP.xml + 127.0.0.1 + 8080 + user + password + 3.2 + psse + 32.1 + + dummy + + + + + + + + + + ${project.groupId} + computation-local + + + ${project.groupId} + iidm-network-api + + + ${project.groupId} + iidm-network-impl + + + + ${project.groupId} + iidm-converter-api + + + + eu.itesla_project + loadflow-api + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb + 0.0.1-SNAPSHOT + + + + eu.itesla_project.iidm-ddb + iidm-ddb-ejb-remote-client-wildfly + 0.0.1-SNAPSHOT + + + + ch.qos.logback + logback-classic + + + + eu.itesla_project.iidm-ddb + iidm-ddb-eurostag-modelica-converter + 0.0.1-SNAPSHOT + + + + junit + junit + test + + + + + + + + + + + + + + + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.exec.plugin} + + + + exec + + + + + java + ${project.build.directory}/.. + + -classpath + + + ${execClass} + ${cimFile} + ${slackAt} + ${host} + ${port} + ${user} + ${password} + ${modelicaVersion} + ${sourceEngine} + ${sourceVersion} + ${modelicaLibPath} + + + + + diff --git a/modelica-export/src/test/java/eu/itesla_project/modelica_export/CoverageTest.java b/modelica-export/src/test/java/eu/itesla_project/modelica_export/CoverageTest.java new file mode 100644 index 00000000..2e808326 --- /dev/null +++ b/modelica-export/src/test/java/eu/itesla_project/modelica_export/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.modelica_export; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/network-merge/pom.xml b/network-merge/pom.xml index aba85018..f97f5ac6 100644 --- a/network-merge/pom.xml +++ b/network-merge/pom.xml @@ -45,6 +45,12 @@ eu.itesla_project loadflow-api + + + junit + junit + test + diff --git a/network-merge/src/test/java/eu/itesla_project/merge/CoverageTest.java b/network-merge/src/test/java/eu/itesla_project/merge/CoverageTest.java new file mode 100644 index 00000000..d534e9a8 --- /dev/null +++ b/network-merge/src/test/java/eu/itesla_project/merge/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.merge; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/offline-mpi/pom.xml b/offline-mpi/pom.xml index 44fd2216..0d55a869 100644 --- a/offline-mpi/pom.xml +++ b/offline-mpi/pom.xml @@ -50,5 +50,12 @@ ${project.version} + + + junit + junit + test + + diff --git a/offline-mpi/src/test/java/eu/itesla_project/offline/mpi/CoverageTest.java b/offline-mpi/src/test/java/eu/itesla_project/offline/mpi/CoverageTest.java new file mode 100644 index 00000000..a3dcc52f --- /dev/null +++ b/offline-mpi/src/test/java/eu/itesla_project/offline/mpi/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.offline.mpi; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/offline-server/pom.xml b/offline-server/pom.xml index 48e84527..be381daf 100644 --- a/offline-server/pom.xml +++ b/offline-server/pom.xml @@ -33,6 +33,12 @@ 7.0 provided + + + junit + junit + test + diff --git a/offline-server/src/test/java/CoverageTest.java b/offline-server/src/test/java/CoverageTest.java new file mode 100644 index 00000000..19c94f67 --- /dev/null +++ b/offline-server/src/test/java/CoverageTest.java @@ -0,0 +1,18 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/online-mpi/pom.xml b/online-mpi/pom.xml index 477eb8b3..b00f6fcb 100644 --- a/online-mpi/pom.xml +++ b/online-mpi/pom.xml @@ -42,5 +42,12 @@ computation-mpi-util ${project.version} + + + + junit + junit + test + diff --git a/online-mpi/src/test/java/eu/itesla_project/online/mpi/CoverageTest.java b/online-mpi/src/test/java/eu/itesla_project/online/mpi/CoverageTest.java new file mode 100644 index 00000000..09decee3 --- /dev/null +++ b/online-mpi/src/test/java/eu/itesla_project/online/mpi/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.online.mpi; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/online-server/pom.xml b/online-server/pom.xml index fdfbbe49..51a8fe1f 100644 --- a/online-server/pom.xml +++ b/online-server/pom.xml @@ -27,7 +27,7 @@ online-workflow 0.1-SNAPSHOT - + - com.google.code.gson - gson - - + com.google.code.gson + gson + + javax javaee-api 7.0 provided - + + + org.jboss.resteasy + resteasy-jaxrs + 3.0.8.Final + provided + + + - org.jboss.resteasy - resteasy-jaxrs - 3.0.8.Final - provided - - + junit + junit + test + + diff --git a/online-server/src/test/java/eu/itesla_project/online/server/CoverageTest.java b/online-server/src/test/java/eu/itesla_project/online/server/CoverageTest.java new file mode 100644 index 00000000..93191224 --- /dev/null +++ b/online-server/src/test/java/eu/itesla_project/online/server/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.online.server; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/online-workflow/pom.xml b/online-workflow/pom.xml index 7accf27e..e4250e02 100644 --- a/online-workflow/pom.xml +++ b/online-workflow/pom.xml @@ -45,10 +45,10 @@ org.ow2.sirocco sirocco-text-table-formatter - - com.google.code.gson - gson - + + com.google.code.gson + gson + net.sf.json-lib json-lib @@ -64,29 +64,36 @@ - org.jboss.resteasy - resteasy-client - 3.0.8.Final - - - - org.jboss.resteasy - resteasy-jaxrs - 3.0.8.Final - + org.jboss.resteasy + resteasy-client + 3.0.8.Final + + + + org.jboss.resteasy + resteasy-jaxrs + 3.0.8.Final + + + + org.jboss.resteasy + jaxrs-api + 3.0.8.Final + - - org.jboss.resteasy - jaxrs-api - 3.0.8.Final - - - org.jboss.resteasy - resteasy-jackson-provider - 3.0.8.Final - runtime - - + org.jboss.resteasy + resteasy-jackson-provider + 3.0.8.Final + runtime + + + + + junit + junit + test + + diff --git a/online-workflow/src/test/java/eu/itesla_project/online/CoverageTest.java b/online-workflow/src/test/java/eu/itesla_project/online/CoverageTest.java new file mode 100644 index 00000000..da1402db --- /dev/null +++ b/online-workflow/src/test/java/eu/itesla_project/online/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.online; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/pclfsim-integration/src/test/java/eu/itesla_project/pclfsim/CoverageTest.java b/pclfsim-integration/src/test/java/eu/itesla_project/pclfsim/CoverageTest.java new file mode 100644 index 00000000..8d0366a1 --- /dev/null +++ b/pclfsim-integration/src/test/java/eu/itesla_project/pclfsim/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.pclfsim; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/sampling-integration/src/test/java/eu/itesla_project/sampling/CoverageTest.java b/sampling-integration/src/test/java/eu/itesla_project/sampling/CoverageTest.java new file mode 100644 index 00000000..b2ddc9be --- /dev/null +++ b/sampling-integration/src/test/java/eu/itesla_project/sampling/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.sampling; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/ucte-import/pom.xml b/ucte-import/pom.xml index ebe7e83d..fe49f455 100644 --- a/ucte-import/pom.xml +++ b/ucte-import/pom.xml @@ -48,6 +48,13 @@ entsoe-util ${project.version} + + + + junit + junit + test + diff --git a/ucte-import/src/test/java/eu/itesla_project/iidm/import_/ucte/CoverageTest.java b/ucte-import/src/test/java/eu/itesla_project/iidm/import_/ucte/CoverageTest.java new file mode 100644 index 00000000..b1e7ef69 --- /dev/null +++ b/ucte-import/src/test/java/eu/itesla_project/iidm/import_/ucte/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.iidm.import_.ucte; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/ucte-network/pom.xml b/ucte-network/pom.xml index 431ff5ed..cb17cee1 100644 --- a/ucte-network/pom.xml +++ b/ucte-network/pom.xml @@ -33,5 +33,12 @@ com.google.guava guava + + + + junit + junit + test + diff --git a/ucte-network/src/test/java/eu/itesla_project/ucte/network/CoverageTest.java b/ucte-network/src/test/java/eu/itesla_project/ucte/network/CoverageTest.java new file mode 100644 index 00000000..fa463f0e --- /dev/null +++ b/ucte-network/src/test/java/eu/itesla_project/ucte/network/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.ucte.network; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +} diff --git a/wca-integration/pom.xml b/wca-integration/pom.xml index 776c109e..add868fe 100644 --- a/wca-integration/pom.xml +++ b/wca-integration/pom.xml @@ -47,5 +47,12 @@ computation-local ${project.version} + + + + junit + junit + test + diff --git a/wca-integration/src/test/java/eu/itesla_project/wca/CoverageTest.java b/wca-integration/src/test/java/eu/itesla_project/wca/CoverageTest.java new file mode 100644 index 00000000..6338656c --- /dev/null +++ b/wca-integration/src/test/java/eu/itesla_project/wca/CoverageTest.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2017, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package eu.itesla_project.wca; + +import org.junit.Test; + +/** + * @author Mathieu Bague + */ +public class CoverageTest { + + @Test + public void testNothing() { + } +}