#include <gtest/gtest.h>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem.hpp>
#include <atomic>
#include <qicore/file.hpp>
#include <qi/path.hpp>
#include <qi/application.hpp>
#include <qi/type/dynamicobjectbuilder.hpp>
#include <testsession/testsessionpair.hpp>
#include <testsession/testsession.hpp>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
| qiLogCategory ("qimessaging.testFile") |
|
| TEST (TestFile, cannotReadClosedFile) |
|
| TEST (TestFile, cannotReadPastEnd) |
|
| TEST (TestFile, cannotReadUnknownFile) |
|
| TEST (TestFile, localCopy) |
|
| TEST (TestFile, readLocalFile) |
|
| TEST_F (Test_ReadRemoteFile, bigFiletransfert) |
|
| TEST_F (Test_ReadRemoteFile, cancelFileTransfer) |
|
| TEST_F (Test_ReadRemoteFile, filetransfert) |
|
| TEST_F (Test_ReadRemoteFile, isLocalOrRemote) |
|
| TEST_F (Test_ReadRemoteFile, readAll) |
|
| TEST_F (Test_ReadRemoteFile, readAllOnce) |
|
| TEST_F (Test_ReadRemoteFile, readInTheMiddle) |
|
| TEST_F (Test_ReadRemoteFile, someReading) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ qiLogCategory()
qiLogCategory |
( |
"qimessaging.testFile" |
| ) |
|
◆ TEST() [1/5]
TEST |
( |
TestFile |
, |
|
|
cannotReadClosedFile |
|
|
) |
| |
◆ TEST() [2/5]
TEST |
( |
TestFile |
, |
|
|
cannotReadPastEnd |
|
|
) |
| |
◆ TEST() [3/5]
TEST |
( |
TestFile |
, |
|
|
cannotReadUnknownFile |
|
|
) |
| |
◆ TEST() [4/5]
TEST |
( |
TestFile |
, |
|
|
localCopy |
|
|
) |
| |
◆ TEST() [5/5]
TEST |
( |
TestFile |
, |
|
|
readLocalFile |
|
|
) |
| |
◆ TEST_F() [1/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
bigFiletransfert |
|
|
) |
| |
◆ TEST_F() [2/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
cancelFileTransfer |
|
|
) |
| |
◆ TEST_F() [3/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
filetransfert |
|
|
) |
| |
◆ TEST_F() [4/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
isLocalOrRemote |
|
|
) |
| |
◆ TEST_F() [5/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
readAll |
|
|
) |
| |
◆ TEST_F() [6/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
readAllOnce |
|
|
) |
| |
◆ TEST_F() [7/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
readInTheMiddle |
|
|
) |
| |
◆ TEST_F() [8/8]
TEST_F |
( |
Test_ReadRemoteFile |
, |
|
|
someReading |
|
|
) |
| |