Skip to content

Commit

Permalink
#835 removed dummy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Adamczyk committed Jul 17, 2020
1 parent 4cbc7c2 commit 5d7a298
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
package ftl.cli.firebase.test.ios.models

import com.google.common.truth.Truth.assertThat
import ftl.config.FtlConstants
import org.junit.Test
import picocli.CommandLine

class IosModelsListCommandTest {

@Test
fun iosModelsListCommandOptions() {
val cmd = IosModelsListCommand()
assertThat(cmd.configPath).isEqualTo(FtlConstants.defaultIosConfig)
cmd.configPath = "tmp"
assertThat(cmd.configPath).isEqualTo("tmp")

assertThat(cmd.usageHelpRequested).isFalse()
cmd.usageHelpRequested = true
assertThat(cmd.usageHelpRequested).isTrue()
}

@Test
fun iosModelsListCommandShouldParseConfig() {
val cmd = IosModelsListCommand()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
package ftl.cli.firebase.test.ios.versions

import com.google.common.truth.Truth.assertThat
import ftl.config.FtlConstants
import org.junit.Test
import picocli.CommandLine

class IosVersionsListCommandTest {

@Test
fun iosVersionsListCommandOptions() {
val cmd = IosVersionsListCommand()
assertThat(cmd.configPath).isEqualTo(FtlConstants.defaultIosConfig)
cmd.configPath = "tmp"
assertThat(cmd.configPath).isEqualTo("tmp")

assertThat(cmd.usageHelpRequested).isFalse()
cmd.usageHelpRequested = true
assertThat(cmd.usageHelpRequested).isTrue()
}

@Test
fun iosVersionsListCommandShouldParseConfig() {
val cmd = IosVersionsListCommand()
Expand Down

0 comments on commit 5d7a298

Please sign in to comment.