Buckets:

download
raw
4.49 kB
/**
* Focused unit tests for the shared artifact-walk SPI and its {@code store} reference implementation, all driven
* against a real {@code FilesystemArtifactStore} rooted at a JUnit
* {@code @TempDir} with an injectable test clock, so every distributed-systems claim is exercised without a network:
* total lexicographic order and exactly-once coverage per pass; the checkpoint cursor making a crash-resume re-visit
* at most one stride at every kill point, never restarting; the static segment plan (child packing, the second-level
* descent, the hex-nibble cuts over a flat content-addressed namespace); the claim-in-segment compare-and-set model
* (two racing claimants resolve to one winner, a live holder is refused - never stolen - and an expired holder's
* segment is reclaimed from its last committed cursor by another "node"); the concurrent-publication visibility
* contract (seen this pass or guaranteed the next); pass lifecycle and generation turnover; the
* {@code WalkProvider} ServiceLoader resolution with its {@code jenreg.walk} selection; and the
* {@code ArtifactStore.page} ordered-paging contract - the filesystem backend's bounded native override against the
* interface default they must both honour.
*
* @jenesis.release 25
* @jenesis.test build.jenesis.repository.walk
* @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
*/
open module build.jenesis.repository.walk.test {
requires build.jenesis.repository.walk;
requires build.jenesis.repository.walk.store;
requires build.jenesis.repository.observation;
requires build.jenesis.repository.store;
requires build.jenesis.repository.store.testkit;
requires build.jenesis.repository.store.filesystem;
requires org.junit.jupiter;
requires org.assertj.core;
provides build.jenesis.repository.walk.WalkConsumer
with build.jenesis.repository.walk.test.DiscoverableWalkConsumer;
}

Xet Storage Details

Size:
4.49 kB
·
Xet hash:
0b8444879a321a46daaa8d25103b419b29bbb432598f4c7569719704238be60d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.