Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added first tests for plugin.

Related to Issue [DSB-519]

    • -0
    • +88
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelPluginTests.cs
    • -0
    • +9
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
Refactored the way Soil defaults specific to D-SoilModel are handled, as suggested by reviewer

Related to Issue [DSB-537]

    • -0
    • +21
    ./Deltares.DSoilModel.Forms/DSoilModelPlugin.cs
    • -31
    • +27
    ./Deltares.DSoilModel.Data/DSoilModelProject.cs
    • -14
    • +20
    ./Deltares.DSoilModel.Data.Tests/DSoilModelProjectTest.cs
Removed unused interface IHasSoilSegment so it will not be tested in vain.

Related to Issue [DSB-545]

    • -8
    • +0
    ./Deltares.DSoilModel.Forms/SegmentControl.cs
    • -22
    • +0
    ./Deltares.DSoilModel.Forms.Tests/SegmentControlTests.cs
Removed SoilBondStressCurveControl from project as it is no lunger used.

Related to Issue [DSB-506]

    • -120
    • +0
    ./Deltares.DSoilModel.Forms/SoilBondStressCurveControl.resx
    • -115
    • +0
    ./Deltares.DSoilModel.Forms/SoilBondStressCurveControl.cs
    • -10
    • +0
    ./Deltares.DSoilModel.Forms/Deltares.DSoilModel.Forms.csproj
    • -107
    • +0
    ./Deltares.DSoilModel.Forms/SoilBondStressCurveControl.Designer.cs
Added some tests.

Related to Issue [DSB-547]

    • -0
    • +129
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelSegmentGeometryEditorTests.cs
    • -0
    • +1
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
    • -0
    • +15
    ./Deltares.DSoilModel.Forms/DSoilModelSegmentGeometryEditor.cs
Small correction to test.

Related to Issue [DSB-517]

    • -1
    • +1
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelGeometryEditorTests.cs
initial commit of the tests for SegmentControl. "Selection"-functions are not covered yet. Having also troubles initializing SurfaceLines.

Related to Issue [DSB-545]

    • -0
    • +116
    ./Deltares.DSoilModel.Forms.Tests/SegmentControlTests.cs
    • -0
    • +1
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
Removed stress tables and bond stress tables from being used and/or displayed in DSoilModel.

Related to Issue [DSB-506]

    • -1
    • +3
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelContextTest.cs
    • -2
    • +7
    ./Deltares.DSoilModel.Forms/DSoilModelContext.cs
    • -21
    • +0
    ./Deltares.DSoilModel.Forms/DSoilModelPlugin.cs
Extended the tests, made SpatialEditor readable for that purpose. Fixed some small issues encountered during test.

Related to Issue [DSB-517]

    • -2
    • +23
    ./Deltares.DSoilModel.Forms/DSoilModelGeometryEditor.cs
    • -21
    • +162
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelGeometryEditorTests.cs
    • -0
    • +1
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
Prevent error in drawing a CPT without actual CPT data.

Related to Issue [DSB-517]

    • -24
    • +27
    ./Deltares.DSoilModel.Forms/DrawingCPT.cs
Added temporary test for the issue.

Related to Issue [DSB-538]

    • -0
    • +11
    ./Deltares.DSoilModel.Forms.Tests/DSoilModelContextTest.cs
uncommented default for BottomLevel

Related to Issue [DSB-521]

    • -1
    • +1
    ./Deltares.DSoilModel.Forms.Tests/SosSoilLayer1DControlTests.cs
Fixed failing tes by adding Domain and setting appropriate values.

Related to Issue [DSB-443]

    • -2
    • +3
    ./Deltares.DSoilModel.Forms.Tests/SpecificMechanismPointLocationControlTests.cs
+ set test-value different to the initialized so test will have some changes to check against

+ cleaned code a bit

Related to Issue [DSB-524]

    • -10
    • +3
    ./Deltares.DSoilModel.Forms.Tests/CptLookup2DControlTests.cs
Added Dam defx import test for Delfland (with added bogus segments Shapefile)

Related to Issue [DSB-515]

    • -0
    • +11
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland.defx
    • -1
    • +0
    ./Deltares.DSoilModel.Data/DSoilModelIO.cs
    • binary
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Groot Salland.gdb
    • -0
    • +10
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland/characteristicpoints.csv
    • -2
    • +33
    ./Deltares.DSoilModel.Data.Tests/DSoilModelIOTest.cs
    • -0
    • +2
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland/segments.shp.xml
    • -0
    • +10
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland/surfacelines.csv
    • binary
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland/locations.xls
    • -0
    • +15
    ./Deltares.DSoilModel.Data.Tests/Deltares.DSoilModel.Data.Tests.csproj
    • -0
    • +10
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Delfland/locations.csv
overridden BottomLevel property in mocked class and it made this property much more testable.

Related to Issue [DSB-521]

    • -2
    • +10
    ./Deltares.DSoilModel.Forms.Tests/SosSoilLayer1DControlTests.cs
+ TestSpinEditVisibleEnabledValue() now takes into account if property is WriteAble and doesn't contain ReadOnly attribute

+ Enabled 2 extra checks with null-able parameters

Related to Issue [DSB-521]

    • -2
    • +2
    ./Deltares.DSoilModel.Forms.Tests/SosSoilLayer1DControlTests.cs
    • -2
    • +10
    ./Deltares.DSoilModel.Forms.Tests/ControlTester.cs
Prevented changing list while looping through it.

Related to Issue [DSB-517]

    • -0
    • +5
    ./Deltares.DSoilModel.Forms/DSoilModelGeometryEditor.cs
corrected test for Soil property with combos

Related to Issue [DSB-521]

    • -5
    • +8
    ./Deltares.DSoilModel.Forms.Tests/SosSoilLayer1DControlTests.cs
corrected call affected by recent minor refactoring in ControlTester

Related to Issue [DSB-527]

    • -1
    • +1
    ./Deltares.DSoilModel.Forms.Tests/SpecificMechanismPointLocationControlTests.cs
DSoilModelIO: SaveXML and OpenXML should be removed

Related to Issue [DSB-541]

    • -34
    • +0
    ./Deltares.DSoilModel.Data/DSoilModelIO.cs
    • -4
    • +1
    ./Deltares.DSoilModel.Forms/DSoilModelPlugin.cs
merged 2 overloaded functions with general type to avoid code duplication as much as possible

Related to Issue [DSB-523]

    • -16
    • +3
    ./Deltares.DSoilModel.Forms.Tests/ControlTester.cs
Fixed failing unit test for AddOldProjectDataBaseToProject() method, exception handling improved

Related to Issue [DSB-515]

    • -17
    • +18
    ./Deltares.DSoilModel.Data/DSoilModelIO.cs
    • binary
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Groot Salland.gdb
added support for objects in combos: editValue can be taken directly, DisplayItem intermediator is not required.

Related to Issue [DSB-521]

    • -10
    • +18
    ./Deltares.DSoilModel.Forms.Tests/ControlTester.cs
Added unit test for AddOldProjectDataBaseToProject() method, both for Ms-Access and FireBird example file, exception handling needs improvement

Related to Issue [DSB-515]

    • -0
    • +23
    ./Deltares.DSoilModel.Data.Tests/DSoilModelIOTest.cs
    • -3
    • +4
    ./Deltares.DSoilModel.Data.Tests/Deltares.DSoilModel.Data.Tests.csproj
    • binary
    ./Deltares.DSoilModel.Data.Tests/TestFiles/Groot Salland.gdb
  1. … 1 more file in changeset.
Added test for control to project.

Related to Issue [DSB-524]

    • -0
    • +1
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
resolved BoringDataRows initialization problem. Corrected name of the test for SelectedObject

Related to Issue [DSB-523]

    • -0
    • +1
    ./Deltares.DSoilModel.Forms.Tests/Deltares.DSoilModel.Forms.Tests.csproj
    • -5
    • +4
    ./Deltares.DSoilModel.Forms.Tests/BoringControlTests.cs
improved name consistency in arguments.

Related to Issue [DSB-523]

    • -3
    • +3
    ./Deltares.DSoilModel.Forms.Tests/ControlTester.cs
initial commit of the unit-tests. Unresolved difficulty: initialize BoringDataRows

Related to Issue [DSB-523]

    • -0
    • +65
    ./Deltares.DSoilModel.Forms.Tests/BoringControlTests.cs
Addewd tests. Corrected translation reference for both 2D lookup controls.

Related to Issue [DSB-524]

    • -0
    • +66
    ./Deltares.DSoilModel.Forms.Tests/CptLookup2DControlTests.cs
    • -1
    • +1
    ./Deltares.DSoilModel.Forms/CPTLookup2DControl.cs
    • -1
    • +1
    ./Deltares.DSoilModel.Forms/BoringLookup2DControl.cs