|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
6 | 6 | * You may obtain a copy of the License at
|
7 |
| - * |
| 7 | + * |
8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0
|
9 |
| - * |
| 9 | + * |
10 | 10 | * Unless required by applicable law or agreed to in writing, software
|
11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
12 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
@@ -421,7 +421,7 @@ private void programLocationChange(String buttonText) throws Exception {
|
421 | 421 | assertEquals(getAddr(0x01004192), loc.getAddress());
|
422 | 422 | assertTrue(loc instanceof CommentFieldLocation);
|
423 | 423 | assertEquals("Search result not placed at the matching character position", 15,
|
424 |
| - ((CommentFieldLocation) loc).getCharOffset()); |
| 424 | + loc.getCharOffset()); |
425 | 425 | assertEquals(CodeUnit.PLATE_COMMENT, ((CommentFieldLocation) loc).getCommentType());
|
426 | 426 |
|
427 | 427 | pressButton(searchButton);
|
@@ -673,7 +673,7 @@ private void searchAll(String buttonText, String searchType) throws Exception {
|
673 | 673 | //
|
674 | 674 | AddressSet set = getAddressesFromModel(model);
|
675 | 675 | MarkerService markerService = tool.getService(MarkerService.class);
|
676 |
| - MarkerSet markerSet = markerService.getMarkerSet("Search", program); |
| 676 | + MarkerSet markerSet = markerService.getMarkerSet("Search Results", program); |
677 | 677 | assertNotNull(markerSet);
|
678 | 678 | AddressSet addresses = runSwing(() -> markerSet.getAddressSet());
|
679 | 679 | assertTrue(set.hasSameAddresses(addresses));
|
|
0 commit comments