Browse Source

Move all tests in core to org.jetbrains.compose.web.core.tests

pull/702/head
Shagen Ogandzhanian 4 years ago
parent
commit
d998bf9058
  1. 2
      web/core/src/jsTest/kotlin/DomSideEffectTests.kt
  2. 2
      web/core/src/jsTest/kotlin/InlineStyleTests.kt
  3. 2
      web/core/src/jsTest/kotlin/StaticComposableTests.kt
  4. 2
      web/core/src/jsTest/kotlin/TestUtils.kt
  5. 3
      web/core/src/jsTest/kotlin/elements/AttributesTests.kt
  6. 3
      web/core/src/jsTest/kotlin/elements/EventTests.kt
  7. 3
      web/core/src/jsTest/kotlin/elements/TableTests.kt

2
web/core/src/jsTest/kotlin/DomSideEffectTests.kt

@ -1,3 +1,5 @@
package org.jetbrains.compose.web.core.tests
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf

2
web/core/src/jsTest/kotlin/InlineStyleTests.kt

@ -1,3 +1,5 @@
package org.jetbrains.compose.web.core.tests
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue

2
web/core/src/jsTest/kotlin/StaticComposableTests.kt

@ -1,3 +1,5 @@
package org.jetbrains.compose.web.core.tests
import androidx.compose.web.css.AlignContent
import androidx.compose.web.css.AlignItems
import androidx.compose.web.css.AlignSelf

2
web/core/src/jsTest/kotlin/TestUtils.kt

@ -1,3 +1,5 @@
package org.jetbrains.compose.web.core.tests
import androidx.compose.runtime.Composable
import androidx.compose.web.renderComposable
import kotlinx.browser.document

3
web/core/src/jsTest/kotlin/elements/AttributesTests.kt

@ -1,4 +1,4 @@
package elements
package org.jetbrains.compose.web.core.tests
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.getValue
@ -11,7 +11,6 @@ import androidx.compose.web.elements.Label
import androidx.compose.web.elements.Text
import org.w3c.dom.HTMLButtonElement
import org.w3c.dom.HTMLDivElement
import runTest
import kotlin.test.Test
import kotlin.test.assertEquals

3
web/core/src/jsTest/kotlin/elements/EventTests.kt

@ -1,4 +1,4 @@
package elements
package org.jetbrains.compose.web.core.tests
import androidx.compose.web.attributes.InputType
import androidx.compose.web.elements.Button
@ -10,7 +10,6 @@ import org.w3c.dom.HTMLTextAreaElement
import org.w3c.dom.events.Event
import org.w3c.dom.events.InputEvent
import org.w3c.dom.events.MouseEvent
import runTest
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue

3
web/core/src/jsTest/kotlin/elements/TableTests.kt

@ -1,4 +1,4 @@
package elements
package org.jetbrains.compose.web.core.tests
import androidx.compose.web.attributes.Scope
import androidx.compose.web.attributes.colspan
@ -17,7 +17,6 @@ import androidx.compose.web.elements.Th
import androidx.compose.web.elements.Thead
import androidx.compose.web.elements.Tr
import org.w3c.dom.HTMLElement
import runTest
import kotlin.test.Test
import kotlin.test.assertEquals

Loading…
Cancel
Save