Liking cljdoc? Tell your friends :D

cues.test

Provides Cues test fixtures.

Provides Cues test fixtures.
raw docstring

attempt-index-from-1clj

(attempt-index-from-1 appender i)

For testing purposes only.

For testing purposes only.
sourceraw docstring

index-from-1clj

(index-from-1 tailer)

For testing purposes only.

For testing purposes only.
sourceraw docstring

last-index-from-1clj

(last-index-from-1 queue)

For testing purposes only.

For testing purposes only.
sourceraw docstring

last-read-index-from-1clj

(last-read-index-from-1 tailer)

For testing purposes only.

For testing purposes only.
sourceraw docstring

simplify-exceptionsclj

(simplify-exceptions messages)
source

to-index-from-1clj

(to-index-from-1 tailer i)

For testing purposes only.

For testing purposes only.
sourceraw docstring

with-graph-and-deletecljmacro

(with-graph-and-delete [sym :as binding] & body)
source

with-test-indicesclj

(with-test-indices f)

A number of cues.queue functions are rebound to make queue indices easier to work with in unit tests. While ChronicleQueue indicies are deterministic, they have a complex relationship to the roll cycles of the data on disk. Queue indices are guaranteed to increase monotonically, but not always continguously, and in general code that tries to predict future indices should be avoided. However, under the narrow constraints of the unit tests and test queue configurations, these new bindings will start all indices at 1 and then increase continguously. Just beware that this does NOT hold in general, and you should never rebind these methods outside of unit tests.

A number of cues.queue functions are rebound to make queue indices
easier to work with in unit tests. While ChronicleQueue indicies are
deterministic, they have a complex relationship to the roll cycles
of the data on disk. Queue indices are guaranteed to increase
monotonically, but not always continguously, and in general code
that tries to predict future indices should be avoided. However,
under the narrow constraints of the unit tests and test queue
configurations, these new bindings will start all indices at 1 and
then increase continguously. Just beware that this does NOT hold in
general, and you should never rebind these methods outside of unit
tests.
sourceraw docstring

with-warnclj

(with-warn f)
source

written-index-from-1clj

(written-index-from-1 queue i)

For testing purposes only.

For testing purposes only.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close