Package spoon.testing

Class AbstractFileAssert<T extends AbstractFileAssert<T>>

  • Direct Known Subclasses:
    FileAssert

    public abstract class AbstractFileAssert<T extends AbstractFileAssert<T>>
    extends AbstractAssert<T,​File>
    • Constructor Detail

      • AbstractFileAssert

        public AbstractFileAssert​(File actual,
                                  Class<?> selfType)
    • Method Detail

      • isEqualTo

        public T isEqualTo​(String expected)
        Verifies that the actual value is equal to the given one.
        Parameters:
        expected - The expected location of source code.
        Returns:
        this assertion object.
      • isEqualTo

        public T isEqualTo​(File expected)
        Verifies that the actual value is equal to the given one.
        Parameters:
        expected - The expected location of source code.
        Returns:
        this assertion object.