GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Share test fixtures through java-test-fixtures and one capture codec module by lhotari · Pull Request #20 · jonoffcpu/jonoffcpu Conversation
Collaborator
WhyTest helpers lived inside test classes, so tests called into other test classes, the integration suite compiled against the unit tests' output, and the agent and the correlator each carried a copy of the fixture that encodes capture stream records. Each Java module also generated its own copy of the capture codec from What changesTest fixtures. Every module applies Gradle's
Fixtures may use AssertJ; the fixture variants are never published. One capture codec. A new unpublished Shaded modules. The plain JAR used to be disabled and shared the shaded JAR's file name, so any in-build consumer of the module's ordinary variant got the relocated JAR. It now has a Docs. CODING.md documents the fixture conventions; AGENTS.md, the READMEs and OFFLINE.md point at the new schema locations and module. Verification
The proof tools under
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…module Move everything the tests use but that is not a test into each module's `src/testFixtures`, with Gradle's java-test-fixtures plugin: fixture builders, JFR event types, the command-line and export helpers, and the workloads and checks that tests and proof tools launch. Helpers that other test classes called inside OfflineCorrelatorTest, CommandLineTest and ExportTest become CorrelationFixture, CommandLineFixture and ExportFixture. The fixture variants are never published. The capture stream's Java codec is now generated once, in a new unpublished jonoffcpu-capture-codec module that owns src/main/proto/jonoffcpu-capture.proto; the agent and the correlator embed it through embeddedRuntime and relocate its protobuf runtime as before, and the correlator generates only its own profile schema from src/main/proto. The fixture that encodes JSON rows as stream records, duplicated in both modules, is one CaptureRecordFixture in the codec module's test fixtures. The Rust collector and both native-bundle Dockerfiles read the schema from its new location, and the native build now lists it as an input. The plain JAR of a shaded module gets a `plain` classifier and declares its unrelocated libraries, so consumers inside the build no longer resolve the shaded JAR in its place; only external embedded libraries are checked against pinned digests. CODING.md documents the fixture conventions. Uh oh!
There was an error while loading. Please reload this page.
lhotari
added a commit
that referenced
this pull request
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |