()
| 1031 | |
| 1032 | #[test] |
| 1033 | fn test_record_context_with_builder() { |
| 1034 | let txn = MockTxn; |
| 1035 | let working_copy = Memory::new(); |
| 1036 | let change_store = MemoryChangeStore::new(); |
| 1037 | let view = ViewState::default(); |
| 1038 | |
| 1039 | let mut builder = RecordBuilder::with_capacity(10, 1024); |
| 1040 | builder.force_rediff = true; |
| 1041 | |
| 1042 | let ctx = RecordContext::with_builder(&txn, &view, &working_copy, &change_store, builder); |
| 1043 | |
| 1044 | assert!(ctx.builder().force_rediff); |
| 1045 | } |
| 1046 | |
| 1047 | #[test] |
| 1048 | fn test_record_context_with_options() { |
nothing calls this directly
no outgoing calls
no test coverage detected