- Timestamp:
- 07/25/12 11:58:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-tasktrees-test/src/test/java/de/ugoe/cs/quest/tasktrees/manager/TaskTreeManagerTest.java
r452 r468 71 71 { 72 72 simulateInteraction(new DummyGUIElement("elem1"), new DummyInteraction("bla", 1)); 73 new TaskTreeChecker().assertTask Map73 new TaskTreeChecker().assertTaskTree 74 74 ("Sequence sequence {" + 75 75 " Interaction bla {}" + 76 "}", mManager.getTaskTree() .getTaskMap());76 "}", mManager.getTaskTree()); 77 77 } 78 78 … … 92 92 simulateInteraction(element, new DummyInteraction("bla", 1)); 93 93 94 new TaskTreeChecker().assertTask Map94 new TaskTreeChecker().assertTaskTree 95 95 ("Sequence sequence {" + 96 96 " Interaction bla {}" + … … 99 99 " Interaction blu {}" + 100 100 " Interaction bla {}" + 101 "}", mManager.getTaskTree() .getTaskMap());101 "}", mManager.getTaskTree()); 102 102 } 103 103 … … 123 123 simulateInteraction(element6, new DummyInteraction("bla", 1)); 124 124 125 new TaskTreeChecker().assertTask Map125 new TaskTreeChecker().assertTaskTree 126 126 ("Sequence sequence0 {" + 127 127 " Sequence sequence1 {" + … … 143 143 " Interaction bla {}" + 144 144 " }" + 145 "}", mManager.getTaskTree() .getTaskMap());145 "}", mManager.getTaskTree()); 146 146 } 147 147 … … 176 176 simulateInteraction(element6, new DummyInteraction("blo", 1)); 177 177 178 new TaskTreeChecker().assertTask Map178 new TaskTreeChecker().assertTaskTree 179 179 ("Sequence sequence0 {" + 180 180 " Sequence sequence1 {" + … … 205 205 " Interaction blo {}" + 206 206 " }" + 207 "}", mManager.getTaskTree() .getTaskMap());207 "}", mManager.getTaskTree()); 208 208 } 209 209 … … 219 219 Interaction interaction1 = new DummyInteraction("bla", 1); 220 220 simulateInteraction(element1, interaction1); 221 new TaskTreeChecker().assertTask Map221 new TaskTreeChecker().assertTaskTree 222 222 ("Sequence sequence1 {" + 223 223 " Interaction bla {}" + 224 "}", mManager.getTaskTree() .getTaskMap());225 226 simulateInteraction(element1, interaction1); 227 new TaskTreeChecker().assertTask Map228 ("Sequence sequence1 {" + 229 " Iteration iteration1 {" + 230 " Interaction bla {}" + 231 " }" + 232 "}", mManager.getTaskTree() .getTaskMap());233 234 simulateInteraction(element1, interaction1); 235 new TaskTreeChecker().assertTask Map236 ("Sequence sequence1 {" + 237 " Iteration iteration1 {" + 238 " Interaction bla {}" + 239 " }" + 240 "}", mManager.getTaskTree() .getTaskMap());224 "}", mManager.getTaskTree()); 225 226 simulateInteraction(element1, interaction1); 227 new TaskTreeChecker().assertTaskTree 228 ("Sequence sequence1 {" + 229 " Iteration iteration1 {" + 230 " Interaction bla {}" + 231 " }" + 232 "}", mManager.getTaskTree()); 233 234 simulateInteraction(element1, interaction1); 235 new TaskTreeChecker().assertTaskTree 236 ("Sequence sequence1 {" + 237 " Iteration iteration1 {" + 238 " Interaction bla {}" + 239 " }" + 240 "}", mManager.getTaskTree()); 241 241 242 242 for (int i = 0; i < 10; i++) … … 245 245 } 246 246 247 new TaskTreeChecker().assertTask Map248 ("Sequence sequence1 {" + 249 " Iteration iteration1 {" + 250 " Interaction bla {}" + 251 " }" + 252 "}", mManager.getTaskTree() .getTaskMap());247 new TaskTreeChecker().assertTaskTree 248 ("Sequence sequence1 {" + 249 " Iteration iteration1 {" + 250 " Interaction bla {}" + 251 " }" + 252 "}", mManager.getTaskTree()); 253 253 254 254 // now test with preceding and trailing other interactions … … 265 265 simulateInteraction(element1, interaction2); 266 266 267 new TaskTreeChecker().assertTask Map267 new TaskTreeChecker().assertTaskTree 268 268 ("Sequence sequence1 {" + 269 269 " Iteration iteration1 {" + … … 277 277 " Interaction blup {}" + 278 278 " Interaction bli {}" + 279 "}", mManager.getTaskTree() .getTaskMap());279 "}", mManager.getTaskTree()); 280 280 281 281 // now test with iterations of iterations … … 297 297 } 298 298 299 new TaskTreeChecker().assertTask Map299 new TaskTreeChecker().assertTaskTree 300 300 ("Sequence sequence0 {" + 301 301 " Iteration iteration0 {" + … … 322 322 " }" + 323 323 " }" + 324 "}", mManager.getTaskTree() .getTaskMap());324 "}", mManager.getTaskTree()); 325 325 326 326 } … … 341 341 simulateInteraction(element1, interaction2); 342 342 simulateInteraction(element1, interaction3); 343 new TaskTreeChecker().assertTask Map343 new TaskTreeChecker().assertTaskTree 344 344 ("Sequence sequence1 {" + 345 345 " Interaction bla {}" + 346 346 " Interaction bli {}" + 347 347 " Interaction blup {}" + 348 "}", mManager.getTaskTree() .getTaskMap());348 "}", mManager.getTaskTree()); 349 349 350 350 simulateInteraction(element1, interaction1); 351 351 simulateInteraction(element1, interaction2); 352 352 simulateInteraction(element1, interaction3); 353 new TaskTreeChecker().assertTask Map353 new TaskTreeChecker().assertTaskTree 354 354 ("Sequence sequence1 {" + 355 355 " Iteration iteration1 {" + … … 360 360 " }" + 361 361 " }" + 362 "}", mManager.getTaskTree() .getTaskMap());362 "}", mManager.getTaskTree()); 363 363 364 364 simulateInteraction(element1, interaction1); 365 365 simulateInteraction(element1, interaction2); 366 366 simulateInteraction(element1, interaction3); 367 new TaskTreeChecker().assertTask Map367 new TaskTreeChecker().assertTaskTree 368 368 ("Sequence sequence1 {" + 369 369 " Iteration iteration1 {" + … … 374 374 " }" + 375 375 " }" + 376 "}", mManager.getTaskTree() .getTaskMap());376 "}", mManager.getTaskTree()); 377 377 378 378 for (int i = 0; i < 10; i++) … … 383 383 } 384 384 385 new TaskTreeChecker().assertTask Map385 new TaskTreeChecker().assertTaskTree 386 386 ("Sequence sequence1 {" + 387 387 " Iteration iteration1 {" + … … 392 392 " }" + 393 393 " }" + 394 "}", mManager.getTaskTree() .getTaskMap());394 "}", mManager.getTaskTree()); 395 395 396 396 // now test with preceding and trailing other interactions … … 411 411 simulateInteraction(element1, interaction4); 412 412 413 new TaskTreeChecker().assertTask Map413 new TaskTreeChecker().assertTaskTree 414 414 ("Sequence sequence1 {" + 415 415 " Iteration iteration1 {" + … … 433 433 " Interaction blo {}" + 434 434 " Interaction ble {}" + 435 "}", mManager.getTaskTree() .getTaskMap());435 "}", mManager.getTaskTree()); 436 436 437 437 // now test with iterations of iterations … … 458 458 } 459 459 460 new TaskTreeChecker().assertTask Map460 new TaskTreeChecker().assertTaskTree 461 461 ("Sequence sequence1 {" + 462 462 " Iteration iteration1 {" + … … 505 505 " }" + 506 506 " }" + 507 "}", mManager.getTaskTree() .getTaskMap());507 "}", mManager.getTaskTree()); 508 508 } 509 509 … … 539 539 simulateInteraction(element1, interaction1); 540 540 541 new TaskTreeChecker().assertTask Map541 new TaskTreeChecker().assertTaskTree 542 542 ("Sequence sequence0 {" + 543 543 " Sequence sequence1 {" + … … 560 560 " Interaction bla {}" + 561 561 " }" + 562 "}", mManager.getTaskTree() .getTaskMap());562 "}", mManager.getTaskTree()); 563 563 564 564 }
Note: See TracChangeset
for help on using the changeset viewer.