1 / 11
文档名称:

软件测试技术.doc

格式:doc   页数:11页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

软件测试技术.doc

上传人:zhangbing32159 2014/2/11 文件大小:0 KB

下载得到文件列表

软件测试技术.doc

文档介绍

文档介绍:软件测试技术
报告书
姓名李靖、杜晶晶、金培景、丁成龙
班级软件外包服务一班
指导教师胡腾波

概述
此次测试运用静态测试对代码的语法以及逻辑结构进行测试,运用动态测试对代码进行检验主要包括条件覆盖以及多条件覆盖。运行环境是eclipse,语言是java。
差异
在测试过程中,数据库与java之间链接成功,数据库的添查询代码如下:
package qqq;
import .*;
import .*;
import .*;
import ;
import .*;
public class department extends WindowAdapter implements ActionListener,ItemListener
{
JLabel department_id,department_name,manager_id,location_id;
JFrame f;
JTextField tfdepartment_id, tfdepartment_name,tfmanager_id,tflocation_id;
List ls1;
JButton b1,b2,b3,b4,b5;
Panel p1,p2,p3,p4,p5;
public void display()
{
f=new JFrame("学生");
(600,500);
(300,100);
();
(new GridLayout(2,1));
ls1 =new List();
(this);
(ls1);

p1=new Panel(new GridLayout(6,2));
department_id=new JLabel("学号");
tfdepartment_id=new JTextField("",20);

department_name = new JLabel("班级");
tfdepartment_name = new JTextField();

manager_id = new JLabel("成绩");
tfmanager_id = new JTextField("",20);


location_id = new JLabel("姓名");
tflocation_id =new JTextField("",20);

(department_id);
(tfdepartment_id);
(department_name);
(tfdepartment_name );
(manager_id);
(tfmanager_id);
(location_id);
(tflocation_id);
p2=new Panel(new GridLayout(6,2));
p3 = new Panel(new GridLayout(1,2));
(p1);
(p2);
b1 = new JButton("添加");
b2 = new JButton("删除");
b3 = new JButton("查询");
b4 = new JButton("修改");
b5 = new JButton("显示");
(this);
(this);
(this);
(this);
(this);
p4 = new Panel(new FlowLayout(,20,5));
(b1);
(b2);
(b3);
(b4);
(b5);
p5 = new Panel(new BorderLayout());
(p3,);
(p4,Border

最近更新