예제 #1
0
        public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_08_15 s = new TestTaxonomy_2004_08_15();

            s.Load(PT_GAAP_FILE);

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

            Assert.AreEqual(TestCommon.FolderRoot + @"XBRL 2.1 Updated" + System.IO.Path.DirectorySeparatorChar + "2004-08-15" + System.IO.Path.DirectorySeparatorChar + "usfr-pt-2004-08-15-presentation.xml", presRef[0]);
        }
예제 #2
0
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_08_15 s = new TestTaxonomy_2004_08_15();
            int errors = 0;

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

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

            Assert.AreEqual(TestCommon.FolderRoot + @"XBRL 2.1 Updated" + System.IO.Path.DirectorySeparatorChar + "2004-08-15" + System.IO.Path.DirectorySeparatorChar + "us-gaap-ci-2004-08-15-presentation.xml", presRef[0]);
        }
예제 #3
0
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_08_15 s = new TestTaxonomy_2004_08_15();
            int errors = 0;

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

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

            Assert.AreEqual( TestCommon.FolderRoot + @"XBRL 2.1 Updated" +System.IO.Path.DirectorySeparatorChar +"2004-08-15" +System.IO.Path.DirectorySeparatorChar +"us-gaap-ci-2004-08-15-presentation.xml", presRef[0] );
        }
예제 #4
0
        public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_08_15 s = new TestTaxonomy_2004_08_15();

            s.Load( PT_GAAP_FILE);

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

            Assert.AreEqual( TestCommon.FolderRoot + @"XBRL 2.1 Updated" +System.IO.Path.DirectorySeparatorChar +"2004-08-15" +System.IO.Path.DirectorySeparatorChar +"usfr-pt-2004-08-15-presentation.xml", presRef[0] );
        }