#include <string>
#include <dpl/test/test_runner.h>
#include <InstallerWrapper.h>
+#include <tzplatform_config.h>
#include <fstream>
using namespace InstallerWrapper;
"Failed to install widget");
// Creating a file
- std::string filePath = "/opt/usr/apps/HAdisUJ4Kn/data/test";
+ std::string filePath = tzplatform_mkpath(TZ_USER_APP,"HAdisUJ4Kn/data/test");
std::string text = "slonce swieci dzisiaj wyjatkowo wysoko";
std::string command = "echo " + text + " > " + filePath;
system(command.c_str());