Package org.nuiton.eugene.models.object
Class XMI21ToObjectModelTest
- java.lang.Object
-
- org.nuiton.eugene.models.object.XMI21ToObjectModelTest
-
public class XMI21ToObjectModelTest extends Object
Deprecated.since 20200421 this test is disabled because new ResourceResolver() result is a classcastexceptionTest de la feuille de style "xmi2.1ToObjectModel.xsl" sur l'exemple TestXMI21.uml- Author:
- chatellier
-
-
Field Summary
Fields Modifier and Type Field Description protected static File
destinationDirectory
Deprecated.
-
Constructor Summary
Constructors Constructor Description XMI21ToObjectModelTest()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
beforeTest()
Deprecated.protected ObjectModel
loadModel(File modelFile)
Deprecated.Load model into memory.void
testExtractCmsCore()
Deprecated.void
testTestXMI21Documentation()
Deprecated.Apply XSL stylesheet on TestXMI21 Check documentation tags on model, class, attribute, operation and enumerationsvoid
testTestXMI21InnerClasses()
Deprecated.Apply XSL stylesheet on a topcased model.void
testTestXMI21SuperClasses()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLTestXMI21()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLTestXMI21EmbeddedPrimitiveType()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLTestXMI21MultiplicityClass()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLTestXMI21StaticAndDefaultValueAttribute()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLVpod()
Deprecated.Apply XSL stylesheet on a topcased model.void
testXSLWithStereotype()
Deprecated.Apply XSL stylesheet on a topcased model.protected File
transformXMI(File xmiFile, String outModel)
Deprecated.Apply XSLT Transformation.protected ObjectModel
xmiToObjectModel(String modelName)
Deprecated.Apply xslt on xmi model, and load it.
-
-
-
Field Detail
-
destinationDirectory
protected static File destinationDirectory
Deprecated.
-
-
Method Detail
-
beforeTest
public static void beforeTest() throws IOException
Deprecated.- Throws:
IOException
-
transformXMI
protected File transformXMI(File xmiFile, String outModel) throws IOException, TransformerException
Deprecated.Apply XSLT Transformation.- Parameters:
xmiFile
-- Returns:
- transformed file
- Throws:
IOException
TransformerException
-
loadModel
protected ObjectModel loadModel(File modelFile) throws IOException
Deprecated.Load model into memory.- Parameters:
modelFile
-- Returns:
- object model
- Throws:
IOException
-
xmiToObjectModel
protected ObjectModel xmiToObjectModel(String modelName) throws URISyntaxException, IOException, TransformerException
Deprecated.Apply xslt on xmi model, and load it.- Parameters:
modelName
- model to load- Throws:
URISyntaxException
TransformerException
IOException
-
testXSLTestXMI21
public void testXSLTestXMI21() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on it.
-
testXSLVpod
public void testXSLVpod() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on it.
-
testXSLWithStereotype
public void testXSLWithStereotype() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on it.
-
testXSLTestXMI21EmbeddedPrimitiveType
public void testXSLTestXMI21EmbeddedPrimitiveType() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on embedded primitive type
-
testXSLTestXMI21MultiplicityClass
public void testXSLTestXMI21MultiplicityClass() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on embedded primitive type
-
testXSLTestXMI21StaticAndDefaultValueAttribute
public void testXSLTestXMI21StaticAndDefaultValueAttribute() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on embedded primitive type
-
testTestXMI21SuperClasses
public void testTestXMI21SuperClasses() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. And make test on embedded primitive type
-
testTestXMI21InnerClasses
public void testTestXMI21InnerClasses() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on a topcased model. Test for InnerClasses
-
testTestXMI21Documentation
public void testTestXMI21Documentation() throws URISyntaxException, IOException, TransformerException
Deprecated.Apply XSL stylesheet on TestXMI21 Check documentation tags on model, class, attribute, operation and enumerations
-
-