-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DropServiceBoxTests out-of-sync testing logic
DropServiceBoxTest logic was out of sync with base DropServiceTest due to overrides in testing logic. It was done this way likely because DropServiceTest logic was coupled with java.io.File. Drop file access is now isolated from testing logic and overriden in DropServiceBoxTest. Testing logic overrides are deleted, so these tests are in sync again.
- Loading branch information
Showing
3 changed files
with
86 additions
and
160 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
webapp/src/test/java/com/box/l10n/mojito/service/drop/DropFile.java
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,10 @@ | ||
package com.box.l10n.mojito.service.drop; | ||
|
||
import com.box.l10n.mojito.boxsdk.BoxSDKServiceException; | ||
import java.io.IOException; | ||
|
||
public interface DropFile { | ||
String getName(); | ||
|
||
String getContent() throws BoxSDKServiceException, IOException; | ||
} |
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