Ejemplo n.º 1
0
  protected void assertModuleLibDep(
      String moduleName,
      String depName,
      List<String> classesPaths,
      List<String> sourcePaths,
      List<String> javadocPaths) {
    LibraryOrderEntry lib = getModuleLibDep(moduleName, depName);

    assertModuleLibDepPath(lib, OrderRootType.CLASSES, classesPaths);
    assertModuleLibDepPath(lib, OrderRootType.SOURCES, sourcePaths);
    assertModuleLibDepPath(lib, JavadocOrderRootType.getInstance(), javadocPaths);
  }
Ejemplo n.º 2
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));
  }