Ejemplo n.º 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);
        }
Ejemplo n.º 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
        }
Ejemplo n.º 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
        }
Ejemplo n.º 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
        }
Ejemplo n.º 5
0
        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 );
        }
Ejemplo n.º 6
0
        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
        }
Ejemplo n.º 7
0
        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
        }
Ejemplo n.º 8
0
        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
        }