Beispiel #1
0
        [Test] public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load(PT_GAAP_FILE);

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

#if AUTOMATED
            Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\usfr-pt-2004-07-06-presentation.xml", presRef);
#else
            Assert.AreEqual(@"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\usfr-pt-2004-07-06-presentation.xml", presRef);
#endif
        }
Beispiel #2
0
        [Test] public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            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_07_06.TARGET_LINKBASE_URI + TestTaxonomy_2004_07_06.PRESENTATION_ROLE);

#if AUTOMATED
            Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\us-gaap-ci-2004-07-06-presentation.xml", presRef);
#else
            Assert.AreEqual(@"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\us-gaap-ci-2004-07-06-presentation.xml", presRef);
#endif
        }
        public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load( PT_GAAP_FILE);

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

            #if AUTOMATED
            Assert.AreEqual( @"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\usfr-pt-2004-07-06-presentation.xml", presRef );
            #else
            Assert.AreEqual( @"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\usfr-pt-2004-07-06-presentation.xml", presRef );
            #endif
        }
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            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_07_06.TARGET_LINKBASE_URI + TestTaxonomy_2004_07_06.PRESENTATION_ROLE );

            #if AUTOMATED
            Assert.AreEqual( @"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\us-gaap-ci-2004-07-06-presentation.xml", presRef );
            #else
            Assert.AreEqual( @"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-07-06\us-gaap-ci-2004-07-06-presentation.xml", presRef );
            #endif
        }