예제 #1
0
파일: Debug.cpp 프로젝트: E-LLP/rippled
 void run ()
 {
     log << "_DEBUG              = " << envDebug ();
     log << "BEAST_DEBUG         = " << beastDebug ();
     log << "BEAST_FORCE_DEBUG   = " << beastForceDebug ();
     log << "sizeof(std::size_t) = " << sizeof(std::size_t);
     pass ();
 }
예제 #2
0
파일: Debug.cpp 프로젝트: 12w21/rippled
    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 ();
    }
예제 #3
0
파일: Debug.cpp 프로젝트: BobWay/rippled
    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 ();
    }