Deltares.DSoilModel.Data.Tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added unit tests for Soil property defaults being set after importing 1D profiles or materials.mdb

Related to Issue [DSB-537]

Refactored the way Soil defaults specific to D-SoilModel are handled, as suggested by reviewer

Related to Issue [DSB-537]

  1. … 2 more files in changeset.
Added Dam defx import test for Delfland (with added bogus segments Shapefile)

Related to Issue [DSB-515]

    • -0
    • +11
    ./TestFiles/Delfland.defx
    • -0
    • +1
    ./TestFiles/Delfland/segments.prj
    • binary
    ./TestFiles/Delfland/soilmaterials.mdb
    • -0
    • +10
    ./TestFiles/Delfland/characteristicpoints.csv
    • -0
    • +2
    ./TestFiles/Delfland/segments.shp.xml
    • -0
    • +10
    ./TestFiles/Delfland/surfacelines.csv
    • binary
    ./TestFiles/Delfland/locations.xls
    • binary
    ./TestFiles/Delfland/segments.sbn
    • -0
    • +15
    ./Deltares.DSoilModel.Data.Tests.csproj
    • binary
    ./TestFiles/Delfland/segments.dbf
    • binary
    ./TestFiles/Delfland/segments.shx
    • binary
    ./TestFiles/Delfland/segments.shp
    • -0
    • +10
    ./TestFiles/Delfland/locations.csv
    • binary
    ./TestFiles/Delfland/segments.sbx
  1. … 1 more file in changeset.
Fixed failing unit test for AddOldProjectDataBaseToProject() method, exception handling improved

Related to Issue [DSB-515]

  1. … 1 more file in changeset.
Added unit test for AddOldProjectDataBaseToProject() method, both for Ms-Access and FireBird example file, exception handling needs improvement

Related to Issue [DSB-515]

    • -3
    • +4
    ./Deltares.DSoilModel.Data.Tests.csproj
  1. … 1 more file in changeset.
Added a unit test concerning default soil properties

Related to Issue [DSB-537]

  1. … 1 more file in changeset.
Extended the tests.

Related to Issue [DSB-511]

    • -7
    • +144
    ./DSoilModelDataSourceRedirectorTests.cs
deleted mis-saved changes.

Related to Issue [DSB-515]

added test for GetNodeAttribute

Related to Issue [DSB-515]

added DSoilModelRedirector, where StochastProperties covered only. Initial commit.

Related to Issue [DSB-511]

    • -0
    • +56
    ./DSoilModelDataSourceRedirectorTests.cs
    • -0
    • +1
    ./Deltares.DSoilModel.Data.Tests.csproj
Cleaned up using clauses & empty lines in the original class and added unit tests for CenterCrestLocation

Related to Issue [DSB-509]

    • -0
    • +30
    ./CenterCrestLocationTest.cs
    • -0
    • +1
    ./Deltares.DSoilModel.Data.Tests.csproj
  1. … 1 more file in changeset.
although previous implementation led to "green" test result, it's not correct, because Clone() should give a copy of the object back. Let it be fallen, but correct.

Related to Issue [DSB-514]

"returns" are covered

Related to Issue [DSB-516]

all methods are covered.

Related to Issue [DSB-514]

Reorganized test projects by moving all tests in Deltares.DSoilModel.Tests project to either Deltares.DSoilModel.Data.Tests or Deltares.DSoilModel.Forms.Tests

Files used in the tests are included in the project TestFiles folder (so they don't get lost) but NOT copied to the bin folder on build

Related to Issue [DSB-484]

    • -0
    • +15
    ./TestFiles/DSoilModelsoilprofilesWithSoilTypesAndColor.csv
    • -0
    • +8
    ./TestFiles/DSoilModelsoilprofilesWithInvalidHeaders.csv
    • -0
    • +15
    ./TestFiles/DSoilModelsoilprofilesWithSoilTypesAndColorUniqueSoils.csv
    • -0
    • +57
    ./TestFiles/DSoilModelsoilprofiles.csv
    • -0
    • +8
    ./TestFiles/DSoilModelsoilprofilesWithMissingHeaders.csv
    • binary
    ./TestFiles/SoilSegments_version_1_3_3.soil
    • -0
    • +295
    ./TestFiles/Delfland/segments.csv
    • -0
    • +15
    ./TestFiles/DSoilModelsoilprofilesWithSoilTypes.csv
  1. … 65 more files in changeset.
added some improvements following reviewer comments

Related to Issue [DSB-438]

  1. … 1 more file in changeset.
+ wrote TestStochasticPropertiesUncoupled() which really tests if some particular properties are uncoupled

+ fixed minor bug

Related to Issue [DSB-438]

  1. … 1 more file in changeset.
+ improved DSoilModelTransformerTests

+ DSoilModelTransformer takes exceptional case with PreConsolidationStress into account

+ StressValueStochast name reverted back to StressStochast

Related to Issue [DSB-438]

  1. … 3 more files in changeset.
+ Added test project fpr DSoilModel.Data

+ DSoilModelTransformer that supports Soil and PreConsolidationStress uncouples deterministic and stochastic properties from each other

Related to Issue [DSB-438]

    • -0
    • +36
    ./Properties/AssemblyInfo.cs
    • -0
    • +71
    ./Deltares.DSoilModel.Data.Tests.csproj
    • -0
    • +52
    ./DSoilModelTransformerTests.cs
  1. … 3 more files in changeset.