This is an archive of the discontinued Mercurial Phabricator instance.

gitmeta: refactor and add more test cases to test-git-getmeta.t
ClosedPublic

Authored by singhsrb on Sep 11 2017, 6:31 PM.
Tags
None
Subscribers
None

Details

Summary

test-git-getmeta.t has some basic tests to check that the git metadata
syncing works as expected. I have added some tests for more complicated
scenarios for robust testing. Also, I did some refactoring of the test for
readability.

Test Plan

Ran all the tests.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

singhsrb created this revision.Sep 11 2017, 6:31 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptSep 11 2017, 6:31 PM
durham accepted this revision.Sep 12 2017, 12:10 PM
This revision is now accepted and ready to land.Sep 12 2017, 12:10 PM
singhsrb added inline comments.Sep 12 2017, 4:18 PM
tests/test-git-getmeta.t
238

Will change this from commit->ci

This revision was automatically updated to reflect the committed changes.