Esempio n. 1
0
        public void SaveMetadataForTest()
        {
            IConnector conn = null; // Initialize and connect
            var        m    = MetadataTester.GetMetadata(conn);

            MetadataTester.SaveMetadata(m, "MetadataCompare.json");
        }
Esempio n. 2
0
        public void CompareMetadata()
        {
            IConnector conn = null; // Initialize and connect
            var        mNew = MetadataTester.GetMetadata(conn);

            var mOld = MetadataTester.OpenMetadata("MetadataCompare.json");

            var results = new FullResults(mOld, mNew);

            if (!results.AreSame())
            {
                Debug.Print(results.Print());
            }
            Assert.IsTrue(results.AreSame());
        }