Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] Mutualize fixtures code in BaseHttpFixture #31210

Merged
merged 4 commits into from
Jun 14, 2018

Commits on Jun 11, 2018

  1. [Tests] Mutualize fixtures code in BaseHttpFixture

    Many fixtures have similar code for writing the pid & ports files or
    for handling HTTP requests. This commit changes the current
    ExampleFixture in order to make it an abstract BaseHttpFixture class
    that can be extended for specific testing purposes. This class provides
    some simple Request and Response classes to represent the HTTP requests
    and responses and takes care of writing the pid and ports files and
    starting the HTTP server. It allows to remove lot of duplicated code
    and forbidden APIs invocations.
    
    The current AmazonS3Fixture, GoogleCloudStorageFixture, AzureStorageFixture,
    and URLFixture have been removed. The AmazonS3TestServer, ,
    AzureStorageTestServer, GoogleCloudStorageTestServer have been renamed
    and now extend BaseHttpFixture.
    
    This commit also fixes an issue with the AntFixture that was expecting
    a false result for the waitCondition(), whereas it should expect `true`.
    tlrx committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    88bc4f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Configuration menu
    Copy the full SHA
    1fb16d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2018

  1. Move to test framework

    tlrx committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    d970722 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4d5537 View commit details
    Browse the repository at this point in the history