Skip to content

test(u4): drop unreferenced scratch tests#336

Open
plexoos wants to merge 1 commit into
mainfrom
remove-useless
Open

test(u4): drop unreferenced scratch tests#336
plexoos wants to merge 1 commit into
mainfrom
remove-useless

Conversation

@plexoos
Copy link
Copy Markdown
Member

@plexoos plexoos commented May 19, 2026

This PR removes a few ad hoc test/probe files that are no longer part of the
regular U4 test flow and have no remaining callers.

Changes:

  • remove u4/tests/G4ThreeVectorTest.cc
  • remove u4/tests/FewPMT_test.cc
  • remove u4/tests/FewPMT_test.sh
  • remove u4/tests/U4SensorIdentifierDefault_test.cc
  • drop G4ThreeVectorTest.cc from u4/tests/CMakeLists.txt
  • remove stale debug-only commented code in u4/U4SensorIdentifierDefault.h

No functional behavior change is intended.

This PR removes a few ad hoc test/probe files that are no longer part of the
regular U4 test flow and have no remaining callers.

Changes:
- remove `u4/tests/G4ThreeVectorTest.cc`
- remove `u4/tests/FewPMT_test.cc`
- remove `u4/tests/FewPMT_test.sh`
- remove `u4/tests/U4SensorIdentifierDefault_test.cc`
- drop `G4ThreeVectorTest.cc` from `u4/tests/CMakeLists.txt`
- remove stale debug-only commented code in `u4/U4SensorIdentifierDefault.h`

No functional behavior change is intended.
Copilot AI review requested due to automatic review settings May 19, 2026 23:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up the u4 test area by removing several ad hoc/scratch test and probe files that are no longer referenced by the regular U4 test build/run flow, and trims stale commented debug code in U4SensorIdentifierDefault.

Changes:

  • Removed unreferenced scratch tests/probes: G4ThreeVectorTest.cc, FewPMT_test.cc, FewPMT_test.sh, U4SensorIdentifierDefault_test.cc.
  • Updated u4/tests/CMakeLists.txt to stop building G4ThreeVectorTest.
  • Removed stale debug-only commented-out lines (and extra trailing whitespace) in u4/U4SensorIdentifierDefault.h.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
u4/U4SensorIdentifierDefault.h Removes stale commented debug scaffolding / trailing whitespace; no functional logic change.
u4/tests/CMakeLists.txt Drops G4ThreeVectorTest.cc from TEST_SOURCES so it is no longer built.
u4/tests/U4SensorIdentifierDefault_test.cc Removes an ad hoc standalone scratch test (no remaining references found).
u4/tests/G4ThreeVectorTest.cc Removes a scratch probe executable (no remaining references found; also removed from CMake).
u4/tests/FewPMT_test.sh Removes an ad hoc compile/run helper script (no remaining references found).
u4/tests/FewPMT_test.cc Removes an ad hoc probe executable (no remaining references found).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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