Class Assertions

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

public class Assertions extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
    withToolingApi(@Nullable String version, @Nullable String distribution)
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
    withToolingApi(URI distributionUrl)
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
    withToolingApi(URI distributionUrl, String initScriptContents)
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
    withToolingApi(@Nullable org.openrewrite.gradle.util.GradleWrapper gradleWrapper)
     
    static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>>
    withToolingApi(@Nullable org.openrewrite.gradle.util.GradleWrapper gradleWrapper, @Nullable String initScriptContents)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Assertions

      public Assertions()
  • Method Details

    • withToolingApi

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

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(URI distributionUrl, String initScriptContents)
    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(@Nullable org.openrewrite.gradle.util.GradleWrapper gradleWrapper)
    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(@Nullable org.openrewrite.gradle.util.GradleWrapper gradleWrapper, @Nullable String initScriptContents)
    • withToolingApi

      public static org.openrewrite.test.UncheckedConsumer<List<org.openrewrite.SourceFile>> withToolingApi(@Nullable String version, @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()