• Bence Béky's avatar
    Remove unnecessary test method arguments. · 19afcd65
    Bence Béky authored
    In websocket_stream_test.cc, test methods take URL, host (with optional
    port), and path arguments, which are redundant.  This CL removes the
    host and path arguments and generates them from URL.
    
    Also, every test uses the same origin and host_for_cookies, therefore
    there is no need to pass those as arguments either.
    
    Bug: 825231
    Change-Id: I31c0c7a44e3e0d28d10c5b1b0c61b2fc744c7e48
    Reviewed-on: https://chromium-review.googlesource.com/980958Reviewed-by: default avatarAdam Rice <ricea@chromium.org>
    Commit-Queue: Bence Béky <bnc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#546083}
    19afcd65
websocket_stream_test.cc 62.2 KB