Пример #1
0
        [Test] public void GAAP_TargetNamespace()
        {
            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);

            s.GetTargetNamespace();

            Assert.AreEqual("http://www.xbrl.org/taxonomy/us/fr/gaap/ci/us-gaap-ci-2004-06-15", s.targetNamespace);
        }
Пример #2
0
        [Test] public void PT_TargetNamespace()
        {
            TestSchema s = new TestSchema();

            ErrorInfo ei = null;

            Assert.AreEqual(true, s.Load(PT_GAAP_FILE, out ei), "Could not load PT GAAP File");
            Assert.IsNull(ei);

            s.GetTargetNamespace();

            Assert.AreEqual("http://www.xbrl.org/taxonomy/us/fr/common/pt/usfr-pt-2004-06-15", s.targetNamespace);
        }
Пример #3
0
        [Test][Ignore("Worry about this later")] public void SAG_TargetNamespace()
        {
            TestSchema s = new TestSchema();

            ErrorInfo ei = null;

            Assert.AreEqual(true, s.Load(SAG_FILE, out ei), "Could not load SoftwareAge File");
            Assert.IsNull(ei);

            s.GetTargetNamespace();

            Assert.IsNull(ei);
            Assert.IsNull(s.targetNamespace);
        }
Пример #4
0
        public void SAG_TargetNamespace()
        {
            TestSchema s = new TestSchema();

            ErrorInfo ei = null;

            Assert.AreEqual( true, s.Load( SAG_FILE, out ei ), "Could not load SoftwareAge File" );
            Assert.IsNull( ei );

            s.GetTargetNamespace();

            Assert.IsNull( ei );
            Assert.IsNull( s.targetNamespace );
        }
Пример #5
0
        public void PT_TargetNamespace()
        {
            TestSchema s = new TestSchema();

            ErrorInfo ei = null;

            Assert.AreEqual( true, s.Load( PT_GAAP_FILE, out ei ), "Could not load PT GAAP File" );
            Assert.IsNull( ei );

            s.GetTargetNamespace();

            Assert.AreEqual( "http://www.xbrl.org/taxonomy/us/fr/common/pt/usfr-pt-2004-06-15", s.targetNamespace );
        }
Пример #6
0
        public void GAAP_TargetNamespace()
        {
            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 );

            s.GetTargetNamespace();

            Assert.AreEqual( "http://www.xbrl.org/taxonomy/us/fr/gaap/ci/us-gaap-ci-2004-06-15", s.targetNamespace );
        }