-
Notifications
You must be signed in to change notification settings - Fork 40
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 #20 from klaxit/feature/kotlin-test-to-kotest
Update the test sdk from old kotlintest to kotest and add some tests
- Loading branch information
Showing
6 changed files
with
70 additions
and
22 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
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,15 @@ | ||
import com.klaxit.hiddensecrets.HiddenSecretsPlugin | ||
import io.kotest.core.spec.style.StringSpec | ||
import io.kotest.matchers.shouldBe | ||
|
||
/** | ||
* Test that command names did not change. | ||
*/ | ||
class CommandNamesTest : StringSpec({ | ||
HiddenSecretsPlugin.TASK_UNZIP_HIDDEN_SECRETS shouldBe "unzipHiddenSecrets" | ||
HiddenSecretsPlugin.TASK_COPY_CPP shouldBe "copyCpp" | ||
HiddenSecretsPlugin.TASK_COPY_KOTLIN shouldBe "copyKotlin" | ||
HiddenSecretsPlugin.TASK_HIDE_SECRET shouldBe "hideSecret" | ||
HiddenSecretsPlugin.TASK_OBFUSCATE shouldBe "obfuscate" | ||
HiddenSecretsPlugin.TASK_PACKAGE_NAME shouldBe "packageName" | ||
}) |
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