-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task #169 change "massPerUnit" to "mass"
- Loading branch information
Showing
12 changed files
with
529 additions
and
27 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
...on.cefx.test/src-gen/de/dlr/sc/virsat/model/extension/cefx/migrator/AMigrator1v1Test.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...l.extension.cefx.test/src-gen/de/dlr/sc/virsat/model/extension/cefx/test/AllTestsGen.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...tension.cefx.test/src/de/dlr/sc/virsat/model/extension/cefx/migrator/Migrator1v1Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*******************************************************************************/ | ||
package de.dlr.sc.virsat.model.extension.cefx.migrator; | ||
|
||
// ***************************************************************** | ||
// * Import Statements | ||
// ***************************************************************** | ||
|
||
|
||
import de.dlr.sc.virsat.model.dvlm.DVLMFactory; | ||
import de.dlr.sc.virsat.model.dvlm.Repository; | ||
|
||
// ***************************************************************** | ||
// * Class Declaration | ||
// ***************************************************************** | ||
|
||
import org.junit.Test; | ||
|
||
/** | ||
* Auto Generated Class inheriting from Generator Gap Class | ||
* | ||
* This class is generated once, do your changes here | ||
* | ||
* VirSat DLR CEF Concept for extended Product Structures | ||
* | ||
*/ | ||
public class Migrator1v1Test extends AMigrator1v1Test { | ||
|
||
@Test | ||
public void testMigrator1v1() { | ||
Migrator1v1 testMigrator1v1 = new Migrator1v1(); | ||
|
||
Repository repository = DVLMFactory.eINSTANCE.createRepository(); | ||
repository.getActiveConcepts().add(conceptMigrateFromRepository); | ||
|
||
//TODO: Setup test instances | ||
|
||
testMigrator1v1.migrate(conceptMigrateFrom, conceptMigrateFromRepository, conceptMigrateTo); | ||
|
||
//TODO: Check for correct migration | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.