Package org.nuiton.eugene.models.object
Class XMI12ToObjectModelTest
- java.lang.Object
-
- org.nuiton.eugene.models.object.XMI12ToObjectModelTest
-
public class XMI12ToObjectModelTest extends Object
Test de la feuille de style "xmi1.2ToObjectModel.xsl" sur l'exemple isis-fish.xmi- Author:
- chatellier
-
-
Field Summary
Fields Modifier and Type Field Description protected static File
destinationDirectory
-
Constructor Summary
Constructors Constructor Description XMI12ToObjectModelTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
beforeTest()
protected ObjectModel
loadModel(File modelFile)
Load model into memory.void
testXSLDependency()
Apply XSL stylesheet on an Argouml model.void
testXSLEnumeration()
Apply XSL stylesheet on an Argouml model.void
testXSLIsis()
Apply XSL stylesheet on a topcased model.void
testXSLTopia()
Apply XSL stylesheet on a topcased model.protected File
transformXMI(File xmiFile, String modelFile)
Apply XSLT Transformation.
-
-
-
Field Detail
-
destinationDirectory
protected static File destinationDirectory
-
-
Method Detail
-
beforeTest
public static void beforeTest() throws IOException
- Throws:
IOException
-
transformXMI
protected File transformXMI(File xmiFile, String modelFile) throws IOException, TransformerException
Apply XSLT Transformation.- Parameters:
xmiFile
-modelFile
-- Returns:
- transformed file
- Throws:
IOException
TransformerException
-
loadModel
protected ObjectModel loadModel(File modelFile) throws IOException
Load model into memory.- Parameters:
modelFile
-- Returns:
- object model
- Throws:
IOException
-
testXSLIsis
public void testXSLIsis() throws Exception
Apply XSL stylesheet on a topcased model. And make test on it.- Throws:
Exception
-
testXSLTopia
public void testXSLTopia() throws Exception
Apply XSL stylesheet on a topcased model. And make test on it.- Throws:
Exception
-
testXSLDependency
public void testXSLDependency() throws Exception
Apply XSL stylesheet on an Argouml model. And make test on it.- Throws:
Exception
-
-