Small changes

This commit is contained in:
IlushaShurupov 2023-07-22 20:32:03 +03:00
parent e9dbee6667
commit 7595ae3926
7 changed files with 131 additions and 79 deletions

View file

@ -11,14 +11,14 @@ TEST_DEF_STATIC(Simple) {
{
LocalConnection file;
file.connect(LocalConnectionLocation(String("tmp2.txt")), LocalConnectionType(false));
file.connect(LocalConnection::Location(String("tmp2.txt")), LocalConnection::Type(false));
file.writeBytes(data, 6);
file.disconnect();
}
{
LocalConnection file;
file.connect(LocalConnectionLocation(String("tmp2.txt")), LocalConnectionType(true));
file.connect(LocalConnection::Location(String("tmp2.txt")), LocalConnection::Type(true));
file.readBytes(dataRead, 6);
file.disconnect();
}