Search in sources :

Example 6 with ResolvedPackage

use of com.synopsys.integration.detectable.detectables.swift.lock.data.ResolvedPackage in project synopsys-detect by blackducksoftware.

the class PackageResolvedTransformerTest method createPackageResolved.

private PackageResolved createPackageResolved(ResolvedPackage resolvedPackage) {
    List<ResolvedPackage> resolvedPackages = Collections.singletonList(resolvedPackage);
    ResolvedObject resolvedObject = new ResolvedObject(resolvedPackages);
    return new PackageResolved(resolvedObject, "1");
}
Also used : ResolvedObject(com.synopsys.integration.detectable.detectables.swift.lock.data.ResolvedObject) PackageResolved(com.synopsys.integration.detectable.detectables.swift.lock.data.PackageResolved) ResolvedPackage(com.synopsys.integration.detectable.detectables.swift.lock.data.ResolvedPackage)

Aggregations

PackageResolved (com.synopsys.integration.detectable.detectables.swift.lock.data.PackageResolved)6 ResolvedPackage (com.synopsys.integration.detectable.detectables.swift.lock.data.ResolvedPackage)6 DependencyGraph (com.synopsys.integration.bdio.graph.DependencyGraph)5 PackageState (com.synopsys.integration.detectable.detectables.swift.lock.data.PackageState)5 GraphAssert (com.synopsys.integration.detectable.util.graph.GraphAssert)5 Test (org.junit.jupiter.api.Test)5 ExternalId (com.synopsys.integration.bdio.model.externalid.ExternalId)4 ResolvedObject (com.synopsys.integration.detectable.detectables.swift.lock.data.ResolvedObject)1