Rename tests

This commit is contained in:
Ben Croker 2025-03-01 13:33:33 -06:00
parent d8b22b58fa
commit 2925230e34
No known key found for this signature in database
GPG Key ID: 09D799816F1CF332
30 changed files with 105 additions and 105 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,11 +31,14 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
{ID: "aliased"},
{ID: "attr_false"},
{ID: "attr_object_false"},
{ID: "checkbox_input_array"},
{ID: "checkbox_input_boolean"},
{ID: "checkbox_input_boolean_checked"},
{ID: "checkbox_input_value"},
{ID: "checkbox_input_value_checked"},
{ID: "checkbox_array"},
{ID: "checkbox_boolean"},
{ID: "checkbox_boolean_checked"},
{ID: "checkbox_value"},
{ID: "checkbox_value_checked"},
{ID: "input_array"},
{ID: "input_signal"},
{ID: "input_value"},
{ID: "key_casing"},
{ID: "local_signals"},
{ID: "merge_fragment"},
@ -44,7 +47,7 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
{ID: "merge_fragment_whitespace"},
{ID: "on_load"},
{ID: "on_load_delay"},
{ID: "radio_input"},
{ID: "radio_value"},
{ID: "ref"},
{ID: "remove_fragment"},
{ID: "select_multiple"},
@ -52,9 +55,6 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
{ID: "signals_change"},
{ID: "signals_change_path"},
{ID: "signals_change_path_once"},
{ID: "text_input_array"},
{ID: "text_input_signal"},
{ID: "text_input_value"},
},
},
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxArray(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_array")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxBooleanChecked(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_boolean_checked")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxDefault(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_boolean")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxInputArray(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_input_array")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxInputBooleanChecked(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_input_boolean_checked")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxInputDefault(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_input_boolean")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxInputValueChecked(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_input_value_checked")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxInputValue(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_input_value")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxValueChecked(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_value_checked")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitCheckboxValue(t *testing.T) {
setupPageTestOnClick(t, "tests/checkbox_value")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitInputArray(t *testing.T) {
setupPageTestOnPopulate(t, "tests/input_array", "bar")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitInputSignal(t *testing.T) {
setupPageTestOnLoad(t, "tests/input_signal")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitInputValue(t *testing.T) {
setupPageTestOnLoad(t, "tests/input_value")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitRadioInput(t *testing.T) {
setupPageTestOnClick(t, "tests/radio_input")
}

View File

@ -0,0 +1,9 @@
package smoketests
import (
"testing"
)
func TestUnitRadioValue(t *testing.T) {
setupPageTestOnClick(t, "tests/radio_value")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitTextInputArray(t *testing.T) {
setupPageTestOnPopulate(t, "tests/text_input_array", "bar")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitTextInputSignal(t *testing.T) {
setupPageTestOnLoad(t, "tests/text_input_signal")
}

View File

@ -1,9 +0,0 @@
package smoketests
import (
"testing"
)
func TestUnitTextInputValue(t *testing.T) {
setupPageTestOnLoad(t, "tests/text_input_value")
}

View File

@ -1,4 +1,4 @@
# Checkbox Input Array
# Checkbox Array
Tests that a checkbox input's value is added to a bound signal array when checked.

View File

@ -1,4 +1,4 @@
# Checkbox Input Boolean
# Checkbox Boolean
Tests that a checkbox input's bound signal is set to `false` when unchecked and `true` when checked.

View File

@ -1,4 +1,4 @@
# Checkbox Input Boolean Checked
# Checkbox Boolean Checked
Tests that a checkbox input's bound signal is set to `false` when unchecked and `true` when checked.

View File

@ -1,4 +1,4 @@
# Checkbox Input Value
# Checkbox Value
Tests that a checkbox input's bound signal is set to an empty string when unchecked and its value when checked.

View File

@ -1,4 +1,4 @@
# Checkbox Input Value Checked
# Checkbox Value Checked
Tests that a checkbox input's bound signal is initially set to its value when initially checked.

View File

@ -1,4 +1,4 @@
# Text Input Array
# Input Array
Tests that a text input's value is added to a bound signal array when changed.

View File

@ -1,4 +1,4 @@
# Text Input Signal
# Input Signal
Tests that a text input's bound signal is not set to its value when a signal is defined.

View File

@ -1,4 +1,4 @@
# Text Input Value
# Input Value
Tests that a text input's bound signal is set to its value when non-empty and no signal is defined.

View File

@ -1,4 +1,4 @@
# Radio Input
# Radio Value
Tests that a radio input's bound signal is assigned to the value when checked.