Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Support for Diagramming and Attachments; fixes #299 #300

Open
wants to merge 10 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions CDP4Common.NetCore.Tests/Helpers/TypeResolverTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand Down Expand Up @@ -49,7 +49,7 @@ public void Verify_that_GetDerivedTypes_returns_expected_results()

var subtypes = TypeResolver.GetDerivedTypes(subjectType, assembly).ToList();

Assert.That(subtypes.Count, Is.EqualTo(67));
Assert.That(subtypes.Count, Is.EqualTo(68));
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand Down Expand Up @@ -48,6 +48,7 @@ public void verify_that_correct_versions_are_returned()
new Version(1, 1, 0),
new Version(1, 2, 0),
new Version(1, 3, 0),
new Version(1, 4, 0),
};

var versions = new MetaDataProvider().QuerySupportedModelVersions();
Expand All @@ -58,7 +59,7 @@ public void verify_that_correct_versions_are_returned()
[Test]
public void verify_that_correct_max_version_is_returned()
{
var expected = new Version(1, 3, 0);
var expected = new Version(1, 4, 0);

var version = new MetaDataProvider().GetMaxSupportedModelVersion();

Expand Down
8 changes: 4 additions & 4 deletions CDP4Common.NetCore.Tests/Poco/ParticipantRoleTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand All @@ -38,7 +38,7 @@ internal class ParticipantRoleTestFixture
public void VerifyPopulateParticipantPermissions()
{
var participantRole = new ParticipantRole();
Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(48));
Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(49));
Assert.IsTrue(participantRole.ParticipantPermission.All(x => x.AccessRight == ParticipantAccessRightKind.NONE));
}
}
Expand Down
10 changes: 5 additions & 5 deletions CDP4Common.Tests/Helpers/TypeResolverTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// <copyright file="TypeResolverTestFixture.cs" company="RHEA System S.A.">
// Copyright (c) 2015-2024 RHEA System S.A.
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand Down Expand Up @@ -47,7 +47,7 @@ public void Verify_that_GetDerivedTypes_returns_expected_results()

var subtypes = TypeResolver.GetDerivedTypes(subjectType, assembly).ToList();

Assert.That(subtypes.Count, Is.EqualTo(67));
Assert.That(subtypes.Count, Is.EqualTo(68));
}

[Test]
Expand Down
11 changes: 6 additions & 5 deletions CDP4Common.Tests/MetaInfo/MetadataProviderTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// <copyright file="MetadataProviderTestFixture.cs" company="RHEA System S.A.">
// Copyright (c) 2015-2024 RHEA System S.A.
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDKK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand Down Expand Up @@ -48,6 +48,7 @@ public void verify_that_correct_versions_are_extracted_drom_dto_classes()
new Version(1, 1, 0),
new Version(1, 2, 0),
new Version(1, 3, 0),
new Version(1, 4, 0),
};

var versions = new MetaDataProvider().QuerySupportedModelVersions();
Expand All @@ -58,7 +59,7 @@ public void verify_that_correct_versions_are_extracted_drom_dto_classes()
[Test]
public void verify_that_correct_max_version_is_returned()
{
var expected = new Version(1, 3, 0);
var expected = new Version(1, 4, 0);

var version = new MetaDataProvider().GetMaxSupportedModelVersion();

Expand Down
10 changes: 5 additions & 5 deletions CDP4Common.Tests/Poco/ParticipantRoleTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// <copyright file="ParticipantRoleTestFixture.cs" company="RHEA System S.A.">
// Copyright (c) 2015-2024 RHEA System S.A.
//
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou
// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft
//
// This file is part of CDP4-COMET-SDK Community Edition
// This file is part of CDP4-COMET SDK Community Edition
//
// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or
// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.
//
// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful,
// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
Expand All @@ -38,7 +38,7 @@ internal class ParticipantRoleTestFixture
public void VerifyPopulateParticipantPermissions()
{
var participantRole = new ParticipantRole();
Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(48));
Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(49));
Assert.IsTrue(participantRole.ParticipantPermission.All(x => x.AccessRight == ParticipantAccessRightKind.NONE));
}
}
Expand Down
Loading
Loading