mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Fixed the file implementations, they weren't using a mode, and the base path was always set to /tmp/.
We now get the systems idea of where the users download folder is and use that as the base path when receiving a file. PiperOrigin-RevId: 406406731
This commit is contained in:
committed by
Copybara-Service
parent
acf516189b
commit
44fad7d8fb
@@ -94,7 +94,7 @@ TEST_F(InputFileTests, SuccessfulGetFilePath) {
|
||||
EXPECT_EQ(inputFile->Close(),
|
||||
location::nearby::Exception{location::nearby::Exception::kSuccess});
|
||||
|
||||
EXPECT_EQ(fileName, TEST_PATH);
|
||||
EXPECT_EQ(fileName, test_utils::GetPayloadPath(payloadId).c_str());
|
||||
}
|
||||
|
||||
TEST_F(InputFileTests, SuccessfulGetTotalSize) {
|
||||
|
||||
Reference in New Issue
Block a user