示例#1
0
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28();
            int errors = 0;

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

            string[] presRef = s.GetLinkbaseReference(TestTaxonomy_2005_02_28.TARGET_LINKBASE_URI + TestTaxonomy_2005_02_28.PRESENTATION_ROLE);

            Assert.AreEqual(US_GAAP_PRESNTATION_FILE, presRef[0]);
        }
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28();
            int errors = 0;

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

            string[] presRef = s.GetLinkbaseReference( TestTaxonomy_2005_02_28.TARGET_LINKBASE_URI + TestTaxonomy_2005_02_28.PRESENTATION_ROLE );

            Assert.AreEqual( US_GAAP_PRESNTATION_FILE, presRef[0] );
        }