MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_record_context_into_builder

Function test_record_context_into_builder

atomic-core/src/record/context.rs:1061–1071  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1059
1060 #[test]
1061 fn test_record_context_into_builder() {
1062 let txn = MockTxn;
1063 let working_copy = Memory::new();
1064 let change_store = MemoryChangeStore::new();
1065 let view = ViewState::default();
1066
1067 let ctx = RecordContext::new(&txn, &view, &working_copy, &change_store);
1068 let builder = ctx.into_builder();
1069
1070 assert!(builder.is_empty());
1071 }
1072
1073 #[test]
1074 fn test_record_context_take_builder() {

Callers

nothing calls this directly

Calls 1

into_builderMethod · 0.80

Tested by

no test coverage detected