Exemple #1
0
        [Test] public void IFRS_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_IFRS_2004_06_15 s = new TestTaxonomy_IFRS_2004_06_15();

            int errors = 0;

            Assert.AreEqual(true, s.Load(IFRS_FILE, out errors), "Could not load US IFRS File");

            string presRef = s.GetLinkbaseReference(TestTaxonomy_IFRS_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_IFRS_2004_06_15.PRESENTATION_ROLE);

            Assert.AreEqual(@"s:\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef);
        }
        public void IFRS_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_IFRS_2004_06_15 s = new TestTaxonomy_IFRS_2004_06_15();

            int errors = 0;

            Assert.AreEqual( true, s.Load( IFRS_FILE, out errors ), "Could not load US IFRS File" );

            string presRef = s.GetLinkbaseReference( TestTaxonomy_IFRS_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_IFRS_2004_06_15.PRESENTATION_ROLE );

            Assert.AreEqual( @"s:\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef );
        }