Loading build.gradle +2 −2 Original line number Diff line number Diff line Loading @@ -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' } src/main/java/com/nextcloud/android/sso/helper/BufferedSourceSSO.java +10 −0 Original line number Diff line number Diff line Loading @@ -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"); Loading Loading @@ -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; Loading Loading
build.gradle +2 −2 Original line number Diff line number Diff line Loading @@ -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' }
src/main/java/com/nextcloud/android/sso/helper/BufferedSourceSSO.java +10 −0 Original line number Diff line number Diff line Loading @@ -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"); Loading Loading @@ -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; Loading