-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add SdkConfiguration class and install method to DeployGate in mock
test: Add a new testcase that uses these entities
- Loading branch information
Showing
3 changed files
with
90 additions
and
0 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
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
44 changes: 44 additions & 0 deletions
44
sdkMock/src/main/java/com/deploygate/sdk/DeployGateSdkConfiguration.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,44 @@ | ||
package com.deploygate.sdk; | ||
|
||
/** @noinspection ALL*/ | ||
public final class DeployGateSdkConfiguration { | ||
private DeployGateSdkConfiguration() { | ||
} | ||
|
||
public static final class Builder { | ||
public Builder() { | ||
} | ||
|
||
public Builder setCustomLogConfiguration(CustomLogConfiguration customLogConfiguration) { | ||
return this; | ||
} | ||
|
||
public Builder setAppOwnerName(String appOwnerName) { | ||
return this; | ||
} | ||
|
||
public Builder setDisabled(boolean disabled) { | ||
return this; | ||
} | ||
|
||
public Builder setEnabledOnNonDebuggableBuild(boolean enabledOnNonDebuggableBuild) { | ||
return this; | ||
} | ||
|
||
public Builder setCaptureEnabled(boolean captureEnabled) { | ||
return this; | ||
} | ||
|
||
public Builder setCrashReportingEnabled(boolean crashReportingEnabled) { | ||
return this; | ||
} | ||
|
||
public Builder setCallback(DeployGateCallback callback) { | ||
return this; | ||
} | ||
|
||
public DeployGateSdkConfiguration build() { | ||
return new DeployGateSdkConfiguration(); | ||
} | ||
} | ||
} |