sapling/eden/mononoke/reachabilityindex
Ilia Medianikov 80600af793 mononoke: refactor test fixtures library to convert fixtures from modules to structs
Summary:
Having each repo fixture as a separate module with repetitive code looks wrong. The repetitive code is also inconsistent between different fixtures.

I introduced a proper trait with default function implementations and replaced each module with a struct. The end code is shorter and cleaner, but I needed to modify a lot of other files because of naming changes and `use fixtures::TestRepoFixture`.

Reviewed By: markbt

Differential Revision: D35081002

fbshipit-source-id: fa753d933665afcd89cd902b20205de1968de29c
2022-03-24 06:19:07 -07:00
..
common changeset_fetcher: switch to ArcChangesetFetcher type 2022-02-17 03:18:15 -08:00
if third-party: update tracing and related crates 2022-03-16 15:36:55 -07:00
skiplist mononoke: refactor test fixtures library to convert fixtures from modules to structs 2022-03-24 06:19:07 -07:00
src changeset_fetcher: switch to ArcChangesetFetcher type 2022-02-17 03:18:15 -08:00
test-helpers mononoke: refactor test fixtures library to convert fixtures from modules to structs 2022-03-24 06:19:07 -07:00
Cargo.toml restore getdeps build (#109) 2022-02-11 01:42:04 -08:00