Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3edb4201 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Fix remaining renames in MtpDocumentsProvider tests.

Change-Id: I7093654c35faa750c12f75da57ddfa2828c474b0
parent c68b9df8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,13 +59,13 @@ public class PipeManagerTest extends AndroidTestCase {
        mtpManager.setDocument(0, 1, new MtpDocument(1, 0, "", new Date(), 0, 0, false));

        // Upload testing bytes.
        final ParcelFileDescriptor descriptor = pipeManager.writeDocument(
        final ParcelFileDescriptor descriptor = mPipeManager.writeDocument(
                getContext(), mtpManager, new Identifier(0, 0, 1));
        final ParcelFileDescriptor.AutoCloseOutputStream outputStream =
                new ParcelFileDescriptor.AutoCloseOutputStream(descriptor);
        outputStream.write(HELLO_BYTES, 0, HELLO_BYTES.length);
        outputStream.close();
        executor.awaitTermination(1000, TimeUnit.MILLISECONDS);
        mExecutor.awaitTermination(1000, TimeUnit.MILLISECONDS);

        // Check if the placeholder file is removed.
        try {