Changeset 1201 for trunk/autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/metrics/TextInputRatioEvaluatorTest.java
- Timestamp:
- 04/30/13 17:46:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/metrics/TextInputRatioEvaluatorTest.java
r1171 r1201 43 43 public void should_return_no_recommendation() { 44 44 // Given 45 String spec = 46 "Sequence {" + " Interaction {}" + " TextInput (a) {}" + " Interaction {}" 47 + " Interaction {}" + " TextInput (c) {}" + " Interaction {}" 48 + " Interaction {}" + " Interaction {}" + "}"; 45 String spec = "UserSession {" + 46 " Sequence seq1 {" + 47 " Interaction iter1 {}" + 48 " TextInput t1 (a) {}" + 49 " Interaction iter1 {}" + 50 " Interaction t2 {}" + 51 " TextInput t3 (c) {}" + 52 " Interaction t4 {}" + 53 " Interaction t5 {}" + 54 " Interaction t6 {}" + 55 " }" + 56 "}"; 49 57 ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 50 58 // When … … 57 65 public void should_return_recommendation_with_info_severity_level() { 58 66 // Given 59 String spec = 60 "Sequence {" + " Interaction {}" + " TextInput (a) {}" + " Interaction {}" 61 + " Interaction {}" + " TextInput (c) {}" + "}"; 67 String spec = "UserSession {" + 68 " Sequence se1 {" + 69 " Interaction t1 {}" + 70 " TextInput t2 (a) {}" + 71 " Interaction t3 {}" + 72 " Interaction t4 {}" + 73 " TextInput t5 (c) {}" + 74 " }" + 75 "}"; 62 76 ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 63 77 // When … … 70 84 public void should_return_recommendation_with_low_severity_level() { 71 85 // Given 72 String spec = 73 "Sequence {" + " Interaction {}" + " TextInput (a) {}" + " TextInput (b) {}" 74 + " Interaction {}" + " TextInput (c) {}" + "}"; 86 String spec = "UserSession {" + 87 " Sequence seq1 {" + 88 " Interaction t1 {}" + 89 " TextInput t2 (a) {}" + 90 " TextInput t3 (b) {}" + 91 " Interaction t4 {}" + 92 " TextInput t5 (c) {}" + 93 " }" + 94 "}"; 75 95 ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 76 96 // When … … 83 103 public void should_return_recommendation_with_medium_severity_level() { 84 104 // Given 85 String spec = 86 "Sequence {" + " TextInput (a) {}" + " TextInput (b) {}" + " Interaction {}" 87 + " TextInput (c) {}" + "}"; 105 String spec = "UserSession {" + 106 " Sequence seq1 {" + 107 " TextInput t1 (a) {}" + 108 " TextInput t2 (b) {}" + 109 " Interaction t3 {}" + 110 " TextInput t4 (c) {}" + 111 " }" + 112 "}"; 88 113 ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 89 114 // When … … 96 121 public void should_return_recommendation_with_high_severity_level() { 97 122 // Given 98 String spec = "TextInput (bla) {}"; 123 String spec = "UserSession {" + 124 " TextInput t1 (bla) {}" + 125 "}"; 99 126 ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 100 127 // When
Note: See TracChangeset
for help on using the changeset viewer.