Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /java /raphw_jenesis-repository /test /publication /module-info.java
| /** | |
| * The publication-hook contract suite: the JUnit driver for the testkit's {@code PublicationHookContract}, one | |
| * synthetic fixture per role and per delivery class the seam supports, and the completeness census that keeps the | |
| * static inventory, the runtime graph and the fixtures in step. | |
| * | |
| * <p>The suite exists because <b>nothing had ever driven the interceptor chain against its stated contract</b>. The | |
| * {@code PublishInterceptor} javadoc carries thirteen numbered clauses written by /from reading the | |
| * code, and the only executable evidence was a handful of happy-path cases in {@code PublishInterceptorTest}: no | |
| * fail-closed leg, no crash window, no ordering asymmetry, and - because {@code FaultInjectingStore} had never been | |
| * armed on the screen path at all - no test of the window between {@code committed} firing and the declared | |
| * visibility write. | |
| * | |
| * <p><b>Why the fixtures are synthetic, and why that is the point.</b> The core ships no | |
| * {@code PublicationObserver} and no {@code PublishInterceptor} - the shipped chain is empty and every upload is | |
| * accepted - which the SPI's own contract states. So the fixtures here are archetypes of the roles the SPI documents: | |
| * two after-commit observers (one per supported delivery class), three screens (a recording one, a withholding one | |
| * with a read side, and one that also overrides the inherited observer leg), and one pre-commit hold-release hook. | |
| * Each is a minimal but real implementation over a real | |
| * {@code FilesystemArtifactStore} rooted at a JUnit {@code @TempDir}, | |
| * because a fail-closed check against a screen that never reads anything proves nothing. | |
| * | |
| * <p>It is a separate module on purpose: it {@code provides} its observers and screens and reaches them only through | |
| * {@code ServiceLoader}, so it is simultaneously the runtime-discovery graph the census needs and the graph in which | |
| * {@code Publication}'s own {@code instanceof PublishInterceptor} split can be driven end to end. A hook module | |
| * omitted here disappears from discovery while the source {@code provides} scan still declares it - the blind spot a | |
| * discovery-only census has. | |
| * | |
| * @jenesis.release 25 | |
| * @jenesis.test build.jenesis.repository.store.testkit | |
| * @jenesis.pin com.fasterxml.jackson.core/jackson-annotations 2.22 SHA-256/21ddb598807d3a51a876704eb979d9296e1c6a6f47ab1826ff88c6d6a127a2d0 | |
| * @jenesis.pin com.github.ben-manes.caffeine/caffeine 3.2.4 SHA-256/9d9d2cfd681fd9272ded3d27c9930db12f89f732345975aa113ebc223bbf1224 | |
| * @jenesis.pin com.google.errorprone/error_prone_annotations 2.49.0 SHA-256/3b1003e51b8ae56fdbd7c71073e81d1683b97e6c4dff5a9151164d59b769d13c | |
| * @jenesis.pin net.bytebuddy/byte-buddy 1.18.3 SHA-256/d78396e3c5bce3f2865c9186647481e5589d34cacc632484715b686108d17c66 | |
| * @jenesis.pin org.apiguardian/apiguardian-api 1.1.2 SHA-256/b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38 | |
| * @jenesis.pin org.assertj.core 3.27.7 | |
| * @jenesis.pin org.assertj/assertj-core 3.27.7 SHA-256/c4a445426c3c2861666863b842cc4ec7bbb1c4226fefd370b6d2fe83d6c4ff0f | |
| * @jenesis.pin org.jspecify/jspecify 1.0.0 SHA-256/1fad6e6be7557781e4d33729d49ae1cdc8fdda6fe477bb0cc68ce351eafdfbab | |
| * @jenesis.pin org.junit.jupiter 6.0.3 | |
| * @jenesis.pin org.junit.jupiter.api 6.0.3 | |
| * @jenesis.pin org.junit.jupiter/junit-jupiter 6.0.3 SHA-256/784b65815f479a0c99a9d3a573b142e2a525efb6025d97f751b19e72f90aeda3 | |
| * @jenesis.pin org.junit.jupiter/junit-jupiter-api 6.0.3 SHA-256/d655d7e6f0c7ae07f10a2f3bbaaebb6d30e9b26204a068ad9e9b3950aa28792c | |
| * @jenesis.pin org.junit.jupiter/junit-jupiter-engine 6.0.3 SHA-256/1e2fab61ad27ea08fc7c70dd9677cf8c6d1ae5434d42dcfdd633b12c7e7c04d0 | |
| * @jenesis.pin org.junit.jupiter/junit-jupiter-params 6.0.3 SHA-256/cf2947e2302b9f8c8a059259a277881c1cadae8fbc2514c16a925cfeb7beb2e5 | |
| * @jenesis.pin org.junit.platform.commons 6.0.3 | |
| * @jenesis.pin org.junit.platform.console 6.0.3 | |
| * @jenesis.pin org.junit.platform/junit-platform-commons 6.0.3 SHA-256/39f262d09c3d52719fe0b77f080e90a3695e285d779a41b232e17963ae5da200 | |
| * @jenesis.pin org.junit.platform/junit-platform-console 6.0.3 SHA-256/aee6094514f5761d15d469a187305c123a524153ee303473fcd836e0df7e1942 | |
| * @jenesis.pin org.junit.platform/junit-platform-engine 6.0.3 SHA-256/491e9e4f745f161b8a8e4186a1a7c6a450ea12c70930c9aedae427215301d947 | |
| * @jenesis.pin org.junit.platform/junit-platform-launcher 6.0.3 SHA-256/315608372e4dc44bca0ccb3ae8a07ecc206b3367033fa05748a03ccd563f1301 | |
| * @jenesis.pin org.junit.platform/junit-platform-reporting 6.0.3 SHA-256/f19c5be871c37ebed493f3152b67a909f89a44dff67c2db8016dfe34167d5730 | |
| * @jenesis.pin org.opentest4j 1.3.0 | |
| * @jenesis.pin org.opentest4j.reporting/open-test-reporting-tooling-spi 0.2.4 SHA-256/04ac4ecfcaf60abe0e6d5b18e8306320aec7cd9cbf15e59eeac54fa9faa16902 | |
| * @jenesis.pin org.opentest4j/opentest4j 1.3.0 SHA-256/48e2df636cab6563ced64dcdff8abb2355627cb236ef0bf37598682ddf742f1b | |
| * @jenesis.pin org.slf4j/slf4j-api 2.0.18 SHA-256/44508fd1576500688c790b190acdd16fec4f8c79a3e0b900afd70503cf055f55 | |
| * @jenesis.pin tools.jackson.core/jackson-core 3.2.0 SHA-256/5e353ce53c6901105dfcbf183e3220c17072e334e552b818a4bb1b99decea596 | |
| * @jenesis.pin tools.jackson.core/jackson-databind 3.2.0 SHA-256/3ef94a3dddeafc247c50230fad0315981b2ce4ae6e91cfb4368a86f328904e4f | |
| */ | |
| open module build.jenesis.repository.publication.contract.test { | |
| requires build.jenesis.repository.store; | |
| requires build.jenesis.repository.format.maven; | |
| requires build.jenesis.repository.format.oci; | |
| requires build.jenesis.repository.format.raw; | |
| requires build.jenesis.repository.store.testkit; | |
| requires build.jenesis.repository.store.filesystem; | |
| requires build.jenesis.repository.contract.testkit; | |
| requires org.junit.jupiter; | |
| requires org.assertj.core; | |
| // Discovery is part of what is under test: the census enumerates what ServiceLoader really sees in this graph, | |
| // splits it by `instanceof PublishInterceptor` exactly as Publication does, and compares both halves against the | |
| // source `provides` scan - and each fixture reaches its hook through discovery rather than by construction, the | |
| // way a deployment reaches it. The same `uses`-in-a-test-module shape test/store/contract and test/walkconsumer | |
| // already carry. | |
| uses build.jenesis.repository.store.PublicationObserver; | |
| // The role archetypes the contract is run over. They are declared here rather than in the testkit because a | |
| // source testkit must stay inert on a runtime graph - and because this one clause is what makes the census's | |
| // role split real: two observers and three screens arrive through it, and only `instanceof` tells them apart. | |
| provides build.jenesis.repository.store.PublicationObserver with | |
| build.jenesis.repository.publication.contract.test.FeedSplittingObserver, | |
| build.jenesis.repository.publication.contract.test.IndexObserver, | |
| build.jenesis.repository.publication.contract.test.OutboxObserver, | |
| build.jenesis.repository.publication.contract.test.RecordingScreen, | |
| build.jenesis.repository.publication.contract.test.WithholdingScreen, | |
| build.jenesis.repository.publication.contract.test.AuditingScreen; | |
| } | |
Xet Storage Details
- Size:
- 7.2 kB
- Xet hash:
- 8dfbd70759d808a802852766bb6fad024e0b1fca56d4e58a8121ac24a1da5839
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.