parent
6454616c68
commit
2603ede988
1 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
|||
package app.aaps.plugins.automation.elements
|
||||
|
||||
import app.aaps.plugins.automation.triggers.TriggerTestBase
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import com.google.common.truth.Truth.assertThat
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
class InputProfileNameTest : TriggerTestBase() {
|
||||
|
||||
@Test fun setValue() {
|
||||
val inputProfileName = InputProfileName(rh, activePlugin, "Test")
|
||||
Assertions.assertEquals("Test", inputProfileName.value)
|
||||
assertThat(inputProfileName.value).isEqualTo("Test")
|
||||
inputProfileName.value = "Test2"
|
||||
Assertions.assertEquals("Test2", inputProfileName.value)
|
||||
assertThat(inputProfileName.value).isEqualTo("Test2")
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue