#include <base/Application.h>
#include <base/concurrency/Process.h>
#include <base/filesystem/FileSystem.h>
#include <base/TypeInfo.h>
#include <base/security/User.h>
using namespace com::azure::dev::base;
private:
static const unsigned int MAJOR_VERSION = 1;
static const unsigned int MINOR_VERSION = 0;
public:
QuotaApplication()
{
}
void main()
{
fout << getFormalName() << " version "
<< MAJOR_VERSION << '.' << MINOR_VERSION << EOL
<< "The Base Framework (Test Suite)" << EOL
<< ENDL;
fout <<
"User: " << user.
getName() << ENDL;
fout << "Home: " << home << ENDL;
try {
ferr << "Error: " << e << ENDL;
setExitCode(EXIT_CODE_ERROR);
return;
}
fout <<
"Hard limit: " << quota.
hardLimit << EOL
}
};
APPLICATION_STUB(QuotaApplication);