• Oleg Davydov's avatar
    Extract extension-related stuff from policy_browsertest.cc · dbd15694
    Oleg Davydov authored
    File policy_browsertest.cc contains integration tests for many unrelated
    policies, that makes this test file extremely large. It's better to
    split it into several parts according to testing section. This commit
    starts with splitting work by moving extension-related policy tests into
    separate file.
    
    Possible follow-up improvement could be: extract other sections into
    different files, leaving only generic policy tests in
    policy_browsertest.cc. Another possible follow-up: refactor PolicyTest
    base test class, eg., by moving its extension-related methods into new
    subclass in extension_policy_browsertest.cc.
    
    Bug: 1002483
    Change-Id: I97f6286fd5ba0ba681fa95fc1f85107da4fe246c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763667
    Commit-Queue: Oleg Davydov <burunduk@chromium.org>
    Reviewed-by: default avatarSergey Poromov <poromov@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#697157}
    dbd15694
policy_browsertest.cc 238 KB