-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Googletest rebase. Step 1 - delete old gmock and gtest from testing/ b/280671902 * Googletest - Copying in unmodified headers and BUILD.gn from Chrome branch-heads/5735 b/280671902 * Googletest rebase - Applying Starboard changes and related changes to compile. b/280671902 (cherry picked from commit c6662a4) Co-authored-by: thorsten sideb0ard <[email protected]>
- Loading branch information
1 parent
ae9b314
commit fa646b5
Showing
302 changed files
with
995 additions
and
117,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2023 The Cobalt Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# Exclude support for registering main function in multi-process tests. | ||
gtest_include_multiprocess = true | ||
|
||
# Exclude support for platform-specific operations across unit tests. | ||
gtest_include_platform_test = false | ||
|
||
# Exclude support for testing Objective C code on OS X and iOS. | ||
gtest_include_objc_support = true | ||
|
||
# Exclude support for flushing coverage files on iOS. | ||
gtest_include_ios_coverage = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,25 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Copyright 2014 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# Modifications Copyright 2017 Google Inc. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# The file/directory layout of Google Test is not yet considered stable. Until | ||
# it stabilizes, Chromium code MUST use this target instead of reaching directly | ||
# into //third_party/googletest. | ||
|
||
config("gmock_direct_config") { | ||
include_dirs = [ "include" ] | ||
} | ||
|
||
static_library("gmock") { | ||
source_set("gmock") { | ||
testonly = true | ||
sources = [ | ||
"include/gmock/gmock-actions.h", | ||
"include/gmock/gmock-cardinalities.h", | ||
"include/gmock/gmock-generated-actions.h", | ||
"include/gmock/gmock-generated-function-mockers.h", | ||
"include/gmock/gmock-generated-matchers.h", | ||
"include/gmock/gmock-generated-nice-strict.h", | ||
"include/gmock/gmock-matchers.h", | ||
"include/gmock/gmock-spec-builders.h", | ||
"include/gmock/gmock.h", | ||
"include/gmock/internal/gmock-generated-internal-utils.h", | ||
"include/gmock/internal/gmock-internal-utils.h", | ||
"include/gmock/internal/gmock-port.h", | ||
"src/gmock-cardinalities.cc", | ||
"src/gmock-internal-utils.cc", | ||
"src/gmock-matchers.cc", | ||
"src/gmock-spec-builders.cc", | ||
"src/gmock.cc", | ||
"../gmock_mutant.h", | ||
] | ||
public_deps = [ "//third_party/googletest:gmock" ] | ||
} | ||
|
||
include_dirs = [ "." ] | ||
|
||
public_configs = [ ":gmock_direct_config" ] | ||
|
||
public_deps = [ | ||
"//testing/gtest", | ||
] | ||
# The file/directory layout of Google Test is not yet considered stable. Until | ||
# it stabilizes, Chromium code MUST use this target instead of reaching directly | ||
# into //third_party/googletest. | ||
source_set("gmock_main") { | ||
testonly = true | ||
deps = [ "//third_party/googletest:gmock_main" ] | ||
} |
Oops, something went wrong.