Description[Chromecast] Use ScopedTemp[File|Dir] in tests.
Files and directories created in a test should be removed as soon as the
test is done executing. Replace all uses of
base::CreateNewTempDirectory() with base::ScopedTempDir. Also introduce
a ScopedTempFile to ensure automatic clean-up of files created for
testing.
BUG=561597
Bug: b/22953577
Committed: https://crrev.com/ef83eab02623a35a59fe181addb2fae1b0436efc
Cr-Commit-Position: refs/heads/master@{#363875}
Patch Set 1 #Patch Set 2 : Move ScopedTempFile impl into .cc #Patch Set 3 : Style #
Total comments: 2
Patch Set 4 : Fix bug in test fixture, add CHECK to ScopedTempFile::Read #
Total comments: 2
Messages
Total messages: 43 (14 generated)
|