| Index: util/test/thread.cc
|
| diff --git a/util/test/scoped_temp_dir.cc b/util/test/thread.cc
|
| similarity index 79%
|
| copy from util/test/scoped_temp_dir.cc
|
| copy to util/test/thread.cc
|
| index a2f8d251430fde0adc2227365c539f34ab6d335d..55d449858bed33977e06d740ab0b5b5095d414d4 100644
|
| --- a/util/test/scoped_temp_dir.cc
|
| +++ b/util/test/thread.cc
|
| @@ -12,16 +12,18 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| -#include "util/test/scoped_temp_dir.h"
|
| +#include "util/test/thread.h"
|
| +
|
| +#include "gtest/gtest.h"
|
|
|
| namespace crashpad {
|
| namespace test {
|
|
|
| -ScopedTempDir::ScopedTempDir() : path_(CreateTemporaryDirectory()) {
|
| +Thread::Thread() : platform_thread_(0) {
|
| }
|
|
|
| -ScopedTempDir::~ScopedTempDir() {
|
| - RecursivelyDeleteTemporaryDirectory(path());
|
| +Thread::~Thread() {
|
| + EXPECT_FALSE(platform_thread_);
|
| }
|
|
|
| } // namespace test
|
|
|