Core.Common.Gui.TestUtil.Test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Tested singleton implementation to SettingsHelper Related to Issue [WTI-1091]

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

Former-commit-id: 5d5ff5dc26bbbe794b1f807c1271580097a6a89d

Former-commit-id: 4c001e8fbbecdf4ce5d11c446c28f13567bf74bd

    • -0
    • +1
    ./Core.Common.Gui.TestUtil.Test.csproj
    • -0
    • +148
    ./Settings/TestSettingsHelperTest.cs
  1. … 5 more files in changeset.
Merged revision(s) 8159-8192 from branches/WTI-1093: added UpdateInfo and methods required to generalize the add update item to context menu. ........ moved resources moved responsibility of getting file path to GuiImportHandler ........ extracted common logic ........ Extracted separate GuiUpdateHandler. Added AddUpdateItem and CreateUpdateItem for context menu builder and factory. ........ Added IInquiryHelper responsible for obtaining information from the user. Implemented DialogBasedInquiryHelper responsible for obtaining information through the use of dialog boxes. Removed unused TestStochasticSoilModelChangeHandler. ........ Extracted classes. Added documentation. ........ Set dialog parent for message box. Added tests for DialogBaseTest to verify parent set. ........ used inquiryHandler in StochasticSoilModelChangeHandler ........ unused ref ........

Related to Issue [WTI-1093]

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

Former-commit-id: 197c77474627ae5f9182b4b6ef28e68a2d161a42

Former-commit-id: 03bd2fbcdbd4fbb16177760d116aeac080d9ee3e

    • -0
    • +13
    ./ContextMenu/CustomItemsOnlyContextMenuBuilderTest.cs
  1. … 50 more files in changeset.
Extracted separate GuiUpdateHandler. Added AddUpdateItem and CreateUpdateItem for context menu builder and factory.

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

Former-commit-id: dc05e7dc708cc9899d45b9570e29ae9267de44b9

Former-commit-id: d50b8e592255273c27afe901b8534345de1757b7

    • -0
    • +13
    ./ContextMenu/CustomItemsOnlyContextMenuBuilderTest.cs
  1. … 28 more files in changeset.
Upgraded to NUnit 3.6.0 Assert.IsNullOrEmpty(...) --> Assert.That(string.IsNullOrEmpty(...)); [STAThread] --> [Apartment(ApartmentState.STA)] [RequiresSTA] --> [Apartment(ApartmentState.STA)]

Current directory <> output dir

http://stackoverflow.com/questions/35852979/using-resharper-nunit-tests-start-in-a-random-temporary-directory

NUnit 3.0 stopped changing current directory.

use TestContext.TestDirectory as the location of your file.

Related to Issue [WTI-1047]

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

Former-commit-id: 8e98e0fcf163c22a6a73ac3aadca4cf947804b0e

Former-commit-id: 490f137aa03123596bf0293183ace6db4f4614e9

    • -2
    • +2
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 335 more files in changeset.
- Upgraded Project ToolsVersion="4.0" to ToolsVersion="14.0" - Ignored ".vs" folder in trunk paired with tang_ds

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

Former-commit-id: beca2918e38aa1e3900b6bc17a0df7e8d1f9c8e3

Former-commit-id: 681a7a3764b91f67e1e97dc0d30f930c901276e0

    • -1
    • +1
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 219 more files in changeset.
Changes after review. Related to Issue [WTI-1016]

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

Former-commit-id: 7eea8f3346f21c5f0ae2283c6d7eeb94f731f07c

Former-commit-id: 3cd3e2fe4ed82c29d50bcd0f2aeae9999e698f04

    • -0
    • +211
    ./ContextMenu/CustomItemsOnlyContextMenuBuilderTest.cs
    • -0
    • +7
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 6 more files in changeset.
(Editorial) - Added missing license headers - Reformatted some of the *.config files in case no return was present between the XML header and license information

Related to Issue [WTI-931]

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

Former-commit-id: 5dfd4dc63c35031adc767ea3a2c4f4e24d7ed898

Former-commit-id: 0f3568dc4158e992538fd5781ff0ab0d52355d37

  1. … 41 more files in changeset.
* Removed unused references in the solution. Related to Issue [WTI-931]

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

Former-commit-id: d3103841ab6e9adba07b05cb228ae2e636a5274c

Former-commit-id: a03541460ccbd16a759c489bef9b4312fe0a0b80

    • -4
    • +0
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 39 more files in changeset.
- Check the code coverage configuration of the trunk Related to Issue [WTI-931]

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

Former-commit-id: 60655265b27b5521f0a53b0998b9ce77e069342f

Former-commit-id: e0560a24c08e4583c331a82ea5348baac1a32bfe

    • -0
    • +1
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 97 more files in changeset.
Merged revision(s) 5600 from branches/Release/16_2: Performed resharper code cleanup. Related to WTI 869

........

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

Former-commit-id: 1f5cdbd9c71ae2e15c1a8f780256c4d349800dac

Former-commit-id: ba09cc58d6bd919ea2d05d633cd306752a558bfe

  1. … 177 more files in changeset.
Performed resharper code cleanup. Related to Issue [WTI-869]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_2@5600 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7ebd4da86463a8ac1225474d630da6be1e0cd0d3

Former-commit-id: 7c050c7874e5fd687bf433ee85ab3fc4a5c4dd7d

  1. … 185 more files in changeset.
Merged revision(s) 5501-5521 from branches/Release/16_2: Added tests for GrassCoverErosionOutwardsDesignWaterLevelLocationsView and its ViewInfo definition in GrassCoverErosionOutwardsPlugin. Related to Issue WTI 881

........

Attempt to improve the testability of ViewInfo

Related to Issue WTI 881

........

Simplified ViewInfoTest, ViewInfoTest felt overkill and was removed.

Related to Issue WTI 881

........

- Moved WaveHeightLocationRow from Integration to Common.Forms to make it accessible for other elements that need to use it

- Implemented the GrassCoverErosionOutwardsWaveHeightLocationsView with ViewInfo, View and adjusted Plugin test

Related to Issue WTI 882

........

Added implementation of CloseForData

Fixed bug where HydraulicBoundaryDatabase file path would not refresh in interface.

Moved DesignWaterLevelLocationRowTest.

Related to Issue WTI 881

........

- Added "Openen" item to the TreeNodeInfo for the WaveHeightLocations related node

- Adjusted tests accordingly

Related to Issue WTI 882

........

Added open item.

Added CloseForData tests.

Hidden child nodes of the GrassCoverErosionOutwards Hydraulic Boundary folder when no hydraulic boundary database has been linked.

Related to Issue WTI 881

........

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

Former-commit-id: 34d9a4b12e440b49bd69ab86cd233547bd93db70

Former-commit-id: a80a1a47b2bfae052d24c795f6064b4d45599aa2

    • -1
    • +9
    ./Core.Common.Gui.TestUtil.Test.csproj
    • -0
    • +191
    ./PluginTestHelperTest.cs
  1. … 40 more files in changeset.
Simplified ViewInfoTest, ViewInfoTest felt overkill and was removed. Related to Issue [WTI-881]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_2@5508 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1c7b364543f59ecc00f61501fca701e55977e7f1

Former-commit-id: 0872d868d812ebd8081c46219c7a31240a20fc6a

    • -1
    • +0
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 3 more files in changeset.
Attempt to improve the testability of ViewInfo Related to Issue [WTI-881]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_2@5507 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 8f0a63e47b3999eee20b2d4e0513ff82c203b310

Former-commit-id: d931f2b77047857a8f5f309c8a66128ed089919d

    • -0
    • +5
    ./Core.Common.Gui.TestUtil.Test.csproj
    • -0
    • +100
    ./ViewInfoTestTest.cs
  1. … 3 more files in changeset.
Added tests for GrassCoverErosionOutwardsDesignWaterLevelLocationsView and its ViewInfo definition in GrassCoverErosionOutwardsPlugin. Related to Issue [WTI-881]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_2@5501 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 725075c7a75c5dc162a6abccad12b06d9244fd57

Former-commit-id: d03ff6e1a212de9f175440a48f48188d26595448

    • -1
    • +5
    ./Core.Common.Gui.TestUtil.Test.csproj
    • -0
    • +191
    ./PluginTestHelperTest.cs
  1. … 7 more files in changeset.
Added view for design water level for hydraulic boundary locations in the grass cover erosion outwards failure mechanism. Modified signature of the AssertPropertyInfoDefined method so that it doesn't use generic types. Added AssertContainsViewInfo method to assert a view info in a collection of view infos defined by a plugin. Moved DesignWaterLevelLocationRow to Ringtoets.Common.Forms so that it could be reused. Related to Issue [WTI-881]

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

Former-commit-id: a4affb1ed440473c02b89eee7a1c422ffbede5cc

Former-commit-id: 00aa7e8dfba9801213174ae284aabc374586b92a

  1. … 21 more files in changeset.
Renamed GuiTestHelper.cs to PluginTestHelper.cs to better match its purpose and to prevent name collision. Added aliasses for Ringtoets.Common.Forms resources. Related to Issue [WTI-746]

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

Former-commit-id: 892483c63a47a4fc32f420ff756c73639adf6212

Former-commit-id: 4e4de303f6d384789d4b975aba493e9d5106dce9

    • -4
    • +0
    ./Core.Common.Gui.TestUtil.Test.csproj
  1. … 85 more files in changeset.
Extracted utility method to GuiTestHelper for asserting defined property info. Moved Resources from Ringtoets.Common.Data to Ringtoets.Common.Forms. Refactored GrassCovererosionOutwardsFailureMechanismContextProperties to ObjectProperties + PropertyInfo.GetObjectPropertyData definition to immediately unpack context. Related to Issue [WTI-746]

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

Former-commit-id: e0f958503d60df0a4842103672c0f930c5cb739b

Former-commit-id: 0348626b48a4932a1dac67e7f16e9dbe1fcf16aa

    • -0
    • +80
    ./Core.Common.Gui.TestUtil.Test.csproj
    • -0
    • +92
    ./GuiTestHelperTest.cs
    • -0
    • +27
    ./Properties/AssemblyInfo.cs
  1. … 66 more files in changeset.