Esempio n. 1
0
            public void TestStringCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("alternate ctor foobar", layout.v1.Content.Content);
            }
Esempio n. 2
0
            public void TestCtorWithxStaticAttribute(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("alternate ctor Property", layout.v7.Content.Content);
            }
Esempio n. 3
0
            public void TestDefaultCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("default ctor", layout.v0.Content.Content);
            }
Esempio n. 4
0
            public void TestFactoryMethod(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("factory foo42", layout.v4.Content.Content);
            }
Esempio n. 5
0
            public void TestFactoryMethodParametersOrder(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("factory 42foo", layout.v5.Content.Content);
            }
Esempio n. 6
0
            public void TestIntCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("int ctor 42", layout.v2.Content.Content);
            }
Esempio n. 7
0
            public void TestArgumentlessFactoryMethod(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("parameterless factory", layout.v3.Content.Content);
            }
Esempio n. 8
0
			public void TestFactoryMethod (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("factory foo42", layout.v4.Content.Content);
			}
Esempio n. 9
0
            public void TestCtorWithArrayParameter(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("Foo Bar", layout.v8.Content.Content);
            }
Esempio n. 10
0
			public void TestArgumentlessFactoryMethod (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("parameterless factory", layout.v3.Content.Content);
			}
Esempio n. 11
0
			public void TestIntCtor (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("int ctor 42", layout.v2.Content.Content);
			}
Esempio n. 12
0
			public void TestStringCtor (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("alternate ctor foobar", layout.v1.Content.Content);
			}
Esempio n. 13
0
			public void TestDefaultCtor (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("default ctor", layout.v0.Content.Content);
			}
Esempio n. 14
0
			public void TestFactoryMethodParametersOrder (bool useCompiledXaml)
			{
				var layout = new FactoryMethods (useCompiledXaml);
				Assert.AreEqual ("factory 42foo", layout.v5.Content.Content);
			}