Core.Common.Base.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changes after review. Related to Issue [WTI-138]

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

Former-commit-id: 0f0e47e83f118b1b4cd6f3f6517a838f4c1bb305

Former-commit-id: 477c0a495c83fb65924232249c0f74381d368069

    • -1
    • +35
    ./Geometry/Point3DExtensionsTest.cs
  1. … 4 more files in changeset.
- Moved transforming world coordinates to local coordinates to Point3DExtensions. - Implemented showing characteristic points on the local coordinates. Related to Issue [WTI-138]

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

Former-commit-id: 897511058c455d30c10155f2403d3ce1d0fecd86

Former-commit-id: a59e9a875ee4f3796aeed005c571f145ecef0c0d

    • -0
    • +106
    ./Geometry/Point3DExtensionsTest.cs
  1. … 8 more files in changeset.
Fixed validation problems in DataGridViewControl. Related to Issue [WTI-482]

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

Former-commit-id: 00fd7cb4e646c125adf2de22787cef76d73e0c50

Former-commit-id: 22e9741043dfdc8eca4c2f03142182cde4bb1a3a

    • -0
    • +16
    ./TypeConverters/RoundedDoubleConverterTest.cs
  1. … 8 more files in changeset.
* Implemented Create methods for SurfaceLineEntity and SurfaceLinePointEntity. * Updated CreateConversionCollector for SurfaceLinePointEntity. ** Had to make Point3D implement IStorable. Related to Issue [WTI-289]

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

Former-commit-id: 838ab26832a99265a8b833090835844763e1e6bf

Former-commit-id: 971c6158c99812fa77b8695c1ed3066fae1b3436

  1. … 10 more files in changeset.
* Moved Point2DComparerWithTolerance from Math2DTest to Core.Common.TestUtil * PolygonShapeFileReader now reads inner rings of a polygon, instead of only outer ring and incorrectly interpret inner rings. ** Updated the validation of MapPolygonData to allow for inner rings in MapGeometry. ** Updated MapPolygonDataConverter accoridingly do properly create polygon layers with holes. Related to Issue [WTI-478]

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

Former-commit-id: dbc4ac9e2ef823ae96c8d2dbb7571375ee69a480

Former-commit-id: 02e1ddfcce132b6beb7da5bb5aa5e395144227bf

  1. … 18 more files in changeset.
Implement IFormattable for RoundedDouble so that it is possible to give a custom format and culture to a RoundedDouble while still be able to use to default formatting of some double values (Infinity) Related to Issue [WTI-453]

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

Former-commit-id: 9cc2d0b46172911ee58e34752148c9304990c744

Former-commit-id: a564205535ba65414e3fbd277564639ac86df114

  1. … 3 more files in changeset.
Review changes Paired with @berg_jl

- Changed double precession to 1e-6

Related to Issue [WTI-332]

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

Former-commit-id: 4b14a402209aec8df95f9e1a56d815717fa8c372

Former-commit-id: b6813a8c308728286104ff55fbbe5fd9f47ad242

  1. … 26 more files in changeset.
Changed enum names to be more consistent. Updated doc of Math2D.AreCollinear to describe the prerequisite of the method. Removed obsolete Math2D.GetIntersectionPoint method. Related to Issue [WTI-433]

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

Former-commit-id: 82c7390bb1bd357b30509322f70efcd6f65a8eb3

Former-commit-id: e35b71d381d9d2910f56f3cc08075b34b7ee0425

    • -2
    • +2
    ./Geometry/Segment2DIntersectSegment2DResultTest.cs
  1. … 4 more files in changeset.
Extended RecursiveObserver so that both the item container type and the observable type can be specified Related to Issue [WTI-419]

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

Former-commit-id: eeae0e370cc64f52e4e9a9c9e123f53045560308

Former-commit-id: d314b3ba0d98beda1aa8cc8e31b2b432665d783e

  1. … 2 more files in changeset.
Added missing RecursiveObserver test Related to Issue [WTI-419]

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

Former-commit-id: aa0245529f02cf6472152c18aba73d63680042b9

Former-commit-id: 61f2ed214600d1d836c5851f14ee851dcd9e6af8

Introduced RecursiveObserver Related to Issue [WTI-419]

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

Former-commit-id: 413cedafbbc321a2daa3b3a66fa618bf269b8b78

Former-commit-id: 7b4b88469aa816346d2e67e8c280584d1e5f4755

    • -0
    • +169
    ./RecursiveObserverTest.cs
  1. … 4 more files in changeset.
* Fully replaced Math2D.SegmentsIntersectionsWithSegments usage in PipingSurfaceLinesCsvImporter with more performance optimal (in unhappy cases) solution to solve the 'is there one surfaceline intersecting with referenceline' problem. * Removed obsolete methods from Math2D. Related to Issue [WTI-433]

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

Former-commit-id: cb00a5cc1a162833b46267be163f4b646a242178

Former-commit-id: cfeab7188cfef3d39d92674617e94682eeef9f88

  1. … 2 more files in changeset.
Introduced Observer Related to Issue [WTI-419]

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

Former-commit-id: 9e3636ec96d3770282aa38b8d98e086e2ccba5ca

Former-commit-id: 2319d86fd3c4d8711ace710494901b8fc2f84f48

    • -0
    • +103
    ./ObserverTest.cs
  1. … 3 more files in changeset.
* Improved test coverage for Math2D.GetIntersectionBetweenSegments Related to Issue [WTI-433]

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

Former-commit-id: 3f4cbf0f385a7dfceaec710aa97a831b3f2bbf62

Former-commit-id: f82e5bf351b95ffbdc093bb5d43f9b04f1e0a476

* Implementing alternative to Math2D.SegmentIntersectionWithSegment that can deal with degenerate situations and special edge cases such as overlapping lines. * Extended Point2D with addition of 2D vector operator. Related to Issue [WTI-433]

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

Former-commit-id: 914f9ff7d02ceece00268b5c51b89f6cbcde19d3

Former-commit-id: 7439915cba6b25526c18b320d30768bf9ef955f7

    • -0
    • +50
    ./Geometry/Segment2DIntersectSegment2DResultTest.cs
  1. … 9 more files in changeset.
Changes after review Related to Issue [WTI-433]

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

Former-commit-id: 40f75a92528a354a7c60f67e5aa1534b1b4e5bd5

Former-commit-id: c33f71f07b6a91ef9248895ec9867029cef8a83d

  1. … 23 more files in changeset.
Add assessment section length to the GeneralPipingInput. Implemented Math2D.Length to get the total length of the reference line. Related to Issue [WTI-385]

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

Former-commit-id: bbd21bd110588311dc60cb875e8a058e9616f705

Former-commit-id: b07f0c4265411617c83e1a0af43fe6b3a2c3e185

  1. … 6 more files in changeset.
Added methods for calculating segment intersections. Related to Issue [WTI-433]

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

Former-commit-id: 178e99d551dc897cb808fb8d7d70a98c7be33e96

Former-commit-id: 1c4fb6ca068c0fcb67066d291d6f4cccb5db2bf5

  1. … 1 more file in changeset.
* RoundDouble '+' operator implemented. * DesignVariable now returns RoundDouble instead of Double, due to calculations being based on RoundedDouble instances. Related to Issue [WTI-388]

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

Former-commit-id: ebb991100c2ad61931a80671532939993d1adf44

Former-commit-id: d3d42cf7f98460e2e03c3cf78edce1c08c8bd4fe

  1. … 13 more files in changeset.
* Extended RoundedDouble with '*' operator. * Fixed bug in unit test due to improper TestCaseAttribute. * IDistribution.StandardDeviation is now RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: e344148bb68292ee95a3fb36dbed65377aee0c6e

Former-commit-id: b7786022de235725c43e1dc148d07a8a0bc48c6d

  1. … 16 more files in changeset.
* Moved RoundedDoubleConverter from Core.Common.Gui/Converters to Core.Common.Base/TypeConverters. * RoundedDouble has TypeConverter defined to prevent having to declare all properties in property-window with RoundedDoubleConverter. * Extended RoundedDouble with '-' operator. * Changes IDistribution.Mean from double to RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: d60284fb16873fb41af391f13b7f212ba33eca1a

Former-commit-id: 4530c8e39bd952e5a7db8c0ab814d2b1ad9633a1

    • -0
    • +117
    ./TypeConverters/RoundedDoubleConverterTest.cs
  1. … 35 more files in changeset.
* Turned RoundDouble into an immutable struct. Related to Issue [WTI-388]

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

Former-commit-id: ee08130916be6acd461244c5ebfc792431d27d28

Former-commit-id: a236238ce915f60369e733b7031add89531747f7

  1. … 6 more files in changeset.
* Introduced TypeConverter to be used with RoundedDouble editable property control field. * RoundedDouble now has explicit cast from double to RoundedDouble. * Used Math.Round(double, int) API to prevent having to roundtrip to decimal. Also has more accurate 'number of decimals'. * RoundedDouble constructor refactorings. * PipingInput now has ExitPointL and EntryPointL as RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 526f9ff6b020e4718add2dba1aaae259930df73d

Former-commit-id: d1774deeae4f90d0df667370350841782cc5a005

  1. … 18 more files in changeset.
* AssessmentLevel properties cannot be set in PipingInputContextProperties. Need to set HydraulicBoundaryLocation to set AssessmentLevel. * Added additional constructor for RoundedDouble. * PipingInput.AssessmentLevel is now an instance of RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 26b52887003afb3aea8c36978883203165963733

Former-commit-id: 0eefd50ae8f3c8737345439577e2755ae5b41fc0

  1. … 13 more files in changeset.
* Extended RoundedDouble with IEquality<Double> and implicit conversion to Double. Related to Issue [WTI-388]

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

Former-commit-id: 2ebb08c5170e08993edef266234eaedaefcce285

Former-commit-id: 24889e82959a7a51d8efca1b36e9b33cc02ccf09

  1. … 1 more file in changeset.
* Introduced RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: b718b508b31e983fe86b263fa844634519906577

Former-commit-id: a58e88b87ed5e36e93f6f5035718c3f8497e3e4e

    • -0
    • +384
    ./Data/RoundedDoubleTest.cs
  1. … 4 more files in changeset.
* Introduced spike of RoundedDouble. Related to Issue [WTI-388]

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

Former-commit-id: 1362bce8e3ca4a627672219133154ddf3950b188

Former-commit-id: 3c78d4c84a0d83e4334e06cabc86400f09d846f2

    • -0
    • +135
    ./Data/RoundedDoubleTest.cs
  1. … 2 more files in changeset.
* Implemented review suggestions of WTI-Review-369: ** Made Point2D, Point3D and Segment2D more clearly immutable. ** Removed Point2D default constructor (now more consistent with point3D) ** Math2D.SplitLineAtLenghts improvements: *** Reuse of epsilonForComparisons. *** Xml docs. *** variable naming. ** Remove IFileImporter.SupportedItemType and made FileImporterBase generic with type-parameter to use instead. ** Improved test names. ** Optimizations in FailureMechanismSectionsImporter. ** Test coverage for DoubleWithToleranceComparer. ** Improved text resources. Related to Issue [WTI-365]

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

Former-commit-id: 9e27e584fe2b6fd5244140250c9ddd9a82bd3e65

Former-commit-id: 12a7c688737048e0aea43a05962cb795dc6fcccb

  1. … 23 more files in changeset.
* Refactored how ApplicationCore determines if it has importers for a given data object. ** IFileImporter extended with CanImportOn method, where FileImporterBase follows the logic that was in ApplicationCore ** FailureMechanismSectionsImporter overrides CanImportOn to prevent imports when no referenceline is available.

Related to Issue [WTI-365]

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

Former-commit-id: 4cfc7f0351199cc8908a9251b321c4a3575602d1

Former-commit-id: f7dfa0c1a75688499f5cfc2a8f9ccb2793db52b6

    • -20
    • +130
    ./Plugin/ApplicationCoreTest.cs
  1. … 7 more files in changeset.
* Extended Math2D with methods: ** generate a sequence of segments from a sequence of points ** split a sequence of points describing a line into sublines of given lengths * Moved DoubleWithToleranceComparer from Piping.IO.Test to Core.Common.TestUtil Related to Issue [WTI-365]

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

Former-commit-id: 30014773f914157551bef416cf68ff44f81db3d5

Former-commit-id: 5bb25e62e1d45eeb64d1acd97f45a93c4df30982

  1. … 7 more files in changeset.