mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 14:59:38 +08:00
restore note
This commit is contained in:
@@ -256,30 +256,30 @@ func TestSwipeWithDirection(t *testing.T) {
|
|||||||
minDistance: 100.0,
|
minDistance: 100.0,
|
||||||
maxDistance: 500.0,
|
maxDistance: 500.0,
|
||||||
},
|
},
|
||||||
//{
|
{
|
||||||
// name: "随机距离下滑",
|
name: "随机距离下滑",
|
||||||
// direction: "down",
|
direction: "down",
|
||||||
// startX: 0.5,
|
startX: 0.5,
|
||||||
// startY: 0.5,
|
startY: 0.5,
|
||||||
// minDistance: 150.0,
|
minDistance: 150.0,
|
||||||
// maxDistance: 350.0, // 范围内随机
|
maxDistance: 350.0, // 范围内随机
|
||||||
//},
|
},
|
||||||
//{
|
{
|
||||||
// name: "固定距离左滑",
|
name: "固定距离左滑",
|
||||||
// direction: "left",
|
direction: "left",
|
||||||
// startX: 0.5,
|
startX: 0.5,
|
||||||
// startY: 0.5,
|
startY: 0.5,
|
||||||
// minDistance: 300.0,
|
minDistance: 300.0,
|
||||||
// maxDistance: 300.0,
|
maxDistance: 300.0,
|
||||||
//},
|
},
|
||||||
//{
|
{
|
||||||
// name: "随机距离右滑",
|
name: "随机距离右滑",
|
||||||
// direction: "right",
|
direction: "right",
|
||||||
// startX: 0.6,
|
startX: 0.6,
|
||||||
// startY: 0.5,
|
startY: 0.5,
|
||||||
// minDistance: 100.0,
|
minDistance: 100.0,
|
||||||
// maxDistance: 250.0,
|
maxDistance: 250.0,
|
||||||
//},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
|
|||||||
Reference in New Issue
Block a user