Module holochain_zome_types::test_utils[][src]

Common helpers for writing tests against zome types

We don’t use fixturators for these, because this crate defines no fixturators

Functions

fake_agent_pub_key

A fixture AgentPubKey for unit testing.

fake_agent_pubkey_1

A fixture AgentPubKey for unit testing. NB: This must match up with AgentPubKeyFixturator’s Predictable curve

fake_agent_pubkey_2

Another fixture AgentPubKey for unit testing. NB: This must match up with AgentPubKeyFixturator’s Predictable curve

fake_cap_secret

A fixture CapSecret for unit testing.

fake_cell_id

A fixture example CellId for unit testing.

fake_dht_op_hash

A fixture DhtOpHash for unit testing.

fake_dna_hash

A fixture DnaHash for unit testing.

fake_entry_hash

A fixture EntryHash for unit testing.

fake_header_hash

A fixture HeaderHash for unit testing.