Skip to content

Commit

Permalink
DMN 15b - no-name imports - rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StrayAlien committed Oct 5, 2024
1 parent b91b4c5 commit 4ec4b64
Show file tree
Hide file tree
Showing 68 changed files with 159 additions and 159 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-001-A"
name="1158-noname-imports-001-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-01-A"
name="1158-noname-imports-01-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-001-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-01-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-001-B"
name="1158-noname-imports-001-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-01-B"
name="1158-noname-imports-01-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-001-A.dmn</modelName>
<modelName>1158-noname-imports-01-A.dmn</modelName>

<!-- model A uses a number of no-name imports from model B -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-002-A"
name="1158-noname-imports-002-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-02-A"
name="1158-noname-imports-02-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-002-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-02-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-002-B"
name="1158-noname-imports-002-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-02-B"
name="1158-noname-imports-02-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<!-- does nothing but effectively import, then re-export everything in model C -->

<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-002-C"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-02-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-002-C"
name="1158-noname-imports-002-C"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-02-C"
name="1158-noname-imports-02-C"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-002-A.dmn</modelName>
<modelName>1158-noname-imports-02-A.dmn</modelName>

<!-- asserting that imports are recursive in that no-name imports of no-name imports
are also considered part of the current model namespace. Here, the model A imports
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-003-A"
name="1158-noname-imports-003-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-03-A"
name="1158-noname-imports-03-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-003-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-03-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-003-B"
name="1158-noname-imports-003-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-03-B"
name="1158-noname-imports-03-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-003-A.dmn</modelName>
<modelName>1158-noname-imports-03-A.dmn</modelName>

<!-- model A uses a number of no-name imports from model B whose names are already in model A.
There are no ID conflicts. We do not expect anything from model B to override model A.-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-004-A"
name="1158-noname-imports-004-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-04-A"
name="1158-noname-imports-04-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-004-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-04-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-004-B"
name="1158-noname-imports-004-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-04-B"
name="1158-noname-imports-04-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-004-A.dmn</modelName>
<modelName>1158-noname-imports-04-A.dmn</modelName>

<!-- model A has a decision called "allowableDuplicateName". From model B, it uses an imported
typeRef also called "allowableDuplicateName". Name clashes between drg elements and
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-005-A"
name="1158-noname-imports-005-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-05-A"
name="1158-noname-imports-05-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-005-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-05-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-005-B"
name="1158-noname-imports-005-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-05-B"
name="1158-noname-imports-05-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-005-C"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-05-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-C"
name="1158-noname-imports-008-C"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-05-C"
name="1158-noname-imports-05-C"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-005-A.dmn</modelName>
<modelName>1158-noname-imports-05-A.dmn</modelName>

<!-- A imports B, B imports C-->
<!-- Both B & C define decision002 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-006-A"
name="1158-noname-imports-006-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-06-A"
name="1158-noname-imports-06-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-006-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-06-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>

<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-006-C"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-06-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-006-B"
name="1158-noname-imports-006-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-06-B"
name="1158-noname-imports-06-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-007-C"
name="1158-noname-imports-007-C"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-06-C"
name="1158-noname-imports-06-C"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-006-A.dmn</modelName>
<modelName>1158-noname-imports-06-A.dmn</modelName>

<!-- A imports both B & C -->
<!-- Both B & C define decision002 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-009-A"
name="1158-noname-imports-009-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-07-A"
name="1158-noname-imports-07-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-009-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-07-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>

<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-009-D"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-07-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-007-B"
name="1158-noname-imports-007-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-07-B"
name="1158-noname-imports-07-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-006-C"
name="1158-noname-imports-006-C"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-07-C"
name="1158-noname-imports-07-C"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-007-A.dmn</modelName>
<modelName>1158-noname-imports-07-A.dmn</modelName>

<!-- A imports both B & C -->
<!-- Only C defines decision002 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-A"
name="1158-noname-imports-008-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-A"
name="1158-noname-imports-08-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-B"
name="1158-noname-imports-008-B"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-B"
name="1158-noname-imports-08-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-C"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>

<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-D"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-D"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-005-C"
name="1158-noname-imports-005-C"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-C"
name="1158-noname-imports-08-C"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-008-D"
name="1158-noname-imports-008-D"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-08-D"
name="1158-noname-imports-08-D"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<modelName>1158-noname-imports-008-A.dmn</modelName>
<modelName>1158-noname-imports-08-A.dmn</modelName>

<!-- A imports B, B import C & D -->
<!-- Both C & D define decision002 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-010-A"
name="1158-noname-imports-009-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-09-A"
name="1158-noname-imports-09-A"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-010-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-09-B"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>

<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-010-D"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-09-D"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-019-A"
name="1158-noname-imports-019-A"
<definitions namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-09-B"
name="1158-noname-imports-09-B"
id="_i9fboPUUEeesLuP4RHs4vA"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
>
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-019-B"
<import namespace="http://www.montera.com.au/spec/DMN/1158-noname-imports-09-C"
name=""
importType="https://www.omg.org/spec/DMN/20230324/MODEL/"
/>
Expand Down
Loading

0 comments on commit 4ec4b64

Please sign in to comment.