Path

输入数据

预期结果

测试结果

1

a=null, b, c, d, e随意

提示用户名不能为空

提示用户名不能为空

2

a!=null, b=null, c, d, e随意

提示密码不能为空

提示密码不能为空

3

a!=null, b!=null, c=null, d, e随意

提示电话号码不能为空

提示电话号码不能为空

4

a!=null, b!=null, c!=null, d=null, e随意

提示学号不能为空

提示安全问题不能为空

5

a!=null, b!=null, c!=null, d!=null, e=null

提示邮箱不能为空

提示安全答案不能为空

6

a!=null, b!=null, c!=null, d!=null, e!=null , c.length()!=11

提示电话号码格式不对

提示电话号码格式不对

7

a!=null, b!=null, c!=null, d!=null, e!=null , a exist,c.length()=11

提示用户已经存在

提示用户已经存在

8

a!=null, b!=null, c!=null, d!=null, b=c, a not exist,

c.length()=11

注册成功

注册成功