Skip to content

Commit

Permalink
Remove test jars usage (#515)
Browse files Browse the repository at this point in the history
* Remove executions goals from sld-cgmes-dl-iidm-extensions

* Add new module powsybl-single-line-diagram-cgmes-iidm-extensions-test

* Import Networks class from powsybl-single-line-diagram-cgmes-iidm-extensions-test

* Use new module powsybl-single-line-diagram-cgmes-iidm-extensions-test instead of using test-jars

* Rename & move module powsybl-single-line-diagram-cgmes-iidm-extensions-test to diagram-test

* Fix sonar bug

* Use Networks class instead of duplication code

* Merge NetworkTestFactory into Networks class

* Fix code smells on Networks class

* Replace CreateNetworksUtil & NetworkFactory by Networks class

* Fix code smells on Netorks

* Taking into account PR comments

* Fix code smells on Networks class

Signed-off-by: Thomas ADAM <tadam@silicom.fr>
  • Loading branch information
tadam50 authored May 31, 2023
1 parent 39b4eb0 commit f05813c
Show file tree
Hide file tree
Showing 101 changed files with 2,589 additions and 2,536 deletions.
55 changes: 55 additions & 0 deletions diagram-test/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2023, 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/.
SPDX-License-Identifier: MPL-2.0
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-diagram</artifactId>
<version>4.0.0-SNAPSHOT</version>
</parent>

<artifactId>powsybl-diagram-test</artifactId>
<name>PowSyBl diagram test</name>
<description>Set of testing classes for PowSyBl Diagram</description>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<dependencies>
<!-- compilation dependencies -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-api</artifactId>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-commons</artifactId>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-extensions</artifactId>
<version>5.2.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit f05813c

Please sign in to comment.