Beispiel #1
0
        [Test][Ignore("do this later")] public void SAG_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15();

            s.Load(SAG_FILE);

            string labelRef = s.GetLinkbaseReference(TestTaxonomy_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE);

            Assert.AreEqual("blue", labelRef);
        }
Beispiel #2
0
        [Test] public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15();

            s.Load(PT_GAAP_FILE);

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

#if AUTOMATED
            Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\usfr-pt-2004-06-15-presentation.xml", presRef);
#else
            Assert.AreEqual(@"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\usfr-pt-2004-06-15-presentation.xml", presRef);
#endif
        }
Beispiel #3
0
        [Test] public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_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_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE);

#if AUTOMATED
            Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\us-gaap-ci-2004-06-15-presentation.xml", presRef);
#else
            Assert.AreEqual(@"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\us-gaap-ci-2004-06-15-presentation.xml", presRef);
#endif
        }
Beispiel #4
0
        [Test] public void ifrs_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_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_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE);

#if AUTOMATED
            Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef);
#else
            Assert.AreEqual(@"C:\AUCENT\MAX\AXE\XBRLParser\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef);
#endif
        }
        public void SAG_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15();

            s.Load( SAG_FILE);

            string labelRef = s.GetLinkbaseReference( TestTaxonomy_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE );

            Assert.AreEqual( "blue", labelRef );
        }
        public void PT_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15();

            s.Load( PT_GAAP_FILE);

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

            #if AUTOMATED
            Assert.AreEqual( @"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\usfr-pt-2004-06-15-presentation.xml", presRef );
            #else
            Assert.AreEqual( @"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\2004-06-15\usfr-pt-2004-06-15-presentation.xml", presRef );
            #endif
        }
        public void ifrs_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_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_2004_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE );

            #if AUTOMATED
            Assert.AreEqual( @"q:\MAX\axe\XBRLParser\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef );
            #else
            Assert.AreEqual( @"C:\AUCENT\MAX\AXE\XBRLParser\TestSchemas\ifrs\ifrs-gp-2004-06-15-presentation.xml", presRef );
            #endif
        }
        public void GAAP_GetLinkbaseRef_Presentation()
        {
            TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_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_06_15.TARGET_LINKBASE_URI + TestTaxonomy_2004_06_15.PRESENTATION_ROLE );

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