2015-10-08 14:55:01 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2017-02-22 23:37:31 -05:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
2016-11-07 15:21:37 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-10-08 14:55:01 -04:00
< title > Crashpad: test/gtest_death_check.h File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2016-11-08 14:26:59 -05:00
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
2015-10-08 14:55:01 -04:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-01-06 16:09:15 -05:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-10-08 14:55:01 -04:00
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2017-02-22 23:37:31 -05:00
<!-- Generated by Doxygen 1.8.13 -->
2015-10-08 14:55:01 -04:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2016-11-07 15:21:37 -05:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2015-10-08 14:55:01 -04:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_13e138d54eb8818da29c3992edef070a.html" > test< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#define-members" > Macros< / a > < / div >
< div class = "headertitle" >
< div class = "title" > gtest_death_check.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include " base/logging.h" < / code > < br / >
< code > #include " gtest/gtest.h" < / code > < br / >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a11ab1a718cd7a7ed56b7e2fbd2c36f74" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "gtest__death__check_8h.html#a11ab1a718cd7a7ed56b7e2fbd2c36f74" > ASSERT_DEATH_CHECK< / a > (statement, regex)      ASSERT_DEATH(statement, regex)< / td > < / tr >
< tr class = "memdesc:a11ab1a718cd7a7ed56b7e2fbd2c36f74" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Wraps the gtest < code > ASSERT_DEATH()< / code > macro to make assertions about death caused by < code > CHECK()< / code > failures. < a href = "#a11ab1a718cd7a7ed56b7e2fbd2c36f74" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a11ab1a718cd7a7ed56b7e2fbd2c36f74" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa4bd7e1dbfc8862448a4b0fb66790e50" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "gtest__death__check_8h.html#aa4bd7e1dbfc8862448a4b0fb66790e50" > EXPECT_DEATH_CHECK< / a > (statement, regex)      EXPECT_DEATH(statement, regex)< / td > < / tr >
< tr class = "memdesc:aa4bd7e1dbfc8862448a4b0fb66790e50" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Wraps the gtest < code > EXPECT_DEATH()< / code > macro to make assertions about death caused by < code > CHECK()< / code > failures. < a href = "#aa4bd7e1dbfc8862448a4b0fb66790e50" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa4bd7e1dbfc8862448a4b0fb66790e50" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
2016-11-07 15:21:37 -05:00
< a id = "a11ab1a718cd7a7ed56b7e2fbd2c36f74" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a11ab1a718cd7a7ed56b7e2fbd2c36f74" > ◆ < / a > < / span > ASSERT_DEATH_CHECK< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define ASSERT_DEATH_CHECK< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > statement, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > regex  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td >       ASSERT_DEATH(statement, regex)< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Wraps the gtest < code > ASSERT_DEATH()< / code > macro to make assertions about death caused by < code > CHECK()< / code > failures. < / p >
< p > In an in-Chromium build in the official configuration in Release mode, < code > CHECK()< / code > does not print its condition or streamed messages. In that case, this macro uses an empty < em > regex< / em > pattern when calling < code > ASSERT_DEATH()< / code > to avoid looking for any particular output on the standard error stream. In other build configurations, the < em > regex< / em > pattern is left intact. < / p >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "aa4bd7e1dbfc8862448a4b0fb66790e50" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa4bd7e1dbfc8862448a4b0fb66790e50" > ◆ < / a > < / span > EXPECT_DEATH_CHECK< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define EXPECT_DEATH_CHECK< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > statement, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > regex  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td >       EXPECT_DEATH(statement, regex)< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Wraps the gtest < code > EXPECT_DEATH()< / code > macro to make assertions about death caused by < code > CHECK()< / code > failures. < / p >
< p > In an in-Chromium build in the official configuration in Release mode, < code > CHECK()< / code > does not print its condition or streamed messages. In that case, this macro uses an empty < em > regex< / em > pattern when calling < code > EXPECT_DEATH()< / code > to avoid looking for any particular output on the standard error stream. In other build configurations, the < em > regex< / em > pattern is left intact. < / p >
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2017-02-22 23:37:31 -05:00
< / a > 1.8.13
2015-10-08 14:55:01 -04:00
< / small > < / address >
< / body >
< / html >