Skip to content

Commit 25ec200

Browse files
committed
Merge branch 'task/RDMP-230-pure-integration' of https://github.com/HicServices/RDMP into task/RDMP-33-hdr-integration
2 parents fcd7892 + d61dfea commit 25ec200

File tree

83 files changed

+3982
-891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+3982
-891
lines changed

Application/ResearchDataManagementPlatform/WindowManagement/HomePane/HomeBoxUI.Designer.cs

Lines changed: 79 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Application/ResearchDataManagementPlatform/WindowManagement/HomePane/HomeBoxUI.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
using Rdmp.Core.CommandExecution;
1212
using Rdmp.Core.CommandExecution.AtomicCommands;
1313
using Rdmp.Core.Curation.Data;
14+
using Rdmp.Core.Curation.Data.Datasets;
15+
using Rdmp.Core.Datasets;
1416
using Rdmp.Core.Icons.IconProvision;
1517
using Rdmp.Core.MapsDirectlyToDatabaseTable;
1618
using Rdmp.UI;
@@ -25,7 +27,7 @@ public partial class HomeBoxUI : UserControl
2527
{
2628
private IActivateItems _activator;
2729
private bool _doneSetup;
28-
private Type _openType;
30+
private System.Type _openType;
2931

3032
private RDMPCollectionCommonFunctionality CommonTreeFunctionality { get; } = new();
3133

@@ -35,7 +37,7 @@ public HomeBoxUI()
3537
olvRecent.ItemActivate += OlvRecent_ItemActivate;
3638
}
3739

38-
public void SetUp(IActivateItems activator, string title, Type openType, AtomicCommandUIFactory factory,
40+
public void SetUp(IActivateItems activator, string title, System.Type openType, AtomicCommandUIFactory factory,
3941
params IAtomicCommand[] newCommands)
4042
{
4143
_openType = openType;

Application/ResearchDataManagementPlatform/WindowManagement/HomePane/HomeBoxUI.resx

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<root>
3-
<!--
3+
<!--
44
Microsoft ResX Schema
5-
5+
66
Version 2.0
7-
8-
The primary goals of this format is to allow a simple XML format
9-
that is mostly human readable. The generation and parsing of the
10-
various data types are done through the TypeConverter classes
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
1111
associated with the data types.
12-
12+
1313
Example:
14-
14+
1515
... ado.net/XML headers & schema ...
1616
<resheader name="resmimetype">text/microsoft-resx</resheader>
1717
<resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
2626
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
2727
<comment>This is a comment</comment>
2828
</data>
29-
30-
There are any number of "resheader" rows that contain simple
29+
30+
There are any number of "resheader" rows that contain simple
3131
name/value pairs.
32-
33-
Each data row contains a name, and value. The row also contains a
34-
type or mimetype. Type corresponds to a .NET class that support
35-
text/value conversion through the TypeConverter architecture.
36-
Classes that don't support this are serialized and stored with the
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
3737
mimetype set.
38-
39-
The mimetype is used for serialized objects, and tells the
40-
ResXResourceReader how to depersist the object. This is currently not
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
4141
extensible. For a given mimetype the value must be set accordingly:
42-
43-
Note - application/x-microsoft.net.object.binary.base64 is the format
44-
that the ResXResourceWriter will generate, however the reader can
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
4545
read any of the formats listed below.
46-
46+
4747
mimetype: application/x-microsoft.net.object.binary.base64
48-
value : The object must be serialized with
48+
value : The object must be serialized with
4949
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
5151
5252
mimetype: application/x-microsoft.net.object.soap.base64
53-
value : The object must be serialized with
53+
value : The object must be serialized with
5454
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
5555
: and then encoded with base64 encoding.
5656
5757
mimetype: application/x-microsoft.net.object.bytearray.base64
58-
value : The object must be serialized into a byte array
58+
value : The object must be serialized into a byte array
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Changelog
23
All notable changes to this project will be documented in this file.
34

Rdmp.Core.Tests/CommandExecution/ExecuteCommandCreateDatasetTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void TestDatasetCreationOKExtendedParameters()
2626
{
2727
var cmd = new ExecuteCommandCreateDataset(GetMockActivator(), "dataset2","somedoi","some source");
2828
Assert.DoesNotThrow(cmd.Execute);
29-
var founddataset = GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Dataset>().First(static ds => ds.Name == "dataset2" && ds.DigitalObjectIdentifier == "somedoi" && ds.Source == "some source");
29+
var founddataset = GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>().First(static ds => ds.Name == "dataset2" && ds.DigitalObjectIdentifier == "somedoi" && ds.Source == "some source");
3030
Assert.That(founddataset,Is.Not.Null);
3131
}
3232
}

Rdmp.Core.Tests/CommandExecution/ExecuteCommandDeleteDatasetTest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ public void TestDeleteExistingDataset()
1313
{
1414
var cmd = new ExecuteCommandCreateDataset(GetMockActivator(), "dataset");
1515
Assert.DoesNotThrow(() => cmd.Execute());
16-
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Rdmp.Core.Curation.Data.Dataset>(), Has.Length.EqualTo(1));
17-
var founddataset = GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Dataset>().First(static ds => ds.Name == "dataset");
16+
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>(), Has.Length.EqualTo(1));
17+
var founddataset = GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>().First(static ds => ds.Name == "dataset");
1818
var delCmd = new ExecuteCommandDeleteDataset(GetMockActivator(), founddataset);
1919
Assert.DoesNotThrow(() => delCmd.Execute());
20-
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Rdmp.Core.Curation.Data.Dataset>(), Is.Empty);
20+
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>(), Is.Empty);
2121
}
2222

2323
[Test]
2424
public void TestDeleteNonExistantDataset()
2525
{
26-
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Rdmp.Core.Curation.Data.Dataset>(), Is.Empty);
27-
var founddataset = new Core.Curation.Data.Dataset();
26+
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>(), Is.Empty);
27+
var founddataset = new Core.Curation.Data.Datasets.Dataset();
2828
var delCmd = new ExecuteCommandDeleteDataset(GetMockActivator(), founddataset);
2929
Assert.Throws<NullReferenceException>(() => delCmd.Execute());
30-
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Rdmp.Core.Curation.Data.Dataset>(), Is.Empty);
30+
Assert.That(GetMockActivator().RepositoryLocator.CatalogueRepository.GetAllObjects<Core.Curation.Data.Datasets.Dataset>(), Is.Empty);
3131
}
3232
}

0 commit comments

Comments
 (0)