mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
fix test
This commit is contained in:
@@ -256,30 +256,6 @@ func TestSwipeWithDirection(t *testing.T) {
|
|||||||
minDistance: 100.0,
|
minDistance: 100.0,
|
||||||
maxDistance: 500.0,
|
maxDistance: 500.0,
|
||||||
},
|
},
|
||||||
//{
|
|
||||||
// name: "随机距离下滑",
|
|
||||||
// direction: "down",
|
|
||||||
// startX: 0.5,
|
|
||||||
// startY: 0.5,
|
|
||||||
// minDistance: 150.0,
|
|
||||||
// maxDistance: 350.0, // 范围内随机
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "固定距离左滑",
|
|
||||||
// direction: "left",
|
|
||||||
// startX: 0.5,
|
|
||||||
// startY: 0.5,
|
|
||||||
// minDistance: 300.0,
|
|
||||||
// maxDistance: 300.0,
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "随机距离右滑",
|
|
||||||
// direction: "right",
|
|
||||||
// startX: 0.6,
|
|
||||||
// startY: 0.5,
|
|
||||||
// minDistance: 100.0,
|
|
||||||
// maxDistance: 250.0,
|
|
||||||
//},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
@@ -567,38 +543,6 @@ func TestSIMInput(t *testing.T) {
|
|||||||
name string
|
name string
|
||||||
text string
|
text string
|
||||||
}{
|
}{
|
||||||
//{
|
|
||||||
// name: "英文短文本",
|
|
||||||
// text: "Hello",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "英文长文本",
|
|
||||||
// text: "Hello World! This is a test message.",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "日文文本",
|
|
||||||
// text: "英語の長い文字",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "混合文本",
|
|
||||||
// text: "Hello你好123",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "特殊字符",
|
|
||||||
// text: "!@#$%^&*()",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "数字文本",
|
|
||||||
// text: "1234567890",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "空文本",
|
|
||||||
// text: "",
|
|
||||||
//},
|
|
||||||
//{
|
|
||||||
// name: "单个字符",
|
|
||||||
// text: "A",
|
|
||||||
//},
|
|
||||||
{
|
{
|
||||||
name: "长文本",
|
name: "长文本",
|
||||||
text: "This is a very long text to test the performance of SIMInput function. 这是一个很长的文本用来测试SIMInput函数的性能。1234567890!@#$%^&*()英語の長い文字",
|
text: "This is a very long text to test the performance of SIMInput function. 这是一个很长的文本用来测试SIMInput函数的性能。1234567890!@#$%^&*()英語の長い文字",
|
||||||
|
|||||||
Reference in New Issue
Block a user