Class Assertions

java.lang.Object
org.openrewrite.python.Assertions

public final class Assertions extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openrewrite.test.SourceSpecs
    python(@Nullable String before)
     
    static org.openrewrite.test.SourceSpecs
    python(@Nullable String before, String after)
     
    static org.openrewrite.test.SourceSpecs
    python(@Nullable String before, String after, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.python.tree.Py.CompilationUnit>> spec)
     
    static org.openrewrite.test.SourceSpecs
    python(@Nullable String before, Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.python.tree.Py.CompilationUnit>> spec)
     

    Methods inherited from class java.lang.Object

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

    • python

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

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

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

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