• xunjieli's avatar
    [Cronet] Added a unit test in QuicTest to test async API. · f49eca0d
    xunjieli authored
    This CL removed the incorrect comment in QuicTest, and
    added a second unit test to make sure addQuicHints
    works for the new async API.
    
    It made QuicTestServer install test files during start up
    to match the new behavior of NativeTestServer, and adds an
    assertion to make sure the server has test data.
    
    The CL caches the result returned by
    CronetTestActivity#getContextConfig, so we don't
    need to go through that path for initializing
    mUrlRequestContext, mHttpUrlRequestFactory and
    mStreamHandlerFactory, and cleaned up log statements.
    
    Review URL: https://codereview.chromium.org/1138493002
    
    Cr-Commit-Position: refs/heads/master@{#329678}
    f49eca0d
quic_test_server.cc 3.08 KB