Lines Matching refs:journal
655 // Should have both a main database file and a journal file because
657 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
659 ASSERT_TRUE(base::PathExists(journal));
663 EXPECT_FALSE(base::PathExists(journal));
680 // Cause the journal file to be created. If the default
685 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
689 // read access for the database and journal.
691 ASSERT_TRUE(base::PathExists(journal));
696 EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode));
700 // changed for both the main database and the journal.
705 ASSERT_TRUE(base::PathExists(journal));
710 EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode));
718 ASSERT_FALSE(base::PathExists(journal));
723 // Verify that journal creation inherits the restriction.
725 ASSERT_TRUE(base::PathExists(journal));
727 EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode));