System.Xml.Tests.CLoadTest.LoadGeneric4 C# (CSharp) Méthode

LoadGeneric4() private méthode

private LoadGeneric4 ( ) : void
Résultat void
        public void LoadGeneric4()
        {
            if (MyInputType() != InputType.Reader)
                LoadXSL("showParamLongName.xsl", InputType.Reader);
            if (MyInputType() != InputType.URI)
                LoadXSL("showParamLongName.xsl", InputType.URI);
            if (MyInputType() != InputType.Navigator)
                LoadXSL("showParamLongName.xsl", InputType.Navigator);

            if ((LoadXSL("ShowParam.xsl") == 0) || (Transform("fruits.xml") == 0)
                    || (CheckResult(466.5112789241) == 0))
                Assert.True(false);

            if (MyInputType() != InputType.Navigator)
                LoadXSL("showParamLongName.xsl", InputType.Navigator);
            if (MyInputType() != InputType.URI)
                LoadXSL("showParamLongName.xsl", InputType.URI);
            if (MyInputType() != InputType.Reader)
                LoadXSL("showParamLongName.xsl", InputType.Reader);

            if ((LoadXSL("ShowParam.xsl") == 1) && (Transform("fruits.xml") == 1)
                    && (CheckResult(466.5112789241) == 1))
                return;

            Assert.True(false);
        }

Same methods

CLoadTest::LoadGeneric4 ( object param ) : void