Page MenuHomePhabricator

Add unit tests for Git change parsers
ClosedPublic

Authored by epriestley on Jan 20 2014, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 9:20 PM
Unknown Object (File)
Tue, Nov 19, 3:58 AM
Unknown Object (File)
Tue, Nov 19, 2:05 AM
Unknown Object (File)
Sun, Nov 17, 12:20 PM
Unknown Object (File)
Wed, Nov 6, 12:37 AM
Unknown Object (File)
Wed, Nov 6, 12:37 AM
Unknown Object (File)
Wed, Nov 6, 12:37 AM
Unknown Object (File)
Mon, Nov 4, 10:54 AM
Subscribers

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

Lint
Lint Skipped
Unit
Tests Skipped

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.