protected HTMLBindingBase(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output)
            : base(testEnvironment, output)
        {
            _ICommand = Substitute.For<ICommand>();
            _DataContext = new Person(_ICommand) {
                Name = "O Monstro",
                LastName = "Desmaisons",
                Local = new Local() { City = "Florianopolis", Region = "SC" },
                PersonalState = PersonalState.Married
            };

            _DataContext.Skills.Add(new Skill() { Name = "Langage", Type = "French" });
            _DataContext.Skills.Add(new Skill() { Name = "Info", Type = "C++" });
        }
示例#2
0
        protected HtmlBindingBase(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output)
            : base(testEnvironment, output)
        {
            _Command     = Substitute.For <ICommand>();
            _DataContext = new Person(_Command)
            {
                Name     = "O Monstro",
                LastName = "Desmaisons",
                Local    = new Local()
                {
                    City = "Florianopolis", Region = "SC"
                },
                PersonalState = PersonalState.Married
            };

            _DataContext.Skills.Add(new Skill()
            {
                Name = "Langage", Type = "French"
            });
            _DataContext.Skills.Add(new Skill()
            {
                Name = "Info", Type = "C++"
            });
        }
 protected BindingLifeCycleTests(IWindowLessHTMLEngineProvider context, ITestOutputHelper output)
     : base(context, output)
 {
 }
示例#4
0
 protected HtmlBindingPerformanceTests(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output, Dictionary <TestPerformanceKind, int> expectedTimeInMilliSeconds) : base(testEnvironment, output)
 {
     _ExpectedTimeInMilliSeconds = expectedTimeInMilliSeconds;
 }
示例#5
0
 protected IntegratedTestBase(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output) : base(testEnvironment.WindowBuilder, output)
 {
     _WindowLessHTMLEngineProvider = testEnvironment;
 }
 protected HTMLBindingPerformanceTests(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output, Dictionary<TestPerformanceKind, int> expectedTimeInMilliSeconds) : base(testEnvironment, output)
 {
     _ExpectedTimeInMilliSeconds = expectedTimeInMilliSeconds;
 }
示例#7
0
 protected HtmlVueBindingTests(IWindowLessHTMLEngineProvider context, ITestOutputHelper output)
     : base(context, output)
 {
 }
 protected IntegratedTestBase(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output): base (testEnvironment.WindowBuilder, output) 
 {
     _WindowLessHTMLEngineProvider = testEnvironment;
 }
 public HTMLVueBindingTests(IWindowLessHTMLEngineProvider context, ITestOutputHelper output)
     : base(context, output)
 {
 }
示例#10
0
 public HTMLBindingVuePerformanceTests(IWindowLessHTMLEngineProvider testEnvironment, ITestOutputHelper output, Dictionary <TestPerformanceKind, int> expectedTimeInMilliSeconds)
     : base(testEnvironment, output, expectedTimeInMilliSeconds)
 {
 }