-
Notifications
You must be signed in to change notification settings - Fork 279
Added two Unit Tests #156
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
Added two Unit Tests #156
Conversation
|
@lesv |
|
The spacing is wrong - please see styleguide |
|
Thanks for your response! |
|
Here we go. |
|
@garrettjonesgoogle Do we want this? I don't think it hurts, but I'm not totally convinced it helps either. Any opinion. |
|
@shinfan could you check this for consistency with our existing stuff? |
| @@ -1,5 +1,5 @@ | |||
| /* | |||
| * Copyright (c) 2010 Google Inc. | |||
| * Copyright (c) 2010-2017 Google Inc. | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| public void testComputeNonceActuallyChangesNonce() { | ||
|
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| import org.junit.Test; | ||
|
|
||
| import static org.junit.Assert.*; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| @Test | ||
| public void testGetRefreshTokenReturningNonEmptyString() throws Exception { | ||
|
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| import org.junit.Test; | ||
|
|
||
| import static junit.framework.Assert.assertNotNull; | ||
| import static org.junit.Assert.*; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Unfortunately, I have deleted my fork meanwhile ... |
I've added two new Unit Tests and want to contribute them to the Google library.