Skip to content

Commit

Permalink
Added test for gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Dec 12, 2023
1 parent a21bbd3 commit c595526
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func GetNonVirtualRepositories() map[*string]string {
TestPip: {&PypiRemoteRepo},
TestPipenv: {&PipenvRemoteRepo},
TestPlugins: {&RtRepo1},
TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo},
TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo, &GradleRemoteRepo},
TestAccess: {&RtRepo1},
TestTransfer: {&RtRepo1, &RtRepo2, &MvnRepo1, &MvnRemoteRepo, &DockerRemoteRepo},
TestLifecycle: {&RtDevRepo, &RtProdRepo},
Expand Down
6 changes: 6 additions & 0 deletions xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,12 @@ func TestDependencyResolutionFromArtifactory(t *testing.T) {
cacheRepoName: tests.YarnRemoteRepo,
projectType: artUtils.Yarn,
},
{
testProjectPath: []string{"gradle", "gradleproject"},
resolveRepoName: tests.GradleRemoteRepo,
cacheRepoName: tests.GradleRemoteRepo,
projectType: artUtils.Gradle,
},
}
createJfrogHomeConfig(t, true)
defer cleanTestsHomeEnv()
Expand Down

0 comments on commit c595526

Please sign in to comment.