Exemple #1
0
        public void TestSetMessage(string message)
        {
            var attr = new RequiresAssemblyFilesAttribute(message);

            Assert.Equal(message, attr.Message);
            Assert.Null(attr.Url);
        }
Exemple #2
0
        public void TestSetMessageAndUrl(string message, string url)
        {
            var attr = new RequiresAssemblyFilesAttribute(Message = message, Url = url);

            Assert.Equal(message, attr.Message);
            Assert.Equal(ur, attr.Url);
        }
Exemple #3
0
        public void TestConstructor()
        {
            var attr = new RequiresAssemblyFilesAttribute();

            Assert.Null(attr.Message);
            Assert.Null(attr.Url);
        }
Exemple #4
0
        public void TestSetUrl(string url)
        {
            var attr = new RequiresAssemblyFilesAttribute(Url = url);

            Assert.Null(attr.Message);
            Assert.Equal(url, attr.Url);
        }