use of com.synopsys.integration.detectable.detectables.pipenv.parse.data.PipfileLockDependencyEntry in project synopsys-detect by blackducksoftware.
the class PipfileLockParserTest method pipfileLock.
private PipfileLock pipfileLock() {
PipfileLock pipfileLock = new PipfileLock();
Map<String, PipfileLockDependencyEntry> dependencies = new HashMap<>();
dependencies.put("comp1", createEntry("==1.0"));
dependencies.put("comp2", createEntry(null));
pipfileLock.dependencies = dependencies;
Map<String, PipfileLockDependencyEntry> devDependencies = new HashMap<>();
devDependencies.put("comp3", createEntry("==3.0"));
pipfileLock.devDependencies = devDependencies;
return pipfileLock;
}
use of com.synopsys.integration.detectable.detectables.pipenv.parse.data.PipfileLockDependencyEntry in project synopsys-detect by blackducksoftware.
the class PipfileLockParserTest method createEntry.
private PipfileLockDependencyEntry createEntry(String version) {
PipfileLockDependencyEntry entry = new PipfileLockDependencyEntry();
entry.version = version;
return entry;
}
Aggregations