Exemplo n.º 1
0
 void run ()
 {
     log << "_DEBUG              = " << envDebug ();
     log << "BEAST_DEBUG         = " << beastDebug ();
     log << "BEAST_FORCE_DEBUG   = " << beastForceDebug ();
     log << "sizeof(std::size_t) = " << sizeof(std::size_t);
     pass ();
 }
Exemplo n.º 2
0
    void runTest ()
    {
        beginTestCase ("diagnostics");

        logMessage ("operatingSystemName              = '" + SystemStats::getOperatingSystemName () + "'");
        logMessage ("_DEBUG                           = " + String::fromNumber (envDebug ()));
        logMessage ("BEAST_DEBUG                      = " + String::fromNumber (beastDebug ()));
        logMessage ("BEAST_FORCE_DEBUG                = " + String::fromNumber (beastForceDebug ()));
        logMessage ("sizeof(std::size_t)              = " + String::fromNumber (sizeof(std::size_t)));
        bassertfalse;

        fail ();
    }
Exemplo n.º 3
0
    void run ()
    {
        log <<
            "_DEBUG                           = " <<
            String::fromNumber (envDebug ());
        
        log <<
            "BEAST_DEBUG                      = " <<
            String::fromNumber (beastDebug ());

        log <<
            "BEAST_FORCE_DEBUG                = " <<
            String::fromNumber (beastForceDebug ());

        log <<
            "sizeof(std::size_t)              = " <<
            String::fromNumber (sizeof(std::size_t));

        bassertfalse;

        fail ();
    }