[Test] public void ifrs_Test_VerifyTuples() { TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15(); s.CurrentLabelRole = "label"; s.CurrentLanguage = "en"; s.Load(IFRS_FILE); int errors = 0; s.Parse(out errors); ArrayList nodeList = s.GetNodesByElement(); Assert.IsNotNull(nodeList); Assert.AreEqual(2591, nodeList.Count); Console.WriteLine("Found Tuple Nodes: "); foreach (Node n in nodeList) { RecurseVerifyTuples(n); } }
[Test][Ignore("Just used to view nodes")] public void GAAP_Test_GetNodesByElement() { TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15(); s.CurrentLabelRole = "label"; s.CurrentLanguage = "en"; s.Load(US_GAAP_FILE); int errors = 0; s.Parse(out errors); ArrayList nodeList = s.GetNodesByElement(); Assert.IsNotNull(nodeList); Assert.AreEqual(1367, nodeList.Count); Console.WriteLine("Nodes By Element: "); foreach (Node n in nodeList) { Console.WriteLine(TestNode.ToXml(0, n)); } }
public void ifrs_Test_VerifyTuples() { TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15(); s.CurrentLabelRole = "label"; s.CurrentLanguage = "en"; s.Load( IFRS_FILE); int errors = 0; s.Parse( out errors ); ArrayList nodeList = s.GetNodesByElement(); Assert.IsNotNull( nodeList ); Assert.AreEqual( 2591, nodeList.Count ); Console.WriteLine( "Found Tuple Nodes: " ); foreach (Node n in nodeList ) { RecurseVerifyTuples( n ); } }
public void GAAP_Test_GetNodesByElement() { TestTaxonomy_2004_06_15 s = new TestTaxonomy_2004_06_15(); s.CurrentLabelRole = "label"; s.CurrentLanguage = "en"; s.Load( US_GAAP_FILE); int errors = 0; s.Parse( out errors ); ArrayList nodeList = s.GetNodesByElement(); Assert.IsNotNull( nodeList ); Assert.AreEqual( 1367, nodeList.Count ); Console.WriteLine( "Nodes By Element: " ); foreach (Node n in nodeList ) { Console.WriteLine( TestNode.ToXml( 0, n ) ); } }