forked from qt-creator/qt-creator
Introduce IDevice::bytesAvailable()
It's going to replace RemoteLinuxCheckForFreeDiskSpaceService. Change-Id: If8c30a57b9013387c69412f12102bcd4d41a88b5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -122,6 +122,13 @@ void FileSystemAccessTest::testDirStatuses()
|
||||
QVERIFY(!testFilePath.exists());
|
||||
}
|
||||
|
||||
void FileSystemAccessTest::testBytesAvailable()
|
||||
{
|
||||
FilePath testFilePath = FilePath::fromString("ssh://" + QString(TEST_IP) + "/tmp");
|
||||
QVERIFY(testFilePath.exists());
|
||||
QVERIFY(testFilePath.bytesAvailable() > 0);
|
||||
}
|
||||
|
||||
void FileSystemAccessTest::testFileActions()
|
||||
{
|
||||
FilePath testFilePath = createFile("test");
|
||||
|
||||
Reference in New Issue
Block a user