Class Assertions

java.lang.Object
org.openrewrite.gradle.Assertions

public class Assertions extends Object
  • Method Details

    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(@Nullable @Nullable String version, @Nullable @Nullable String distribution)
    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(String version)
    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi()
    • buildGradle

      public static org.openrewrite.test.SourceSpecs buildGradle(@Language("groovy") @Nullable @Nullable String before)
    • buildGradle

      public static org.openrewrite.test.SourceSpecs buildGradle(@Language("groovy") @Nullable @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.groovy.tree.G.CompilationUnit>> spec)
    • buildGradle

      public static org.openrewrite.test.SourceSpecs buildGradle(@Language("groovy") @Nullable @Nullable String before, @Language("groovy") @Nullable @Nullable String after)
    • buildGradle

      public static org.openrewrite.test.SourceSpecs buildGradle(@Language("groovy") @Nullable @Nullable String before, @Language("groovy") @Nullable @Nullable String after, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.groovy.tree.G.CompilationUnit>> spec)
    • settingsGradle

      public static org.openrewrite.test.SourceSpecs settingsGradle(@Language("groovy") @Nullable @Nullable String before)
    • settingsGradle

      public static org.openrewrite.test.SourceSpecs settingsGradle(@Language("groovy") @Nullable @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.groovy.tree.G.CompilationUnit>> spec)
    • settingsGradle

      public static org.openrewrite.test.SourceSpecs settingsGradle(@Language("groovy") @Nullable @Nullable String before, @Language("groovy") @Nullable @Nullable String after)
    • settingsGradle

      public static org.openrewrite.test.SourceSpecs settingsGradle(@Language("groovy") @Nullable @Nullable String before, @Language("groovy") @Nullable @Nullable String after, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.groovy.tree.G.CompilationUnit>> spec)