All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.andromda.translation.ocl.testsuite.TranslationTest-Rules.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<!-- these are the digester rules used to load
     a Library object by Apache Digester -->
<digester-rules>

    <pattern value="translation-test">

        <object-create-rule
                classname="org.andromda.translation.ocl.testsuite.TranslationTest"/>

        <pattern value="translation">

            <set-properties-rule>
                <alias attr-name="name" prop-name="translation"/>
            </set-properties-rule>

        </pattern>

        <!-- add the TemplateEngine implementation to the Cartridge -->

        <pattern value="expression">

            <object-create-rule
                    classname="org.andromda.translation.ocl.testsuite.ExpressionTest"/>

            <call-method-rule
                    pattern="to"
                    methodname="setTo"
                    paramcount="1"/>

            <call-param-rule
                    pattern="to"
                    paramnumber="0"/>

            <call-method-rule
                    pattern="from"
                    methodname="setFrom"
                    paramcount="1"/>

            <call-param-rule
                    pattern="from"
                    paramnumber="0"/>

            <set-next-rule methodname="addExpression"/>

        </pattern>

    </pattern>

</digester-rules>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy