Class Assertions

java.lang.Object
org.openrewrite.groovy.Assertions

public class Assertions extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openrewrite.test.SourceSpecs
    groovy(@Nullable String before)
     
    static org.openrewrite.test.SourceSpecs
    groovy(@Nullable String before, @Nullable String after)
     
    static org.openrewrite.test.SourceSpecs
    groovy(@Nullable String before, @Nullable String after, Consumer<org.openrewrite.test.SourceSpec<G.CompilationUnit>> spec)
     
    static org.openrewrite.test.SourceSpecs
    groovy(@Nullable String before, Consumer<org.openrewrite.test.SourceSpec<G.CompilationUnit>> spec)
     
    static org.openrewrite.test.SourceSpecs
    srcMainGroovy(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... javaSources)
     
    static org.openrewrite.test.SourceSpecs
    srcMainGroovy(org.openrewrite.test.SourceSpecs... javaSources)
     
    static org.openrewrite.test.SourceSpecs
    srcTestGroovy(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... javaSources)
     
    static org.openrewrite.test.SourceSpecs
    srcTestGroovy(org.openrewrite.test.SourceSpecs... javaSources)
     

    Methods inherited from class java.lang.Object

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

    • groovy

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

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

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

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

      public static org.openrewrite.test.SourceSpecs srcMainGroovy(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... javaSources)
    • srcMainGroovy

      public static org.openrewrite.test.SourceSpecs srcMainGroovy(org.openrewrite.test.SourceSpecs... javaSources)
    • srcTestGroovy

      public static org.openrewrite.test.SourceSpecs srcTestGroovy(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... javaSources)
    • srcTestGroovy

      public static org.openrewrite.test.SourceSpecs srcTestGroovy(org.openrewrite.test.SourceSpecs... javaSources)