Example #1
0
  protected void assertModuleLibDep(
      String moduleName,
      String depName,
      String classesPath,
      String sourcePath,
      String javadocPath) {
    LibraryOrderEntry lib = getModuleLibDep(moduleName, depName);

    assertModuleLibDepPath(
        lib,
        OrderRootType.CLASSES,
        classesPath == null ? null : Collections.singletonList(classesPath));
    assertModuleLibDepPath(
        lib,
        OrderRootType.SOURCES,
        sourcePath == null ? null : Collections.singletonList(sourcePath));
    assertModuleLibDepPath(
        lib,
        JavadocOrderRootType.getInstance(),
        javadocPath == null ? null : Collections.singletonList(javadocPath));
  }
Example #2
0
 protected void importProjectWithProfiles(String... profiles) {
   doImportProjects(Collections.singletonList(myProjectPom), profiles);
 }