Wti.Data.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved Wti.Data (and related test projects) from [src/test]/Plugins/Wti/Wti.Data to src/Plugins/Ringtoets/Piping/[src/test]/Wti.Data Related to Issue [WTI-92]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@420 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a98daa1851dccd7a7fef1b72aba0aaff3d4201d0

    • -82
    • +0
    ./RingtoetsPipingSurfaceLineTest.cs
  1. … 55 more files in changeset.
* Renamed PipingSurfaceLine to RingtoetsPipingSurfaceLine to prevent ambiguity with kernel's PipingSurfaceLine. * Selected RingtoetsPipingSurfaceLine now transformed to kernel's PipingSurfaceLine and used in calculation. * Added validation prior calculating piping to check if surface line is selected. * Fixed update bug due to PipingCalculationInputs refactoring, by making it IObservable and defer implementation to PipingData. Related to Issue [WTI-21]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@390 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 345df087ad8a2e721d7b4d4fd0130db0393af388

    • -0
    • +82
    ./RingtoetsPipingSurfaceLineTest.cs
  1. … 34 more files in changeset.
Implemented conversion of SoilLayer2D to PipingSoilLayers Exception is thrown when SoilLayer2D contains vertical edge on X. Implemented PointCollectionHelper to ease the creation of Point3D sets. - Can be used with string or file. - First line is number of rows. - Following lines should count up to that number. - Lines interpreted as a grid with points at the numbers. - Numbers determine order of points in set. - This means that only numbers 0 up till 9 are allowed

Related to Issue [WTI-27]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@388 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 481a0c94c738be8ad8da11f7f5d75a88496609be

    • -0
    • +92
    ./PointCollectionHelperTest.cs
  1. … 13 more files in changeset.
* Introduced editor to select PipingSurfaceLine for PipingCalculationInputsProperties. ** Due to DynamicPropertyBag wrapping the original ObjectProperties class, had to make it publically available for PipingCalculationInputsSurfaceLineSelectionEditor to work. Related to Issue [WTI-21]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@387 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bd1de7fd39c2a4a75e571357ad28d03e8bdcbb11

  1. … 7 more files in changeset.
* Improved how surface line geometry points are shown in properties * Translated converted text of ExpandableArrayConverter * Point3D.ToString override Related to Issue [WTI-20]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@384 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 45821e19ba9f67cf639c5f5d05cff78928722674

  1. … 8 more files in changeset.
* Extended PipingData with SurfaceLine property * Introduced PipingCalculationInputs presentation object to allow property control to retrieve the collection of available PipingSurfaceLine instances to initialize a PipingData instance. ** Refactored PipingDataNodePresenter to PipingCalculationInputsNodePresenter ** Refactored PipingDataObjectProperties to PipingCalculationInputsObjectProperties Related to Issue [WTI-21]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@382 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: dab0f8ff5eb09d39dabd1091cc0b111cb0921702

  1. … 20 more files in changeset.
SoilLayer2D now has a collection of innerloops. Lowered number of required arguments for Math2D routines. Added bottom of profile in the SoilProfileBuilder. Related to Issue [WTI-27]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@375 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 36d8e1a3aad597ca46fec2e2d3b0e644f6719e9b

  1. … 9 more files in changeset.
Added missing test classes. Related to Issue [WTI-27]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@371 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 65d83138715fdc62f0187c0a2df441ed825d6aff

    • -0
    • +34
    ./PipingSoilProfileTest.cs
  1. … 2 more files in changeset.
Introduced new SoilLayer2D as an temporary builder class before transforming it to PipingSoilLayers. Introduced SoilProfileBuilder the transformation of 2D Profiles to PipingSoilProfile. Introduced Math2D for containing 2 dimensional calculation routines. Renamed PipingSoilLayerReader to PipingSoilLayer2DReader, because xml parsing only applies for 2D layers. Related to Issue [WTI-27]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@367 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 11824434507f4e980223ec40c2c868674ff15a8f

    • -0
    • +22
    ./PipingSoilLayerTest.cs
  1. … 20 more files in changeset.
Able to read 2D soil layers from the database by parsing its GeometrySurface value (from database). Split PipingSoilProfileReader (database part) and PipingSoilLayerReader (XML part). Extended Point3D with equality operators so they can be used in HashSet. Exposed Wti.IO internal classes to Wti.IO.Test so they can be tested. Related to Issue [WTI-27]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@343 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4ecda004877acff1cc6fbad6a0a9059b4987872e

  1. … 16 more files in changeset.
Removed unused classes/methods Related to Issue [WTI-70]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@325 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: be272b008abd9d45aab2873aef38c88e5b3a0dc9

  1. … 20 more files in changeset.
* Introduced ObservableList class ** This collection is now used to store PipingSurfaceLine instances for PipingFailureMechanism * Added thread-safe asynchronous Control calls for tree view and property grid controls triggered by observable notification in import thread. * Introduced PipingNodePresenterBase to reduce code duplication * Created node presenter for PipingSurfaceLine Related to Issue [WTI-20]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@318 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0d4d0a834408f187a734a7bf934886aa77c62b2e

  1. … 22 more files in changeset.
Add empty grayed out node to the PipingFailureMechanism tree node for the soil profile collection. Related to Issue [WTI-26]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@290 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 95142e655625dc590b9f8709bb3db730377ee4b3

  1. … 12 more files in changeset.
New check in after review - Warning level 4 was (sometimes) implicit. Now, warning levels are hard-coded - Cleanup of unused PostSharp - Warning levels set to 0 of test projects (as stated in documentation) for ALL configurations Related to Issue [WTI-78]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@287 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 24e9e1a3f5ccbb7fcfabf131843cc2179e4c750d

  1. … 36 more files in changeset.
Call to VerifyAll() in tests where the call counts were important. Correctly call VerifyAll instead of ReplayAll. Related to Issue [WTI-18]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@286 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3172ddc5f07d7ad93d1059cd9bbbda6e85d51590

  1. … 1 more file in changeset.
Moved CanAddPipingFailureMechanism logic to WtiProject Changed calls to Assert.Null to Assert.IsNull and Assert.NotNull to Assert.IsNotNull. (consistency) Paired with bouvrie Related to Issue [WTI-13]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@284 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 36188d4be34bd0eb34c2e1cec5884149586a023e

  1. … 11 more files in changeset.
* Extended PipingSurfaceLine with properties * Introduced Point3D class * Extended PipingSurfaceLinesCsvReader to read correctly formatted files Related to Issue [WTI-20]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@281 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: dcde392c6738f6e5eb61314129fa316cd3ca080a

    • -0
    • +59
    ./PipingSurfaceLineTest.cs
  1. … 12 more files in changeset.
Piping Failure mechanism can only be added if no piping failure mechanism is assigned to the wti project. Calling remove on presenters which do not support it will now throw InvalidOperation exceptions. Moved Initialize and Clear logic of PipingFailureMechanism on WtiProject to WtiProject. Related to Issue [WTI-13]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@272 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3dc0ae91b502f02eaa4fc368991ad8ef7d7e5a9c

  1. … 11 more files in changeset.
Added tests for PipingCalculationException constructors. Added tests for PipingFailureMechanism as observerable. Removed non functioning tests in PipingDataTest regarding notifying when Output changed. Related to Issue [WTI-18]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@258 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 163495ade994a03ee696c33ed179e078a8de66f7

  1. … 2 more files in changeset.
Show PipingFailureMechanism node in project tree. Now possible to add it from the project, but needs to be moved to WtiProject instead Related to Issue [WTI-13]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@217 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 790d224e454c9669311a3e13b4512bee733b1ca1

  1. … 9 more files in changeset.
* Defined PipingFailureMechanism, to be further implemented in future commits and which can be added to WtiProject. * Defined a node presenter for the collection of PipingSurfaceLine to be found in PipingFailureMechanism Related to Issue [WTI-19]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@210 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3e35c46dc2a9532bab9b0cfacad92927a472f222

    • -0
    • +18
    ./PipingFailureMechanismTest.cs
  1. … 10 more files in changeset.
Renamed tests so that they match the expectation of PipingDataNodePresenterTest Replaced PipingDataTestObserver with mocks. Capitalized // setup, // call, // assert and // call & assert. Related to Issue [WTI-13]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@183 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3c37712a780b78c535f3a2b22722c77a97454f16

  1. … 2 more files in changeset.
Added tests for PipingData Modified expected exception (still not sure what to expect, but since we are calling a WTIUpliftCalculator instead of the UpliftCalculator I expect a WTIUpliftCalculatorException instead of a UpliftCalculatorException) Related to Issue [WTI-13]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@180 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 300e101e8a11c79da1aa27121b921a30d0e77d3a

    • -0
    • +209
    ./PipingDataTest.cs
  1. … 1 more file in changeset.
Full cleanup over src and test Related to Issue [WTI-55]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@157 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 10d4dd15dbc2525f4f704d5225cbaab5b3705b9c

  1. … 1378 more files in changeset.
Improved build configuration

Related to Issue [WTI-51]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@151 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 42ead6c995cbb360384c821e84d6f213a5576a4d

  1. … 49 more files in changeset.
Improved build configuration Related to Issue [WTI-51]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@143 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0406d79de56212931d0db059cbcf32f929ee8b53

  1. … 22 more files in changeset.
Improved build configuration

Related to Issue [WTI-51]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@142 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 94a20e0d025b84a0ce98444de34bd8bc11f5716c

  1. … 51 more files in changeset.
"Any CPU" => "x86" Related to Issue [WTI-51]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@135 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0265b75fbdbc002797b1169afa6a296dc97c9b8b

  1. … 50 more files in changeset.
removed x86 and x64 build configurations. Left AnyCPU configuration as the main configuration. Related to Issue [WTI-51]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@122 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a415af7e16c02d543a8a4671cd4145ef01c82f01

  1. … 49 more files in changeset.
* Removed '2017' mentionables Related to Issue [WTI-9]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@107 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3481140e11b0563502c9ecb9a124b4cb14a64e6b

  1. … 5 more files in changeset.