[Test][Ignore("do this later")] public void SAG_GetLinkbaseRef_Presentation() { TestSchema s = new TestSchema(); ErrorInfo ei = null; Assert.AreEqual(true, s.Load(SAG_FILE, out ei), "Could not load SAG File"); Assert.IsNull(ei); string labelRef = s.GetLinkbaseReference(TestSchema.TARGET_LINKBASE_URI + TestSchema.PRESENTATION_ROLE); Assert.AreEqual("blue", labelRef); }
[Test] public void GAAP_GetLinkbaseRef_Presentation() { TestSchema s = new TestSchema(); ErrorInfo ei = null; Assert.AreEqual(true, s.Load(US_GAAP_FILE, out ei), "Could not load US GAAP File"); Assert.IsNull(ei); string presRef = s.GetLinkbaseReference(TestSchema.TARGET_LINKBASE_URI + TestSchema.PRESENTATION_ROLE); if (ei != null) { throw new Exception(ei.ExceptionMsg); } #if AUTOMATED Assert.AreEqual(@"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\us-gaap-ci-2004-06-15-presentation.xml", presRef); #else Assert.AreEqual(@"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\us-gaap-ci-2004-06-15-presentation.xml", presRef); #endif }
public void GAAP_GetLinkbaseRef_Presentation() { TestSchema s = new TestSchema(); ErrorInfo ei = null; Assert.AreEqual( true, s.Load( US_GAAP_FILE, out ei ), "Could not load US GAAP File" ); Assert.IsNull( ei ); string presRef = s.GetLinkbaseReference( TestSchema.TARGET_LINKBASE_URI + TestSchema.PRESENTATION_ROLE ); if ( ei != null ) { throw new Exception( ei.ExceptionMsg ); } #if AUTOMATED Assert.AreEqual( @"q:\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\us-gaap-ci-2004-06-15-presentation.xml", presRef ); #else Assert.AreEqual( @"c:\Aucent\MAX\axe\XBRLParser\TestSchemas\XBRL 2.1 Updated\us-gaap-ci-2004-06-15-presentation.xml", presRef ); #endif }
public void SAG_GetLinkbaseRef_Presentation() { TestSchema s = new TestSchema(); ErrorInfo ei = null; Assert.AreEqual( true, s.Load( SAG_FILE, out ei ), "Could not load SAG File" ); Assert.IsNull( ei ); string labelRef = s.GetLinkbaseReference( TestSchema.TARGET_LINKBASE_URI + TestSchema.PRESENTATION_ROLE ); Assert.AreEqual( "blue", labelRef ); }