Page MenuHomePhabricator

Add unit tests for Git change parsers
ClosedPublic

Authored by epriestley on Jan 20 2014, 7:50 PM.
Tags
None
Referenced Files
F14064944: D8012.diff
Tue, Nov 19, 2:05 AM
F14058453: D8012.diff
Sun, Nov 17, 12:20 PM
F14020490: D8012.id18131.diff
Wed, Nov 6, 12:37 AM
F14020488: D8012.id18123.diff
Wed, Nov 6, 12:37 AM
F14020487: D8012.id.diff
Wed, Nov 6, 12:37 AM
F14016895: D8012.diff
Mon, Nov 4, 10:54 AM
F13993295: D8012.id.diff
Tue, Oct 22, 9:54 PM
F13963554: D8012.diff
Oct 15 2024, 4:33 PM
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.