Пример #1
0
 public void GroupsTest()
 {
     MapWindow.Layers     target = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
     LegendControl.Groups actual;
     actual = target.Groups;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Пример #2
0
 public void AddTest3()
 {
     MapWindow.Interfaces.Layers target              = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
     MapWinGIS.Image             ImageObject         = null;                   // TODO: Initialize to an appropriate value
     MapWinGIS.Image             ImageObjectExpected = null;                   // TODO: Initialize to an appropriate value
     MapWindow.Interfaces.Layer  expected            = null;                   // TODO: Initialize to an appropriate value
     MapWindow.Interfaces.Layer  actual;
     actual = target.Add(ref ImageObject);
     Assert.AreEqual(ImageObjectExpected, ImageObject);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Пример #3
0
        public void AddTest2()
        {
            MapWindow.Interfaces.Layers target = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
            string Filename        = string.Empty;                       // TODO: Initialize to an appropriate value
            string LayerName       = string.Empty;                       // TODO: Initialize to an appropriate value
            bool   VisibleInLegend = false;                              // TODO: Initialize to an appropriate value

            MapWindow.Interfaces.Layer expected = null;                  // TODO: Initialize to an appropriate value
            MapWindow.Interfaces.Layer actual;
            actual = target.Add(Filename, LayerName, VisibleInLegend);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #4
0
        public void AddTest11()
        {
            MapWindow.Layers target                  = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
            Shapefile        ShapefileObject         = null;                   // TODO: Initialize to an appropriate value
            Shapefile        ShapefileObjectExpected = null;                   // TODO: Initialize to an appropriate value
            string           LayerName               = string.Empty;           // TODO: Initialize to an appropriate value
            int Color        = 0;                                              // TODO: Initialize to an appropriate value
            int OutlineColor = 0;                                              // TODO: Initialize to an appropriate value

            MapWindow.Interfaces.Layer expected = null;                        // TODO: Initialize to an appropriate value
            MapWindow.Interfaces.Layer actual;
            actual = target.Add(ref ShapefileObject, LayerName, Color, OutlineColor);
            Assert.AreEqual(ShapefileObjectExpected, ShapefileObject);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #5
0
        public void AddLayerTest()
        {
            MapWindow.Layers target              = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
            object           ObjectOrFilename    = null;                   // TODO: Initialize to an appropriate value
            string           LayerName           = string.Empty;           // TODO: Initialize to an appropriate value
            int             Group                = 0;                      // TODO: Initialize to an appropriate value
            bool            LayerVisible         = false;                  // TODO: Initialize to an appropriate value
            int             Color                = 0;                      // TODO: Initialize to an appropriate value
            int             OutlineColor         = 0;                      // TODO: Initialize to an appropriate value
            bool            DrawFill             = false;                  // TODO: Initialize to an appropriate value
            float           LineOrPointSize      = 0F;                     // TODO: Initialize to an appropriate value
            tkPointType     PointType            = new tkPointType();      // TODO: Initialize to an appropriate value
            GridColorScheme GrdColorScheme       = null;                   // TODO: Initialize to an appropriate value
            bool            LegendVisible        = false;                  // TODO: Initialize to an appropriate value
            bool            PositionFromSelected = false;                  // TODO: Initialize to an appropriate value

            MapWindow.Interfaces.Layer[] expected = null;                  // TODO: Initialize to an appropriate value
            MapWindow.Interfaces.Layer[] actual;
            actual = target.AddLayer(ObjectOrFilename, LayerName, Group, LayerVisible, Color, OutlineColor, DrawFill, LineOrPointSize, PointType, GrdColorScheme, LegendVisible, PositionFromSelected);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }