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

Commit e781a33e authored by David Luhmer's avatar David Luhmer
Browse files

update mockito and okhttp

parent c59d2ecb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,10 +51,10 @@ dependencies {
    implementation 'commons-io:commons-io:2.6'

    implementation 'com.squareup.retrofit2:retrofit:2.5.0'
    implementation 'com.squareup.okhttp3:okhttp:3.12.0'
    implementation 'com.squareup.okhttp3:okhttp:3.14.0'

    // Required for local unit tests (JUnit 4 framework)
    testImplementation 'junit:junit:4.12'
    // required if you want to use Mockito for unit tests
    testImplementation 'org.mockito:mockito-core:2.23.4'
    testImplementation 'org.mockito:mockito-core:2.25.1'
}
+10 −0
Original line number Diff line number Diff line
@@ -46,6 +46,11 @@ public class BufferedSourceSSO implements BufferedSource {
        throw new UnsupportedOperationException("Not implemented");
    }

    @Override
    public Buffer getBuffer() {
        throw new UnsupportedOperationException("Not implemented");
    }

    @Override
    public boolean exhausted() throws IOException {
        throw new UnsupportedOperationException("Not implemented");
@@ -247,6 +252,11 @@ public class BufferedSourceSSO implements BufferedSource {
        throw new UnsupportedOperationException("Not implemented");
    }

    @Override
    public BufferedSource peek() {
        throw new UnsupportedOperationException("Not implemented");
    }

    @Override
    public InputStream inputStream() {
        return mInputStream;