Esempio n. 1
0
        public void TestImplementationTitle()
        {
            ReactionSpecification spec = new ReactionSpecification(REAC_REF, REAC_IMPL_TITLE, REAC_IMPL_ID,
                                                                   REAC_IMPL_VENDOR);

            Assert.AreEqual(REAC_IMPL_TITLE, spec.ImplementationTitle);
        }
Esempio n. 2
0
        public void TestReactionSpecification_String_String_String_String()
        {
            ReactionSpecification spec = new ReactionSpecification(REAC_REF, REAC_IMPL_TITLE, REAC_IMPL_ID,
                                                                   REAC_IMPL_VENDOR);

            Assert.IsNotNull(spec);
        }
Esempio n. 3
0
        public void TestSpecificationReference()
        {
            ReactionSpecification spec = new ReactionSpecification(REAC_REF, REAC_IMPL_TITLE, REAC_IMPL_ID,
                                                                   REAC_IMPL_VENDOR);

            Assert.AreEqual(REAC_REF, spec.SpecificationReference);
        }
Esempio n. 4
0
        public void TestGetSpecification()
        {
            ReactionSpecification spec = reaction.Specification;

            Assert.IsNotNull(spec, "The descriptor specification returned must not be null.");

            Assert.IsNotNull(spec.ImplementationIdentifier, "The specification identifier must not be null.");
            Assert.AreNotSame(0, spec.ImplementationIdentifier.Length, "The specification identifier must not be empty.");

            Assert.IsNotNull(spec.ImplementationTitle, "The specification title must not be null.");
            Assert.AreNotSame(0, spec.ImplementationTitle.Length, "The specification title must not be empty.");

            Assert.IsNotNull(spec.ImplementationVendor, "The specification vendor must not be null.");
            Assert.AreNotSame(0, spec.ImplementationVendor.Length, "The specification vendor must not be empty.");

            Assert.IsNotNull(spec.SpecificationReference, "The specification reference must not be null.");
            Assert.AreNotSame(0, spec.SpecificationReference.Length, "The specification reference must not be empty.");
        }
        public void TestImplementationIdentifier()
        {
            var spec = new ReactionSpecification(REAC_REF, REAC_IMPL_TITLE, REAC_IMPL_ID, REAC_IMPL_VENDOR);

            Assert.AreEqual(REAC_IMPL_ID, spec.ImplementationIdentifier);
        }