Class Assertions

java.lang.Object
org.openrewrite.kotlin.Assertions

public final class Assertions extends Object
  • Method Details

    • kotlin

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

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

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

      public static org.openrewrite.test.SourceSpecs kotlinScript(@Language("kts") @Nullable @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> spec)
    • kotlin

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

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

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

      public static org.openrewrite.test.SourceSpecs srcMainKotlin(org.openrewrite.test.SourceSpecs... kotlinSources)
    • srcTestKotlin

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

      public static org.openrewrite.test.SourceSpecs srcTestKotlin(org.openrewrite.test.SourceSpecs... kotlinSources)
    • isFullyParsed

      public static Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> isFullyParsed()