Пример #1
0
			public void ConverterParameterOrderDoesNotMatters (bool useCompiledXaml)
			{
				var layout = new Bz34037 (useCompiledXaml);
				Assert.AreEqual (2, Bz34037Converter0.Invoked);
//				Assert.AreEqual (2, Bz34037Converter1.Invoked);
				Assert.AreEqual (typeof(string), Bz34037Converter0.Parameter);
//				Assert.AreEqual (typeof(string), Bz34037Converter1.Parameter);
			}
Пример #2
0
            public void ConverterParameterOrderDoesNotMatters(bool useCompiledXaml)
            {
                var layout = new Bz34037(useCompiledXaml);

                Assert.AreEqual(2, Bz34037Converter0.Invoked);
//				Assert.AreEqual (2, Bz34037Converter1.Invoked);
                Assert.AreEqual(typeof(string), Bz34037Converter0.Parameter);
//				Assert.AreEqual (typeof(string), Bz34037Converter1.Parameter);
            }
Пример #3
0
            public void ConverterParameterOrderDoesNotMatters(bool useCompiledXaml)
            {
                var layout = new Bz34037(useCompiledXaml);

                Assert.AreEqual(1, Bz34037Converter0.Invoked);
                Assert.AreEqual(1, Bz34037Converter1.Invoked);
                Assert.AreEqual(typeof(string), Bz34037Converter0.Parameter);
                Assert.AreEqual(typeof(string), Bz34037Converter1.Parameter);
                Assert.That(layout.s0.IsToggled, Is.True);
                Assert.That(layout.s1.IsToggled, Is.True);
            }