Esempio n. 1
0
		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);
 }
Esempio n. 5
0
        protected override object GetElementKey(ConfigurationElement element)
        {
            CodeSubDirectory sd = (CodeSubDirectory)element;

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