public void LayerModelFadeTimeChangeHandlerConstructorTest()
        {
            LayerDetailsViewModel layerDetailsViewModel = new LayerDetailsViewModel();

            LayerDetailsViewModel_Accessor.FadeTimeChangeHandler target = new LayerDetailsViewModel_Accessor.FadeTimeChangeHandler(layerDetailsViewModel);
            Assert.AreEqual(target.parent, layerDetailsViewModel);
        }
        public void LayerModelFadeTimeExecuteTest()
        {
            LayerDetailsViewModel layerDetailsViewModel = new LayerDetailsViewModel();
            Layer layer = new Layer();

            layer.Name = "Layer1";

            LayerMap layerMap = new LayerMap(layer);

            layerMap.MapType                   = LayerMapType.Local;
            layerMap.HeaderRowData             = new Collection <string>();
            layerMap.MappedColumnType          = new Collection <ColumnType>();
            layerDetailsViewModel.Currentlayer = layerMap;
            LayerDetailsViewModel_Accessor.FadeTimeChangeHandler target = new LayerDetailsViewModel_Accessor.FadeTimeChangeHandler(layerDetailsViewModel);
            string fadeTime = "10:10:10";

            target.Execute(fadeTime);
            Assert.AreEqual(fadeTime, layerDetailsViewModel.FadeTime.ToString());
        }
        public void LayerModelFadeTimeExecuteTest()
        {
            LayerDetailsViewModel layerDetailsViewModel = new LayerDetailsViewModel();
            Layer layer = new Layer();
            layer.Name = "Layer1";

            LayerMap layerMap = new LayerMap(layer);
            layerMap.MapType = LayerMapType.Local;
            layerMap.HeaderRowData = new Collection<string>();
            layerMap.MappedColumnType = new Collection<ColumnType>();
            layerDetailsViewModel.Currentlayer = layerMap;
            LayerDetailsViewModel_Accessor.FadeTimeChangeHandler target = new LayerDetailsViewModel_Accessor.FadeTimeChangeHandler(layerDetailsViewModel);
            string fadeTime = "10:10:10";
            target.Execute(fadeTime);
            Assert.AreEqual(fadeTime, layerDetailsViewModel.FadeTime.ToString());
        }
 public void LayerModelFadeTimeChangeHandlerConstructorTest()
 {
     LayerDetailsViewModel layerDetailsViewModel = new LayerDetailsViewModel();
     LayerDetailsViewModel_Accessor.FadeTimeChangeHandler target = new LayerDetailsViewModel_Accessor.FadeTimeChangeHandler(layerDetailsViewModel);
     Assert.AreEqual(target.parent, layerDetailsViewModel);
 }