public void GAAP_GetSupportedLanguages() { TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28(); s.Load(US_GAAP_FILE); int errors = 0; s.Parse(out errors); Assert.AreEqual(0, errors); ArrayList langs = s.GetSupportedLanguages(false, out errors); Assert.AreEqual(0, errors); Assert.AreEqual(1, langs.Count); Assert.AreEqual("en", langs[0]); }
public void GAAP_GetSupportedLanguages() { TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28(); s.Load( US_GAAP_FILE); int errors = 0; s.Parse(out errors); Assert.AreEqual(0, errors); ArrayList langs = s.GetSupportedLanguages(false, out errors); Assert.AreEqual( 0, errors ); Assert.AreEqual( 1, langs.Count ); Assert.AreEqual( "en", langs[0] ); }