-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from box/enableTestLogging
Some changes to enable getting log output from Integration Tests
- Loading branch information
Showing
14 changed files
with
55 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
gradle/ | ||
gradlew | ||
gradlew.bat | ||
.gradle/ | ||
gradle.properties | ||
build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -962,7 +962,10 @@ public void getCurrentUserInfoIsCorrect() throws InterruptedException { | |
@Category(IntegrationTest.class) | ||
public void createAndDeleteEnterpriseUserSucceeds() { | ||
BoxAPIConnection api = new BoxAPIConnection(TestConfig.getAccessToken()); | ||
final String login = "[email protected]"; | ||
// Since deleting users happens in a separate process in the backend | ||
// it is really an asynchronous call. So we have to use a new user in | ||
// this test in case the previous user's deletion hasn't completed. | ||
final String login = "[email protected]"; | ||
final String name = "non-empty name"; | ||
|
||
BoxUser.Info createdUserInfo = BoxUser.createEnterpriseUser(api, login, name); | ||
|
@@ -998,7 +1001,7 @@ public void getMembershipsHasCorrectMemberships() { | |
@Category(IntegrationTest.class) | ||
public void updateInfoSucceeds() { | ||
BoxAPIConnection api = new BoxAPIConnection(TestConfig.getAccessToken()); | ||
final String login = "login@box.com"; | ||
final String login = "login3@boz.com"; | ||
final String originalName = "original name"; | ||
final String updatedName = "updated name"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.box.sdk; | ||
|
||
/** | ||
* Created by dmaynard on 2/9/17. | ||
*/ | ||
public interface IntegrationTestJWT { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters