Skip to content

extraction-test :: move answer checking to IBaseDataObjectDiffHelper#1459

Open
dev-mlb wants to merge 1 commit into
NationalSecurityAgency:mainfrom
dev-mlb:extract-test-diff
Open

extraction-test :: move answer checking to IBaseDataObjectDiffHelper#1459
dev-mlb wants to merge 1 commit into
NationalSecurityAgency:mainfrom
dev-mlb:extract-test-diff

Conversation

@dev-mlb

@dev-mlb dev-mlb commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary
Both ExtractionTest (lenient mode) and IBaseDataObjectDiffHelper (strict mode) contained separate answer-checking logic. This PR consolidates all answer-checking logic into IBaseDataObjectDiffHelper to eliminate duplication.

Key Changes

  • Moved specific checkAnswer logic to IBaseDataObjectDiffHelper.
  • Updated checkAnswers methods to rely on PlaceComparisonHelper for diffing.
  • Unified overlapping methods between ExtractionTest and IBaseDataObjectDiffHelper.

Note
This refactor focuses on consolidating calls while attempting to preserve backward compatibility. However, please watch for downstream code that may have overridden any of the relocated methods. Further refactoring will follow in subsequent PRs.

@dev-mlb
dev-mlb force-pushed the extract-test-diff branch 4 times, most recently from abb3f35 to 1e130f8 Compare July 10, 2026 20:29
@dev-mlb dev-mlb changed the title extraction-test :: move answer checking to IBaseDataObjectDiffHelper [DRAFT] extraction-test :: move answer checking to IBaseDataObjectDiffHelper Jul 10, 2026
@dev-mlb
dev-mlb force-pushed the extract-test-diff branch 2 times, most recently from dd7e70a to a68558a Compare July 10, 2026 21:03
@dev-mlb
dev-mlb force-pushed the extract-test-diff branch from a68558a to 089325c Compare July 11, 2026 11:07
@dev-mlb dev-mlb changed the title [DRAFT] extraction-test :: move answer checking to IBaseDataObjectDiffHelper extraction-test :: move answer checking to IBaseDataObjectDiffHelper Jul 13, 2026
@cfkoehler
cfkoehler self-requested a review July 16, 2026 09:31
}
}

protected static boolean verifyOs(Element element, List<String> differences) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use OSReleaseUtil()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants