Skip to content

Commit 5925d3e

Browse files
committed
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-12-20-24'
2 parents 747edbf + 2bd15c1 commit 5925d3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/searchtext/SearchTextPlugin1Test.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -421,7 +421,7 @@ private void programLocationChange(String buttonText) throws Exception {
421421
assertEquals(getAddr(0x01004192), loc.getAddress());
422422
assertTrue(loc instanceof CommentFieldLocation);
423423
assertEquals("Search result not placed at the matching character position", 15,
424-
((CommentFieldLocation) loc).getCharOffset());
424+
loc.getCharOffset());
425425
assertEquals(CodeUnit.PLATE_COMMENT, ((CommentFieldLocation) loc).getCommentType());
426426

427427
pressButton(searchButton);
@@ -673,7 +673,7 @@ private void searchAll(String buttonText, String searchType) throws Exception {
673673
//
674674
AddressSet set = getAddressesFromModel(model);
675675
MarkerService markerService = tool.getService(MarkerService.class);
676-
MarkerSet markerSet = markerService.getMarkerSet("Search", program);
676+
MarkerSet markerSet = markerService.getMarkerSet("Search Results", program);
677677
assertNotNull(markerSet);
678678
AddressSet addresses = runSwing(() -> markerSet.getAddressSet());
679679
assertTrue(set.hasSameAddresses(addresses));

0 commit comments

Comments
 (0)