Exemplo n.º 1
0
        public void Protected()
        {
            CodeGeneratorTest cg = new CodeGeneratorTest();

            // test protected (but not abstract) stuff from within the class itself
            cg.TestProtectedProperties();
            cg.TestProtectedMethods();
        }
Exemplo n.º 2
0
        public void Public()
        {
            CodeGeneratorTest cg = new CodeGeneratorTest();

            try {
                cg.GenerateCodeFromMember(new CodeTypeMember(), writer, null);
            }
            catch (NotImplementedException) {
                // mono
            }
        }
Exemplo n.º 3
0
		public void Protected ()
		{
			CodeGeneratorTest cg = new CodeGeneratorTest ();
			// test protected (but not abstract) stuff from within the class itself
			cg.TestProtectedProperties ();
			cg.TestProtectedMethods ();
		}
Exemplo n.º 4
0
		public void Public ()
		{
			CodeGeneratorTest cg = new CodeGeneratorTest ();
			try {
				cg.GenerateCodeFromMember (new CodeTypeMember (), writer, null);
			}
			catch (NotImplementedException) {
				// mono
			}
		}