Exemplo n.º 1
0
        [Test] public void GAAP_OutputTaxonomy()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load(US_GAAP_FILE);

            int errors = 0;

            s.Parse(out errors);

#if !AUTOMATED
            using (StreamWriter sw = new StreamWriter(US_OUT_FILE))
            {
                sw.Write(s.ToXmlString(false));
            }
#endif
        }
Exemplo n.º 2
0
        [Test] public void GAAP_VerifyPresentationCorrect()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load(US_GAAP_FILE);

            int errors = 0;

            s.Parse(out errors);

            string rawXml = s.ToXmlString();

            s.currentLabelRole = "terseLabel";
            s.CurrentLanguage  = "en";

            ArrayList nodes = s.GetNodesByPresentation();
        }
Exemplo n.º 3
0
        [Test][Ignore("Superceded by GAAP_OutputTaxonomy")] public void PT_OutputTaxonomy()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load(PT_GAAP_FILE);

            int errors = 0;

            s.Parse(out errors);

#if !AUTOMATED
            using (StreamWriter sw = new StreamWriter(PT_OUT_FILE))
            {
                sw.Write(s.ToXmlString());
            }
#endif
        }
Exemplo n.º 4
0
        [Test] public void GAAP_OutputTaxonomyByNodes()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load(US_GAAP_FILE);

            int errors = 0;

            s.Parse(out errors);

#if !AUTOMATED
            using (StreamWriter sw = new StreamWriter(NODE_OUT_FILE))
            {
                s.currentLanguage  = "en";
                s.currentLabelRole = "terseLabel";

                sw.Write(s.ToXmlString(s.GetNodesByPresentation()));
            }
#endif
        }
Exemplo n.º 5
0
        public void PT_OutputTaxonomy()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load( PT_GAAP_FILE);

            int errors = 0;

            s.Parse( out errors );

            #if !AUTOMATED
            using ( StreamWriter sw = new StreamWriter( PT_OUT_FILE ) )
            {
                sw.Write( s.ToXmlString() );
            }
            #endif
        }
Exemplo n.º 6
0
        public void GAAP_VerifyPresentationCorrect()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load( US_GAAP_FILE);

            int errors = 0;

            s.Parse( out errors );

            string rawXml = s.ToXmlString();

            s.currentLabelRole = "terseLabel";
            s.CurrentLanguage = "en";

            ArrayList nodes = s.GetNodesByPresentation();
        }
Exemplo n.º 7
0
        public void GAAP_OutputTaxonomyByNodes()
        {
            TestTaxonomy_2004_07_06 s = new TestTaxonomy_2004_07_06();

            s.Load( US_GAAP_FILE);

            int errors = 0;

            s.Parse( out errors );

            #if !AUTOMATED
            using ( StreamWriter sw = new StreamWriter( NODE_OUT_FILE ) )
            {
                s.currentLanguage = "en";
                s.currentLabelRole = "terseLabel";

                sw.Write( s.ToXmlString( s.GetNodesByPresentation() ) );
            }
            #endif
        }