Skip to content

Commit f48315d

Browse files
[Move] ecore expected and output to dedicated directory
1 parent 12c013d commit f48315d

File tree

105 files changed

+18241
-18223
lines changed

Some content is hidden

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

105 files changed

+18241
-18223
lines changed

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/AnnotatingElement.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/AnnotatingElement.cs

Lines changed: 251 additions & 251 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Annotation.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Annotation.cs

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Comment.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Comment.cs

Lines changed: 258 additions & 258 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Connector.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Connector.cs

Lines changed: 826 additions & 826 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Definition.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Definition.cs

File renamed without changes.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Dependency.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Dependency.cs

Lines changed: 269 additions & 269 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/Feature.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/Feature.cs

Lines changed: 815 additions & 815 deletions
Large diffs are not rendered by default.

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/IAnnotatingElement.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/IAnnotatingElement.cs

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
1-
// -------------------------------------------------------------------------------------------------
2-
// <copyright file="IAnnotatingElement.cs" company="Starion Group S.A.">
3-
//
4-
// Copyright 2022-2025 Starion Group S.A.
5-
//
6-
// Licensed under the Apache License, Version 2.0 (the "License");
7-
// you may not use this file except in compliance with the License.
8-
// You may obtain a copy of the License at
9-
//
10-
// http://www.apache.org/licenses/LICENSE-2.0
11-
//
12-
// Unless required by applicable law or agreed to in writing, software
13-
// distributed under the License is distributed on an "AS IS" BASIS,
14-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
// See the License for the specific language governing permissions and
16-
// limitations under the License.
17-
//
18-
// </copyright>
19-
// ------------------------------------------------------------------------------------------------
20-
21-
// ------------------------------------------------------------------------------------------------
22-
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
23-
// ------------------------------------------------------------------------------------------------
24-
25-
namespace SysML2.NET.Core.POCO
26-
{
27-
using System;
28-
using System.Collections.Generic;
29-
30-
using SysML2.NET.Core;
31-
using SysML2.NET.Decorators;
32-
33-
/// <summary>
34-
/// An AnnotatingElement is an Element that provides additional description of or metadata on some other
35-
/// Element. An AnnotatingElement is either attached to its annotatedElements by Annotation
36-
/// Relationships, or it implicitly annotates its owningNamespace.annotatedElement = if
37-
/// annotation->notEmpty() then annotation.annotatedElement else Sequence{owningNamespace}
38-
/// endifownedAnnotatingRelationship = ownedRelationship-> selectByKind(Annotation)-> select(a |
39-
/// a.annotatedElement <> self)annotation = if owningAnnotatingRelationship = null then
40-
/// ownedAnnotatingRelationship else
41-
/// owningAnnotatingRelationship->prepend(owningAnnotatingRelationship) endif
42-
/// </summary>
43-
public partial interface IAnnotatingElement : IElement
44-
{
45-
/// <summary>
46-
/// Queries the derived property AnnotatedElement
47-
/// </summary>
48-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
49-
List<IElement> QueryAnnotatedElement();
50-
51-
/// <summary>
52-
/// Queries the derived property Annotation
53-
/// </summary>
54-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
55-
List<Annotation> QueryAnnotation();
56-
57-
/// <summary>
58-
/// Queries the derived property OwnedAnnotatingRelationship
59-
/// </summary>
60-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
61-
List<Annotation> QueryOwnedAnnotatingRelationship();
62-
63-
/// <summary>
64-
/// Queries the derived property OwningAnnotatingRelationship
65-
/// </summary>
66-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
67-
Annotation QueryOwningAnnotatingRelationship();
68-
69-
}
70-
}
71-
72-
// ------------------------------------------------------------------------------------------------
73-
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
74-
// ------------------------------------------------------------------------------------------------
1+
// -------------------------------------------------------------------------------------------------
2+
// <copyright file="IAnnotatingElement.cs" company="Starion Group S.A.">
3+
//
4+
// Copyright 2022-2025 Starion Group S.A.
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// </copyright>
19+
// ------------------------------------------------------------------------------------------------
20+
21+
// ------------------------------------------------------------------------------------------------
22+
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
23+
// ------------------------------------------------------------------------------------------------
24+
25+
namespace SysML2.NET.Core.POCO
26+
{
27+
using System;
28+
using System.Collections.Generic;
29+
30+
using SysML2.NET.Core;
31+
using SysML2.NET.Decorators;
32+
33+
/// <summary>
34+
/// An AnnotatingElement is an Element that provides additional description of or metadata on some other
35+
/// Element. An AnnotatingElement is either attached to its annotatedElements by Annotation
36+
/// Relationships, or it implicitly annotates its owningNamespace.annotatedElement = if
37+
/// annotation->notEmpty() then annotation.annotatedElement else Sequence{owningNamespace}
38+
/// endifownedAnnotatingRelationship = ownedRelationship-> selectByKind(Annotation)-> select(a |
39+
/// a.annotatedElement <> self)annotation = if owningAnnotatingRelationship = null then
40+
/// ownedAnnotatingRelationship else
41+
/// owningAnnotatingRelationship->prepend(owningAnnotatingRelationship) endif
42+
/// </summary>
43+
public partial interface IAnnotatingElement : IElement
44+
{
45+
/// <summary>
46+
/// Queries the derived property AnnotatedElement
47+
/// </summary>
48+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 1, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
49+
List<IElement> QueryAnnotatedElement();
50+
51+
/// <summary>
52+
/// Queries the derived property Annotation
53+
/// </summary>
54+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
55+
List<Annotation> QueryAnnotation();
56+
57+
/// <summary>
58+
/// Queries the derived property OwnedAnnotatingRelationship
59+
/// </summary>
60+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: true, isUnique: true, lowerBound: 0, upperBound: -1, isMany: false, isRequired: false, isContainment: false)]
61+
List<Annotation> QueryOwnedAnnotatingRelationship();
62+
63+
/// <summary>
64+
/// Queries the derived property OwningAnnotatingRelationship
65+
/// </summary>
66+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
67+
Annotation QueryOwningAnnotatingRelationship();
68+
69+
}
70+
}
71+
72+
// ------------------------------------------------------------------------------------------------
73+
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
74+
// ------------------------------------------------------------------------------------------------

SysML2.NET.CodeGenerator.Tests/Expected/AutGenPoco/IAnnotation.cs renamed to SysML2.NET.CodeGenerator.Tests/Expected/Ecore/Core/AutGenPoco/IAnnotation.cs

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
// -------------------------------------------------------------------------------------------------
2-
// <copyright file="IAnnotation.cs" company="Starion Group S.A.">
3-
//
4-
// Copyright 2022-2025 Starion Group S.A.
5-
//
6-
// Licensed under the Apache License, Version 2.0 (the "License");
7-
// you may not use this file except in compliance with the License.
8-
// You may obtain a copy of the License at
9-
//
10-
// http://www.apache.org/licenses/LICENSE-2.0
11-
//
12-
// Unless required by applicable law or agreed to in writing, software
13-
// distributed under the License is distributed on an "AS IS" BASIS,
14-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
// See the License for the specific language governing permissions and
16-
// limitations under the License.
17-
//
18-
// </copyright>
19-
// ------------------------------------------------------------------------------------------------
20-
21-
// ------------------------------------------------------------------------------------------------
22-
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
23-
// ------------------------------------------------------------------------------------------------
24-
25-
namespace SysML2.NET.Core.POCO
26-
{
27-
using System;
28-
using System.Collections.Generic;
29-
30-
using SysML2.NET.Core;
31-
using SysML2.NET.Decorators;
32-
33-
/// <summary>
34-
/// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by
35-
/// that AnnotatingElement.(owningAnnotatedElement <> null) = (ownedAnnotatingElement <>
36-
/// null)ownedAnnotatingElement <> null xor owningAnnotatingElement <> nullownedAnnotatingElement =
37-
/// let ownedAnnotatingElements : Sequence(AnnotatingElement) =
38-
/// ownedRelatedElement->selectByKind(AnnotatingElement) in if ownedAnnotatingElements->isEmpty()
39-
/// then null else ownedAnnotatingElements->first() endifannotatingElement = if
40-
/// ownedAnnotatingElement <> null then ownedAnnotatingElement else owningAnnotatingElement endif
41-
/// </summary>
42-
public partial interface IAnnotation : IRelationship
43-
{
44-
/// <summary>
45-
/// The Element that is annotated by the annotatingElement of this Annotation.
46-
/// </summary>
47-
[EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
48-
IElement AnnotatedElement { get; set; }
49-
50-
/// <summary>
51-
/// Queries the derived property AnnotatingElement
52-
/// </summary>
53-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
54-
AnnotatingElement QueryAnnotatingElement();
55-
56-
/// <summary>
57-
/// Queries the derived property OwnedAnnotatingElement
58-
/// </summary>
59-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
60-
AnnotatingElement QueryOwnedAnnotatingElement();
61-
62-
/// <summary>
63-
/// Queries the derived property OwningAnnotatedElement
64-
/// </summary>
65-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
66-
IElement QueryOwningAnnotatedElement();
67-
68-
/// <summary>
69-
/// Queries the derived property OwningAnnotatingElement
70-
/// </summary>
71-
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
72-
AnnotatingElement QueryOwningAnnotatingElement();
73-
74-
}
75-
}
76-
77-
// ------------------------------------------------------------------------------------------------
78-
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
79-
// ------------------------------------------------------------------------------------------------
1+
// -------------------------------------------------------------------------------------------------
2+
// <copyright file="IAnnotation.cs" company="Starion Group S.A.">
3+
//
4+
// Copyright 2022-2025 Starion Group S.A.
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// </copyright>
19+
// ------------------------------------------------------------------------------------------------
20+
21+
// ------------------------------------------------------------------------------------------------
22+
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
23+
// ------------------------------------------------------------------------------------------------
24+
25+
namespace SysML2.NET.Core.POCO
26+
{
27+
using System;
28+
using System.Collections.Generic;
29+
30+
using SysML2.NET.Core;
31+
using SysML2.NET.Decorators;
32+
33+
/// <summary>
34+
/// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by
35+
/// that AnnotatingElement.(owningAnnotatedElement <> null) = (ownedAnnotatingElement <>
36+
/// null)ownedAnnotatingElement <> null xor owningAnnotatingElement <> nullownedAnnotatingElement =
37+
/// let ownedAnnotatingElements : Sequence(AnnotatingElement) =
38+
/// ownedRelatedElement->selectByKind(AnnotatingElement) in if ownedAnnotatingElements->isEmpty()
39+
/// then null else ownedAnnotatingElements->first() endifannotatingElement = if
40+
/// ownedAnnotatingElement <> null then ownedAnnotatingElement else owningAnnotatingElement endif
41+
/// </summary>
42+
public partial interface IAnnotation : IRelationship
43+
{
44+
/// <summary>
45+
/// The Element that is annotated by the annotatingElement of this Annotation.
46+
/// </summary>
47+
[EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
48+
IElement AnnotatedElement { get; set; }
49+
50+
/// <summary>
51+
/// Queries the derived property AnnotatingElement
52+
/// </summary>
53+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
54+
AnnotatingElement QueryAnnotatingElement();
55+
56+
/// <summary>
57+
/// Queries the derived property OwnedAnnotatingElement
58+
/// </summary>
59+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
60+
AnnotatingElement QueryOwnedAnnotatingElement();
61+
62+
/// <summary>
63+
/// Queries the derived property OwningAnnotatedElement
64+
/// </summary>
65+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
66+
IElement QueryOwningAnnotatedElement();
67+
68+
/// <summary>
69+
/// Queries the derived property OwningAnnotatingElement
70+
/// </summary>
71+
[EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)]
72+
AnnotatingElement QueryOwningAnnotatingElement();
73+
74+
}
75+
}
76+
77+
// ------------------------------------------------------------------------------------------------
78+
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
79+
// ------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)