Class DataSourceContractTest.TestResource

  • Enclosing class:

    public static final class DataSourceContractTest.TestResource
    extends Object
    Information about a resource that can be used to test the DataSource instance.
    • Method Detail

      • getName

        public String getName()
        Returns a human-readable name for the resource, for use in test failure messages.
      • getUri

        public Uri getUri()
        Returns the URI where the resource is available.
      • getExpectedBytes

        public byte[] getExpectedBytes()
        Returns the expected contents of this resource.