Application.Ringtoets.Storage.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed issues found during Demo: # Added test for handling reading from and writing to a corrupt database that passes validation Related to Issue [WTI-279]

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

Former-commit-id: 7aa8cb544ce2a32bc33e647422c7718ad18cd3a9

    • -0
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • binary
    ./test-data/DatabaseFiles/corruptRingtoetsDatabase.rtd
- Removed unused files - Renamed namespace *converter* to *converters* in test - Extended asserts in ProjectEntityPersistorTest Related to Issue [WTI-286]

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

Former-commit-id: 3deedb4daf267d12e73a539d50360a38bd9040d8

    • -2
    • +2
    ./Application.Ringtoets.Storage.Test.csproj
    • -110
    • +0
    ./Converter/DikeAssessmentSectionEntityConverterTest.cs
    • -115
    • +0
    ./Converter/ProjectEntityConverterTest.cs
    • -227
    • +0
    ./Converter/ProjectEntityStorageTest.cs
    • -0
    • +124
    ./Converters/DikeAssessmentSectionEntityConverterTest.cs
    • -0
    • +115
    ./Converters/ProjectEntityConverterTest.cs
    • -8
    • +4
    ./Persistors/ProjectEntityPersistorTest.cs
  1. … 3 more files in changeset.
Asserts extended after review Related to Issue [WTI-286]

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

Former-commit-id: 62c4ed5aa75acbb952f47af26e3b91d94c48adab

Refactored ProjectEntityConverter after review Related to Issue [WTI-286]

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

Former-commit-id: 3681859c3e78baf551198a1a4e50a4f56584bd85

    • -2
    • +4
    ./Application.Ringtoets.Storage.Test.csproj
    • -163
    • +51
    ./Converter/ProjectEntityConverterTest.cs
    • -0
    • +227
    ./Converter/ProjectEntityStorageTest.cs
    • -0
    • +22
    ./DbContext/DbTestSet.cs
    • -0
    • +214
    ./Persistors/ProjectEntityPersistorTest.cs
  1. … 8 more files in changeset.
Refactored StorageSqLite after review Related to Issue [WTI-286]

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

Former-commit-id: 4acc7ab82a9105121aba60a2958ccf93e3ee7f76

  1. … 10 more files in changeset.
Fixed text in test Related to Issue [WTI-286]

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

Former-commit-id: 5f9971d9fd010a3999969935a4bdcaa790aa52a3

Minor changes after review Related to Issue [WTI-286]

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

Former-commit-id: 2f006efe63496e7c1a9c86c54f6aa03305096789

    • -10
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +75
    ./SqLiteConnectionStringBuilderTest.cs
  1. … 11 more files in changeset.
Added DikeAssessmentSectionEntity in the database Created converter from DikeAssessmentSectionEntity to DikeAssessmentSection and back Related to Issue [WTI-279]

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

Former-commit-id: 58954e70f515139ce5cd76264f88d4aaadc0983c

    • -0
    • +6
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +110
    ./Converter/DikeAssessmentSectionEntityConverterTest.cs
    • -0
    • +22
    ./DbContext/DbSet.cs
  1. … 12 more files in changeset.
# Extra info when throwing ArgumentNullException # Updated variable and method names in test Related to Issue [WTI-285]

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

Former-commit-id: fe1f19b4e5f9ec2635d6568ce951d6e92ba8cd8d

    • -11
    • +11
    ./SqLiteStorageConnectionTest.cs
  1. … 1 more file in changeset.
Some refactor work and tests extended after review Related to Issue [WTI-285]

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

Former-commit-id: b562ad4e5132dc4fb1c31f1f746983f304cde837

  1. … 2 more files in changeset.
- improved test coverage Related to Issue [WTI-285]

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

Former-commit-id: a445dfd1e5f2760ae45a7249b776b037d29126c9

    • -0
    • +2
    ./Exceptions/EntityNotFoundExceptionTest.cs
- removed redundant context files - Removed Ringtoets.rtd from solution (and setup). It is still necessary for development though. - added tests Related to Issue [WTI-285]

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

Former-commit-id: c1812b3f29ab623f2873d8c5f30271fb6e8e2166

    • -2
    • +47
    ./Converter/ProjectEntityConverterTest.cs
  1. … 22 more files in changeset.
- Changes after review Related to Issue [WTI-284]

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

Former-commit-id: d005f2917a1e1b280ea3f4b1241a8b9b6048859f

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +193
    ./StorageSqLiteTest.cs
  1. … 8 more files in changeset.
Tests extended Related to Issue [WTI-286]

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

Former-commit-id: 8f0fd8b09f447993607d768824854103ceb4e167

  1. … 4 more files in changeset.
Renamed Ringtoets database file RT to RTD Related to Issue [WTI-286]

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

Former-commit-id: c58cab651752134c5f21335d0e436b93f49ef1a5

    • binary
    ./test-data/DatabaseFiles/ValidRingtoetsDatabase.rtd
    • -0
    • +0
    ./test-data/DatabaseFiles/empty.rtd
  1. … 9 more files in changeset.
- Changed Core.Common.Gui implementation to interface - Simplified execution path to interact with Storage - Moved storage Exceptions and interfaces to Core.Common.Base Related to Issue [WTI-284]

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

Former-commit-id: 55b85ad4905185d325a9c40a965a9bd389da08b2

    • -1
    • +0
    ./Application.Ringtoets.Storage.Test.csproj
    • -53
    • +0
    ./Exceptions/UpdateDatabaseExceptionTest.cs
  1. … 28 more files in changeset.
- Changes after review Related to Issue [WTI-284]

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

Former-commit-id: 392e01d96ae5025777e40d28882d0e447e921805

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
    • -10
    • +14
    ./Converter/ProjectEntityConverterTest.cs
    • -7
    • +8
    ./Exceptions/EntityNotFoundExceptionTest.cs
    • -53
    • +0
    ./Exceptions/InvalidFileException.cs
    • -0
    • +53
    ./Exceptions/UpdateDatabaseExceptionTest.cs
  1. … 6 more files in changeset.
- Renamed *Converter* to *Converters* Related to Issue [WTI-291]

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

Former-commit-id: c7e2e0939707141d3ba09819687604692fa817ce

    • -1
    • +1
    ./Converter/ProjectEntityConverterTest.cs
  1. … 4 more files in changeset.
# Added feature to create a new Ringtoets project file ## Apply database structure by executing the script *DatabaseStructure.sql* using an SqLiteConnection ## Saving the current project to the Ringtoets project file by using an EntityConnection Related to Issue [WTI-286]

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

Former-commit-id: cde3f4ac99331c19e5724ee43a2e0636d4acb29c

  1. … 21 more files in changeset.
Cleanup Added tests for ProjectEntity and Exceptions Related to Issue [WTI-284]

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

Former-commit-id: dd252ec55e008d8bda6529e3b777fc70e084b17b

    • -0
    • +4
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +58
    ./DbContext/ProjectEntityTest.cs
    • -0
    • +53
    ./Exceptions/EntityNotFoundExceptionTest.cs
    • -0
    • +53
    ./Exceptions/InvalidFileException.cs
  1. … 4 more files in changeset.
Fixed test (should have been different id) Related to Issue [WTI-291]

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

Former-commit-id: 0cec0e5b465286699a3ab2de8dad03edf9506726

    • -1
    • +1
    ./Converter/ProjectEntityConverterTest.cs
changes implemented after review WTI-Review-246 - Extended teste coverage Related to Issue [WTI-291]

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

Former-commit-id: f2501965746e7ceafc70fd22ada5bf2fa4ca9100

    • -8
    • +99
    ./Converter/ProjectEntityConverterTest.cs
  1. … 23 more files in changeset.
* Added version to database * Added test-data for ringtoets databases * Moved FileUtils to Core.Common.Utils * Renamed Core.Common.Utils.Properties/Resource to Core.Common.Utils.Properties/Resources

Related to Issue [WTI-284]

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

Former-commit-id: 99e0a481b8b4a6abc91210fd23b345e3e4749f1b

  1. … 47 more files in changeset.
- Implemented feature to open a Project - Implemented feature to build new SQLite connection string - Had to implement method SaveProject to test check if the connection string works properly (will be further implemented in WTI-286 and WTI-285) - Added a few tests for storage Related to Issue [WTI-284]

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

Former-commit-id: a4ef1ff3db9d0bf68c8c468200fedf1955d634ae

    • -0
    • +6
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +87
    ./Converter/ProjectEntityConverterTest.cs
    • -0
    • +17
    ./SqLiteStorageConnectionTest.cs
    • binary
    ./test-data/DatabaseFiles/ValidRingtoetsDatabase.rt
    • -0
    • +0
    ./test-data/DatabaseFiles/empty.rt
  1. … 20 more files in changeset.
- Added comments - Changed database extension to rt - Added tests Related to Issue [WTI-291]

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

Former-commit-id: c755e44a5b1b213a4c771cc4eff7c735d5893f90

    • -3
    • +13
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 15 more files in changeset.
# Moved Ringtoets.sqlite to Application.Ringtoets.Storage # Added DbContext for ProjectEntity # Added class to load Project Related to Issue [WTI-291]

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

Former-commit-id: 5c0771ed42e0707791f13761a8288ca075a9e99c

    • -1
    • +21
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 18 more files in changeset.
Improved pdb configuration Related to Issue [WTI-309]

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

Former-commit-id: 95c06c9a739ec690e52abe7ac71566ab2dfe1049

    • -1
    • +1
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 21 more files in changeset.
# Removed redundant reference to Application.Ringtoets. # Removed redundant system references. # Removed superfluous reference to *Microsoft.Common.props*. Related to Issue [WTI-264]

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

Former-commit-id: 56608741b91fdd2cd138e2322bd1cbd5a90fda1a

    • -2
    • +0
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 2 more files in changeset.
Added latest version of SQLite and Entity Framework to project Application.Ringtoets.Storage Related to Issue [WTI-281]

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

Former-commit-id: b63837a2b7fdf4c52058a2cacb285d3faad1e41b

    • -0
    • +18
    ./Application.Ringtoets.Storage.Test.csproj
  1. … 104 more files in changeset.
Added project Application.Ringtoets.Storage Added project Application.Ringtoets.Storage.Test Related to Issue [WTI-264]

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

Former-commit-id: 3da139fc071754d2e010600abd324a0a9a0bc458

    • -0
    • +66
    ./Application.Ringtoets.Storage.Test.csproj
    • -0
    • +29
    ./Properties/AssemblyInfo.cs
  1. … 5 more files in changeset.