Sha256: b90ae4b9d6c2f0c120104ca1d2f9012bb9af00e21284237c140cfe32a09c08d3
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
require_relative '../../support/feature_helper' describe 'Gradle Dependencies' do # As a Java developer # I want to be able to manage Gradle dependencies let(:java_developer) { LicenseFinder::TestingDSL::User.new } specify 'are shown in reports for a single-module project' do LicenseFinder::TestingDSL::GradleProject.create java_developer.run_license_finder('single-module-gradle') expect(java_developer).to be_seeing_line 'junit, 4.11, "Common Public License Version 1.0"' end specify 'are shown in reports for a multi-module project' do LicenseFinder::TestingDSL::GradleProject::MultiModule.create java_developer.run_license_finder('multi-module-gradle') expect(java_developer).to be_seeing_line 'junit, 4.12, "Eclipse Public License 1.0"' expect(java_developer).to be_seeing_line 'mockito-core, 1.9.5, MIT' end specify 'show both file-based jars and downloaded dependencies' do LicenseFinder::TestingDSL::GradleProject::FileBasedLibs.create java_developer.run_license_finder('file-based-libs-gradle') expect(java_developer).to be_seeing_line 'data.json-0.2.3.jar, unknown, unknown' expect(java_developer).to be_seeing_line 'guava, 18.0, "Apache 2.0"' end specify 'are shown in reports for a project with an alternate build.gradle file' do LicenseFinder::TestingDSL::AlternateBuildFileGradleProject.create java_developer.run_license_finder('alternate-build-file-gradle') expect(java_developer).to be_seeing_line 'junit, 4.11, "Common Public License Version 1.0"' end end
Version data entries
3 entries across 3 versions & 1 rubygems