Example #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Ignore("Test ignored. CAM-9441: Bug fix needed") @Test public void testInputParameterListChildAssignment()
        public virtual void testInputParameterListChildAssignment()
        {
            try
            {
                CamundaInputParameter inputParamElement = modelInstance.newInstance(typeof(CamundaInputParameter));
                inputParamElement.CamundaName = "aVariable";

                CamundaList listElement = modelInstance.newInstance(typeof(CamundaList));

                inputParamElement.addChildElement(listElement);
            }
            catch (Exception e)
            {
                fail("CamundaList should be accepted as a child element of CamundaInputParameter. Error: " + e.Message);
            }
        }
Example #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Ignore("Test ignored. CAM-9441: Bug fix needed") @Test public void testIntputParameterScriptChildAssignment()
        public virtual void testIntputParameterScriptChildAssignment()
        {
            try
            {
                CamundaInputParameter inputParamElement = modelInstance.newInstance(typeof(CamundaInputParameter));
                inputParamElement.CamundaName = "aVariable";

                CamundaScript scriptElement = modelInstance.newInstance(typeof(CamundaScript));
                scriptElement.CamundaScriptFormat = "juel";
                scriptElement.TextContent         = "${'a script'}";

                inputParamElement.addChildElement(scriptElement);
            }
            catch (Exception e)
            {
                fail("CamundaScript should be accepted as a child element of CamundaInputParameter. Error: " + e.Message);
            }
        }