Crate lowertest[−][src]
Expand description
Utilities for testing lower layers of the Materialize stack.
See [README.md].
Structs
Default TestDeserializeContext
.
Info that must be combined with a spec to form deserializable JSON.
Traits
For to_json
to create deserializable JSON for an instance of an type,
the type must derive this trait.
A trait for extending and/or overriding the default test case syntax.
Functions
Deserialize the next TokenTree
into a D
object.
If the stream_iter
is not empty, deserialize the next TokenTree
into a D
.
Converts stream into JSON if type_name
refers to an enum or struct
Converts all TokenTree
s into JSON.
Converts all TokenTree
s into JSON deserializable to type_name
.
Converts the next part of the stream into JSON deserializable into an object
of type type_name
.
Converts the spec for fields of an enum/struct into deserializable JSON.
Converts the spec of an enum into deserializable JSON
Converts s
into a proc_macro2::TokenStream
Changes "\"foo\""
to "foo"
Derive Macros
Macro generating an implementation for the trait MzReflect