Changeset 284 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swing
- Timestamp:
- 12/09/11 11:22:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swing/DlgInsert.java
r229 r284 512 512 } 513 513 // TextEquals 514 else if (selectedItem == "TextEquals") {514 else if (selectedItem.equals("TextEquals")) { 515 515 if (textFieldExpectedValue.getText().length() == 0) { 516 516 JOptionPane.showMessageDialog(null, … … 539 539 540 540 // get all parents 541 String target = "";541 StringBuilder target = new StringBuilder(); 542 542 for (int i = 0; i < splitted.length; i++) { 543 target += splitted[i];543 target.append(splitted[i]); 544 544 } 545 545 // *** 546 546 547 TextEqualsReplay text = new TextEqualsReplay(textFieldExpectedValue.getText(),target );547 TextEqualsReplay text = new TextEqualsReplay(textFieldExpectedValue.getText(),target.toString()); 548 548 549 549 AssertEvent<TextEqualsReplay> e = new AssertEvent<TextEqualsReplay>(
Note: See TracChangeset
for help on using the changeset viewer.