blob: 31eaa02c203df67ca34e33ad566565b623985083 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crashpad: crashpad::test::ScopedTempDir Class 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" />
<link href="crashpad_doxygen.css" rel="stylesheet" type="text/css"/>
</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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Crashpad
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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="namespacecrashpad.html">crashpad</a></li><li class="navelem"><a class="el" href="namespacecrashpad_1_1test.html">test</a></li><li class="navelem"><a class="el" href="classcrashpad_1_1test_1_1ScopedTempDir.html">ScopedTempDir</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classcrashpad_1_1test_1_1ScopedTempDir-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">crashpad::test::ScopedTempDir Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A RAII object that creates a temporary directory for testing.
<a href="classcrashpad_1_1test_1_1ScopedTempDir.html#details">More...</a></p>
<p><code>#include &quot;test/scoped_temp_dir.h&quot;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4e750f7de1abd3397c62a35ee5c2dee3"><td class="memItemLeft" align="right" valign="top">const base::FilePath &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1ScopedTempDir.html#a4e750f7de1abd3397c62a35ee5c2dee3">path</a> () const</td></tr>
<tr class="memdesc:a4e750f7de1abd3397c62a35ee5c2dee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the path of the temporary directory. <a href="classcrashpad_1_1test_1_1ScopedTempDir.html#a4e750f7de1abd3397c62a35ee5c2dee3">More...</a><br /></td></tr>
<tr class="separator:a4e750f7de1abd3397c62a35ee5c2dee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6556ca006142c5ef03ff8f349ceaa014"><td class="memItemLeft" align="right" valign="top"><a id="a6556ca006142c5ef03ff8f349ceaa014"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1ScopedTempDir.html#a6556ca006142c5ef03ff8f349ceaa014">Rename</a> ()</td></tr>
<tr class="memdesc:a6556ca006142c5ef03ff8f349ceaa014"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the temporary directory to a new temporary location. <br /></td></tr>
<tr class="separator:a6556ca006142c5ef03ff8f349ceaa014"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A RAII object that creates a temporary directory for testing. </p>
<p>Upon construction, a temporary directory will be created. Failure to create the directory is fatal. On destruction, the directory and all its contents will be removed. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a4e750f7de1abd3397c62a35ee5c2dee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e750f7de1abd3397c62a35ee5c2dee3">&#9670;&nbsp;</a></span>path()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const base::FilePath&amp; crashpad::test::ScopedTempDir::path </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the path of the temporary directory. </p>
<dl class="section return"><dt>Returns</dt><dd>The temporary directory path. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>test/scoped_temp_dir.h</li>
<li>test/scoped_temp_dir.cc</li>
<li>test/scoped_temp_dir_posix.cc</li>
<li>test/scoped_temp_dir_win.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>