"Fossies" - the Fresh Open Source Software Archive

Member "abseil-cpp-20230802.1/absl/log/absl_check_test.cc" (18 Sep 2023, 2330 Bytes) of package /linux/misc/abseil-cpp-20230802.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "absl_check_test.cc" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 20230125.3_vs_20230802.0.

    1 //
    2 // Copyright 2022 The Abseil Authors.
    3 //
    4 // Licensed under the Apache License, Version 2.0 (the "License");
    5 // you may not use this file except in compliance with the License.
    6 // You may obtain a copy of the License at
    7 //
    8 //      https://www.apache.org/licenses/LICENSE-2.0
    9 //
   10 // Unless required by applicable law or agreed to in writing, software
   11 // distributed under the License is distributed on an "AS IS" BASIS,
   12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13 // See the License for the specific language governing permissions and
   14 // limitations under the License.
   15 
   16 #include "absl/log/absl_check.h"
   17 
   18 #define ABSL_TEST_CHECK ABSL_CHECK
   19 #define ABSL_TEST_CHECK_OK ABSL_CHECK_OK
   20 #define ABSL_TEST_CHECK_EQ ABSL_CHECK_EQ
   21 #define ABSL_TEST_CHECK_NE ABSL_CHECK_NE
   22 #define ABSL_TEST_CHECK_GE ABSL_CHECK_GE
   23 #define ABSL_TEST_CHECK_LE ABSL_CHECK_LE
   24 #define ABSL_TEST_CHECK_GT ABSL_CHECK_GT
   25 #define ABSL_TEST_CHECK_LT ABSL_CHECK_LT
   26 #define ABSL_TEST_CHECK_STREQ ABSL_CHECK_STREQ
   27 #define ABSL_TEST_CHECK_STRNE ABSL_CHECK_STRNE
   28 #define ABSL_TEST_CHECK_STRCASEEQ ABSL_CHECK_STRCASEEQ
   29 #define ABSL_TEST_CHECK_STRCASENE ABSL_CHECK_STRCASENE
   30 
   31 #define ABSL_TEST_DCHECK ABSL_DCHECK
   32 #define ABSL_TEST_DCHECK_OK ABSL_DCHECK_OK
   33 #define ABSL_TEST_DCHECK_EQ ABSL_DCHECK_EQ
   34 #define ABSL_TEST_DCHECK_NE ABSL_DCHECK_NE
   35 #define ABSL_TEST_DCHECK_GE ABSL_DCHECK_GE
   36 #define ABSL_TEST_DCHECK_LE ABSL_DCHECK_LE
   37 #define ABSL_TEST_DCHECK_GT ABSL_DCHECK_GT
   38 #define ABSL_TEST_DCHECK_LT ABSL_DCHECK_LT
   39 #define ABSL_TEST_DCHECK_STREQ ABSL_DCHECK_STREQ
   40 #define ABSL_TEST_DCHECK_STRNE ABSL_DCHECK_STRNE
   41 #define ABSL_TEST_DCHECK_STRCASEEQ ABSL_DCHECK_STRCASEEQ
   42 #define ABSL_TEST_DCHECK_STRCASENE ABSL_DCHECK_STRCASENE
   43 
   44 #define ABSL_TEST_QCHECK ABSL_QCHECK
   45 #define ABSL_TEST_QCHECK_OK ABSL_QCHECK_OK
   46 #define ABSL_TEST_QCHECK_EQ ABSL_QCHECK_EQ
   47 #define ABSL_TEST_QCHECK_NE ABSL_QCHECK_NE
   48 #define ABSL_TEST_QCHECK_GE ABSL_QCHECK_GE
   49 #define ABSL_TEST_QCHECK_LE ABSL_QCHECK_LE
   50 #define ABSL_TEST_QCHECK_GT ABSL_QCHECK_GT
   51 #define ABSL_TEST_QCHECK_LT ABSL_QCHECK_LT
   52 #define ABSL_TEST_QCHECK_STREQ ABSL_QCHECK_STREQ
   53 #define ABSL_TEST_QCHECK_STRNE ABSL_QCHECK_STRNE
   54 #define ABSL_TEST_QCHECK_STRCASEEQ ABSL_QCHECK_STRCASEEQ
   55 #define ABSL_TEST_QCHECK_STRCASENE ABSL_QCHECK_STRCASENE
   56 
   57 #include "gtest/gtest.h"
   58 #include "absl/log/check_test_impl.inc"