Skip to content

Commit

Permalink
Merge pull request #1541 from 1161320313/master
Browse files Browse the repository at this point in the history
#3 #1240 实验三 过程建模
  • Loading branch information
zengsn committed Mar 20, 2020
2 parents 38bef89 + 0e5de6c commit 1a2145b
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 14 deletions.
29 changes: 15 additions & 14 deletions students/1714080902622/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,27 @@
用例编号 | UC01 | 备注
-|:-|-
用例名称 | 阅览小说 |
前置条件 | 用户已登录 | *可选*
前置条件 | 用户已登录,用户进入系统 | *可选*
后置条件 | | *可选*
基本流程 | 1. 用户进入系统; |*用例执行成功的步骤*
~| 2. 系统显示小说列表; |
~| 3. 用户点击小说; |
~| 4. 系统检索用户上次阅读的页面,显示小说内容; |
扩展流程 | 4.1用户已阅读到最后**提示“您已阅读完本小说”**; |*用例执行失败*
基本流程 | 1. 用户点击搜索栏 ; |*用例执行成功的步骤*
~| 2. 系统显示搜索页面; |
~| 3. 用户输入小说名,点击搜索; |
~| 4. 系统检测用户输入不为空,模糊检索小说,显示小说列表; |
~| 5. 用户点击小说; |
~| 6. 系统检索用户上次阅读到的页面,显示小说内容; |
扩展流程 | 4.1 系统检测用户输入为空 **“显示搜索内容不能为空”**; |*用例执行失败*
~| 6.1用户已阅读到最后**提示“您已阅读完本小说”**; |


## 表2:收藏小说用例规约

用例编号 | UC02 | 备注
-|:-|-
用例名称 | 收藏小说 |
前置条件 | 用户已登录 | *可选*
前置条件 | 用户已登录,系统显示小说列表 | *可选*
后置条件 | | *可选*
基本流程 | 1. 用户进入系统 ; |*用例执行成功的步骤*
~| 2.系统显示小说列表 ; |
~| 3.用户长按小说 ; |
~| 4.系统显示弹出菜单 ; |
~| 5.用户点击收藏小说 ; |
~| 6. 系统检测是否含有用户收藏小说的记录,新增一条该用户的收藏记录(包含小说信息与用户信息),**提示“已收藏”**; |
扩展流程 | 6.1 系统检测到含有用户收藏小说的记录**提示“请勿重复收藏”**; |*用例执行失败*
基本流程 | 1. 用户长按小说 ; |*用例执行成功的步骤*
~| 2.系统显示弹出菜单 ; |
~| 3.用户点击收藏小说 ; |
~| 4. 系统检测是否含有用户收藏小说的记录,新增一条该用户的收藏记录(包含小说信息与用户信息),**提示“已收藏”**; |
扩展流程 | 4.1 系统检测到含有用户收藏小说的记录**提示“请勿重复收藏”**; |*用例执行失败*
32 changes: 32 additions & 0 deletions students/1714080902622/lab3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 实验三:过程建模

## 一、 实验目标

1. 掌握过程建模的方法
2. 掌握活动图的画法

## 二、 实验内容

- 根据实验二的用例规约,画出活动图
- 完善实验二中的用例规约

## 三、 实验步骤

1. 查看实验二所写的用例规约。
2. 在StarUML上作图
- 先画出开始和结束节点

- 根据用例规约画出每一步的操作,确定决策点

- 连线
3. 修改实验二中的用例规约
4. 提交活动图和编写实验文档

## 四、 实验结果

1. 活动图

![活动图1](./lab3_ActivityDiagram1.jpg)
图1. 活动图1
![活动图2](./lab3_ActivityDiagram2.jpg)
图2. 活动图2
Binary file added students/1714080902622/lab3_ActivityDiagram1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080902622/lab3_ActivityDiagram2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a2145b

Please sign in to comment.