Skip to content

Commit

Permalink
More test clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Gomes, Ivan (397G) authored and Gomes, Ivan (397G) committed Nov 2, 2016
1 parent f45e7bc commit 1e3b396
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nasa.jpl.mbee.mdk.test.tests;
package gov.nasa.jpl.mbee.mdk.test.framework;

import com.nomagic.magicdraw.core.Application;
import com.nomagic.magicdraw.tests.MagicDrawTestRunner;
Expand All @@ -22,13 +22,8 @@
*/

public class ApplicationStartClassRunner extends BlockJUnit4ClassRunner {
//private static final String FRAMEWORK_LAUNCHER_CLASS = System.getProperty("com.nomagic.osgi.launcher", "com.nomagic.osgi.launcher.ProductionFrameworkLauncher");

private final Class<?> testClass;

public ApplicationStartClassRunner(Class<?> clazz) throws InitializationError {
super(clazz);
testClass = clazz;

try {
Application.getInstance().start(true, true, false, new String[]{"TESTER"}, null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nasa.jpl.mbee.mdk.test.tests;
package gov.nasa.jpl.mbee.mdk.test.framework;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -38,6 +38,7 @@
* @author Tommy Hang, Aaron Black, Ryan Oillataguerre
*
*/
@Deprecated
public abstract class MDKTestCase extends MagicDrawTestCase {
protected static String testRoot = "";
protected static String mdRoot = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.nomagic.magicdraw.plugins.Plugin;
import com.nomagic.magicdraw.plugins.PluginUtils;
import gov.nasa.jpl.mbee.mdk.test.framework.ApplicationStartClassRunner;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.nomagic.magicdraw.tests.MagicDrawTestRunner;
import com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gov.nasa.jpl.mbee.mdk.test.tests.integration;

import gov.nasa.jpl.mbee.mdk.test.tests.MDKTestCase;
import gov.nasa.jpl.mbee.mdk.test.framework.MDKTestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;

Expand Down

0 comments on commit 1e3b396

Please sign in to comment.