Skip to content

Commit

Permalink
Merge pull request #201 from itesla/init_unit_tests
Browse files Browse the repository at this point in the history
Add dummy test in modules with no unit test (for code coverage)
  • Loading branch information
geofjamg authored Jan 17, 2017
2 parents 3be9162 + 3b8a648 commit 06e184f
Show file tree
Hide file tree
Showing 48 changed files with 1,563 additions and 909 deletions.
7 changes: 7 additions & 0 deletions cim1-import/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,12 @@
<artifactId>entsoe-util</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
18 changes: 18 additions & 0 deletions cim1-import/src/test/java/CoverageTest.java
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
11 changes: 9 additions & 2 deletions cim1-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,20 @@
<description>CIM ENTSO-E V1 model generated by CIM Gateway tool</description>

<dependencies>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.gdata</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.gdata</artifactId>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
20 changes: 20 additions & 0 deletions cim1-model/src/test/java/cim1/CoverageTest.java
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
7 changes: 7 additions & 0 deletions eurostag-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@
<artifactId>iidm-ddb-eurostag-import-export</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
7 changes: 7 additions & 0 deletions eurostag-network/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,12 @@
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>

<!-- Test denpendencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Original file line number Diff line number Diff line change
@@ -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 <mathieu.bague at rte-france.com>
*/
public class CoverageTest {

@Test
public void testNothing() {
}
}
Loading

0 comments on commit 06e184f

Please sign in to comment.