Changeset 1763 for trunk/autoquest-plugin-uml-test/src/test/java/de/ugoe/cs
- Timestamp:
- 09/25/14 15:41:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-uml-test/src/test/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtilsTest.java
r1759 r1763 22 22 import java.util.Random; 23 23 24 import org.apache.commons.lang.SerializationUtils; 24 25 import org.eclipse.uml2.uml.Interaction; 25 26 import org.eclipse.uml2.uml.Model; … … 38 39 import de.ugoe.cs.autoquest.testgeneration.RandomWalkGenerator; 39 40 import de.ugoe.cs.autoquest.usageprofiles.FirstOrderMarkovModel; 41 import de.ugoe.cs.autoquest.usageprofiles.IStochasticProcess; 40 42 41 43 /** … … 213 215 } 214 216 } 217 218 @Test 219 public void testCreateScheduling_1() throws Exception { 220 Model model = 221 ModelUtils.loadModel(ClassLoader 222 .getSystemResourceAsStream("testCreateScheduling_1_testsuite.uml")); 223 224 IStochasticProcess usageProfile = (IStochasticProcess) SerializationUtils.deserialize(ClassLoader.getSystemResourceAsStream("testCreateScheduling_1_usageprofile.dat")); 225 226 UMLUtils.createScheduling(model, usageProfile); 227 228 ModelUtils.writeModelToFile(model, OUTPUT_DIR + "testCreateScheduling_1_result.uml"); 229 } 215 230 216 231 private void deleteFiles(File file) {
Note: See TracChangeset
for help on using the changeset viewer.