Edit

kc3-lang/angle/tests/angle_tests/angle_test_main.cpp

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2013-10-23 13:06:46
    Hash : bb134678
    Message : Added a gtest environment class to initialize the ANGLETest class window. Change-Id: I6fa59201364960cc8fe1cb44e2d09a14cf61dd8a Reviewed-on: https://chromium-review.googlesource.com/179352 Reviewed-by: Nicolas Capens <nicolascapens@chromium.org> Commit-Queue: Nicolas Capens <nicolascapens@chromium.org> Tested-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • tests/angle_tests/angle_test_main.cpp
  • //
    // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    #include "gmock/gmock.h"
    #include "gtest/gtest.h"
    #include "ANGLETest.h"
    
    int main(int argc, char** argv)
    {
        testing::InitGoogleMock(&argc, argv);
        testing::AddGlobalTestEnvironment(new ANGLETestEnvironment());
        int rt = RUN_ALL_TESTS();
        return rt;
    }