-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Url cxn experiment #94
base: master
Are you sure you want to change the base?
Conversation
checkpointing so it's not just here on my laptop.
…tCredentials instead of having to call the server to authorize the account.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi Mark --
This mostly looks familiar. :)
I'd like to discuss the the Authorizer to be sure I understand how you're using it and how we expect it to behave if the server starts unauthenticated. Let's talk today while i'm in the office. :)
thanks,
ab
@@ -18,11 +19,10 @@ | |||
|
|||
|
|||
@Test | |||
public void testDefaultFactory_failsBecauseTestEnvironmentDoesntIncludeHttpClientJars() { | |||
public void testDefaultFactory_failsSucceedsTestEnvironmentIncludesUrlBasedImplementation() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you please change "failsSucceeds" to just "succeeds", please? (i'm pretty sure that's my mistake!)
private static File makeHugeFile(String fileNamePrefix) throws IOException { | ||
final long fileSize = (long)Integer.MAX_VALUE + 1000*1000; | ||
final long fileSize = 1000 * 1000 ;//(long)Integer.MAX_VALUE + 1000*1000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a change i made? do you know why?
This PR contains both AB's B2WebApiUrlConnectionClientImpl and my B2AccountAuthorizerV5AuthImpl . It does not have the necessary changes to support Android pre API 26, which are significant, and required the elimination of some Java 8 language idioms and replacing the Java Date library with ThreeTenABP.