Skip to content

Commit afbef18

Browse files
author
Carolina BorbonMiranda
committed
add transitive scoped dependency with 'verify' scope
1 parent fc830d5 commit afbef18

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

tests/integration_tests/Test/PM/Integration/BuildDependencyGraphScopedDeps.cls

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ Method TestDependencyGraphScopedDependency()
4343
set $listbuild(,,,,moduleBScope) = dependencyGraph("module-b")
4444
do $$$AssertEquals(moduleBScope, "", "module-b scope succssfully checked to be empty.")
4545

46-
// Check scoped dependency
46+
// Check scoped dependencies
4747
do $$$AssertTrue($data(dependencyGraph("module-c")))
4848
set $listbuild(,,,,moduleCScope) = dependencyGraph("module-c")
4949
do $$$AssertEquals(moduleCScope, "test", "module-c scope succssfully checked to be 'test'.")
50+
51+
do $$$AssertTrue($data(dependencyGraph("module-d")))
52+
set $listbuild(,,,,moduleDScope) = dependencyGraph("module-d")
53+
do $$$AssertEquals(moduleDScope, "verify", "module-d scope succssfully checked to be 'verify'.")
5054
}
5155

5256
}

tests/integration_tests/Test/PM/Integration/_data/build-dependency-graph-scoped-dep/module-b/module.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<Name>module-c</Name>
1010
<Version>^3.0.0</Version>
1111
</ModuleReference>
12+
<ModuleReference Scope="verify">
13+
<Name>module-d</Name>
14+
<Version>^4.0.0</Version>
15+
</ModuleReference>
1216
</Dependencies>
1317
</Module>
1418
</Document>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Export generator="IRIS" version="26">
3+
<Document name="module-d.ZPM">
4+
<Module>
5+
<Name>module-d</Name>
6+
<Version>4.0.0</Version>
7+
</Module>
8+
</Document>
9+
</Export>

0 commit comments

Comments
 (0)