示例#1
0
        public void SBUS_ApplicationLayerPluginHelperConstructorTest()
        {
            Type tp = typeof(SBUS_ApplicationLayerPluginHelper);

            Assert.AreEqual(tp.GUID.CompareTo(new Guid("E1F88110-13B3-4c70-9234-C8A95AAB9BCF")), 0, "Guid odes not much");
            try
            {
                SBUS_ApplicationLayerPluginHelper target = new SBUS_ApplicationLayerPluginHelper();
            }
            catch (System.ComponentModel.LicenseException ex)
            {
                TestContext.WriteLine(ex.Message);
                Assert.IsTrue(true);
            }
        }
        public void SBUS_ApplicationLayerPluginHelperConstructorTest()
        {
            Type tp = typeof(SBUS_ApplicationLayerPluginHelper);

            Assert.AreEqual(tp.GUID.CompareTo(new Guid("D83FA3B0-161A-4426-A2EB-B6C513A8CEE8")), 0, "Guid odes not much");
            try
            {
                SBUS_ApplicationLayerPluginHelper target = new SBUS_ApplicationLayerPluginHelper();
            }
            catch (System.ComponentModel.LicenseException ex)
            {
                TestContext.WriteLine(ex.Message);
                Assert.IsTrue(true);
            }
        }