Page MenuHomePhabricator

Add unit tests for Git change parsers
ClosedPublic

Authored by epriestley on Jan 20 2014, 7:50 PM.

Details

Summary

Ref T4327. Adds some basic tests to the Git parser for a set of common operations (add, change, move, copy, directory, symlink, propchange).

Test Plan

Ran unit tests.

Diff Detail

Branch
cparser2
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryGitCommitChangeParserWorker.php
231–249

The actual SQL code deals with all this type massaging, so we can use a simpler implementation here.