public void WhiteSpaceTrimTest ()
		{
			CodeSubDirectory c = new CodeSubDirectory (" /this/is/a/path/with-spaces ");
			Assert.AreEqual (" /this/is/a/path/with-spaces ", c.DirectoryName, "A1");

			c.DirectoryName = " /another/one";
			Assert.AreEqual (" /another/one", c.DirectoryName, "A2");

			c.DirectoryName = "/one/more ";
			Assert.AreEqual ("/one/more ", c.DirectoryName, "A3");
		}
 public void Add(CodeSubDirectory codeSubDirectory)
 {
 }
 public void Add(CodeSubDirectory codeSubDirectory)
 {
     this.BaseAdd(codeSubDirectory);
 }
 public void Add(CodeSubDirectory codeSubDirectory) {
     BaseAdd(codeSubDirectory);
 }
Beispiel #5
0
        protected override object GetElementKey(ConfigurationElement element)
        {
            CodeSubDirectory sd = (CodeSubDirectory)element;

            return(sd.DirectoryName);
        }
 public void Add(CodeSubDirectory codeSubDirectory)
 {
 }
		public void setter_validationFailure ()
		{
			CodeSubDirectory c = new CodeSubDirectory ("hi");
			c.DirectoryName = "";
		}
		public void ctor_validationFailure ()
		{
			CodeSubDirectory c = new CodeSubDirectory ("");
		}