1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-13 02:12:41 +01:00
phorge-arcanist/src/parser
epriestley 95c663f461 Add git-repo-based bundle tests
Summary:
Adds a test which goes through a git repository commit by commit and applies them (in effect) via "arc patch", verifying that the results match the actual commit.

See D3439 for the fixture stuff.

The git repo archive has a couple of trivial commits in it:

  $ ../libphutil/scripts/utils/directory_fixture.php src/parser/__tests__/bundle.git.tgz
  Spawning an interactive shell. Exit when complete.

  sh-3.2$ git log
  commit f19fb9fa1385c01b53bdb6d8842dd154e47151ec
  Author: epriestley <git@epriestley.com>
  Date:   Wed Sep 5 14:30:28 2012 -0700

      Edit a text file.

  commit 228d7be4840313ed805c25c15bba0f7b188af3e6
  Author: epriestley <git@epriestley.com>
  Date:   Wed Sep 5 14:30:11 2012 -0700

      Add a text file.

Test Plan: Ran tests.

Reviewers: edward

Reviewed By: edward

CC: aran

Maniphest Tasks: T866

Differential Revision: https://secure.phabricator.com/D3440
2012-09-21 12:27:21 -07:00
..
__tests__ Add git-repo-based bundle tests 2012-09-21 12:27:21 -07:00
diff Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistBaseCommitParser.php Implement "arc:amended" and fix various problems with ArcanistMercurialAPI 2012-07-01 11:06:05 -07:00
ArcanistBundle.php Handle empty file add in Git export 2012-09-21 11:22:21 -07:00
ArcanistCommentRemover.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistDiffParser.php Switch arcanist to phutil_utf8_convert() 2012-08-12 08:50:01 -07:00