FeatureBasedMapDataConverterTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated license headers in source files of test\Core.Components. WTI-1931

  1. … 217 more files in changeset.
Improvements after review. WTI-1887

  1. … 8 more files in changeset.
Incorporated comments review 3403: WTI-1887

- Introduced additional constructor for the typed object

- Cleaned up XMLDoc and code

  1. … 4 more files in changeset.
Incorporated comments review 3395: WTI-1887

- Fixed compilation errors in the converter test of the FeatureBasedMapData.

    • -70
    • +189
    ./FeatureBasedMapDataConverterTest.cs
Added missing tests WTI-1887

- Added for the derived classes: default category should be added when a theme is defined for an attribute that's not present in the features.

- Added for the filter expression, test in the base class to guarantee it always gives the expected expression.

- Fixed parameter names

    • -1
    • +29
    ./FeatureBasedMapDataConverterTest.cs
  1. … 3 more files in changeset.
Fixed converters. WTI-1887

- Added category creation logic in the converters and pushed tests downwards for the derived datatypes from the converter base class.

    • -11
    • +5
    ./FeatureBasedMapDataConverterTest.cs
  1. … 7 more files in changeset.
Adjusted base converter WTI-1887

- Turned the base converter into a template pattern class, as the derived classes should provide the implementations to convert categories

    • -109
    • +67
    ./FeatureBasedMapDataConverterTest.cs
  1. … 1 more file in changeset.
Fix exception in map views when a map layer is cleared of its features but has several category themes WTI-1876

    • -0
    • +54
    ./FeatureBasedMapDataConverterTest.cs
  1. … 1 more file in changeset.
Only add default category if metadata cannot be found in attribute mapping WTI-1553

  1. … 1 more file in changeset.
Change type of valuecriterion to string WTI-1881

  1. … 8 more files in changeset.
Moved TestFeatureBasedMapData to correct project. WTI-1856

  1. … 10 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Final review related cleanup. Updated tests/test names, updated resources and updated xmldocs. WTI-1551 Paired with SiuHinTang

  1. … 12 more files in changeset.
Renamed Criteria -> Criterion as it is a singular item to be applied.

WTI-1551

  1. … 17 more files in changeset.
Removed 'Theme' folder in test util: - There's only one criteria implementation remaining, making the folder obsolete

WTI-1551

  1. … 7 more files in changeset.
- Removed ICriteria: -- There's only one concrete implementation present, hence no need to define an interface to be able to use multiple types of criteria -- Removed concrete test implementation, there's no need to to have an empty test object anymore

WTI-1551

    • -53
    • +0
    ./FeatureBasedMapDataConverterTest.cs
  1. … 12 more files in changeset.
Removed 'Criteria' folder: - There's only one criteria implementation remaining making the folder obsolete

WTI-1551

  1. … 19 more files in changeset.
Start removal of interval criteria: - Does not work in DotSpatial, ranges are specified as a "substring" rather than a full string (e.g. x<= 5 would also include results <=5x, where x is an arbitrary number of digits_

WTI-1551

    • -74
    • +0
    ./FeatureBasedMapDataConverterTest.cs
  1. … 9 more files in changeset.
- Added thematical test data for point map data - Fixed bug, surround values with ' in the filter expressions for ValueCriteria send to DotSpatial components

WTI-1551

  1. … 5 more files in changeset.
Corrected filter expression when an unequal operator is used for the ValueCriteria

WTI-1551

  1. … 4 more files in changeset.
- Renamed enum values of the RangeCriteria operator to resolve ambiguity - Implemented generic tests for the FeatureBasedMapDataConverter to assert correctness of the applied algorithm

WTI-1551

    • -3
    • +273
    ./FeatureBasedMapDataConverterTest.cs
  1. … 5 more files in changeset.
- Converted algorithm to create (categorial) schemes according to the Template Pattern => made mandatory functions abstract - Implemented categorial theming conversion for the polygon map data

WTI-1551

    • -0
    • +15
    ./FeatureBasedMapDataConverterTest.cs
  1. … 3 more files in changeset.
Cleanup of Core.Components.* and Core.Plugins.* Related to Issue [WTI-1463]

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

Former-commit-id: 48028af4adc7782591245eee10ccee0b3cc8566e

Former-commit-id: 66fd41a158f8a3466a31dda33062b01fd02de828

  1. … 49 more files in changeset.
Removed obsolete constructors for map layer styles. Replaced Assert.Equals(string.Empty... with Assert.IsEmpty where applicable. Improved ColorEditor. Related to Issue [WTI-1267]

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

Former-commit-id: 0812a0a3e05ce2398afff38e2cb64cb5c1684860

Former-commit-id: 55e368ae9752d5bfe36fae8f551810251af055f3

  1. … 65 more files in changeset.
Updated license headers in core. Related to Issue [WTI-1242]

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

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

  1. … 817 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

  1. … 283 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

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

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

  1. … 290 more files in changeset.
* Made FeatureBasedMapData aware of projections. ** Alls FeatureBasedMapData are assumed to be defined in RD-New coordinate system. * MapControl now also defines a coordinate system. ** Note: Assumed that MapControl's coordinate system does not change. Related to Issue [WTI-1088]

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

Former-commit-id: a9f09fecc6adbab6324e118f9ff2b3f20795a324

Former-commit-id: 37ec4fadb6c0b4833fca9b227c96cd9493b95ac8

    • -1
    • +117
    ./FeatureBasedMapDataConverterTest.cs
  1. … 18 more files in changeset.
Merged revision(s) from branches/WTI 999

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

Former-commit-id: 5fadfe734513e4c262a9189b33e5ac16db42dc8c

Former-commit-id: 9c31b58309b4af7f2b4124049c1a3b34f4acee4f

    • -29
    • +25
    ./FeatureBasedMapDataConverterTest.cs
  1. … 54 more files in changeset.
Cleaned up FeatureBasedMapDataConverterTest Related to Issue [WTI-1018]

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

Former-commit-id: 8199c0c0d8f76ad26babff6e8d2410808dac5c50

Former-commit-id: 8bbe1f2574b5c48e4ef93723641f0714e3e5a0d7

    • -115
    • +147
    ./FeatureBasedMapDataConverterTest.cs
  1. … 1 more file in changeset.