Registers a test object store with the provided `ctx`
(ctx: &SessionContext, files: &[(&str, u64)])
| 40 | |
| 41 | /// Registers a test object store with the provided `ctx` |
| 42 | pub fn register_test_store(ctx: &SessionContext, files: &[(&str, u64)]) { |
| 43 | let url = Url::parse("test://").unwrap(); |
| 44 | ctx.register_object_store(&url, make_test_store_and_state(files).0); |
| 45 | } |
| 46 | |
| 47 | /// Create a test object store with the provided files |
| 48 | pub fn make_test_store_and_state(files: &[(&str, u64)]) -> (Arc<InMemory>, SessionState) { |
no test coverage detected
searching dependent graphs…