⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ppc_test.cpp

📁 浙江大学的悟空嵌入式系统模拟器
💻 CPP
字号:
///==================================================
/**
 * @file        PPC_Test.cpp
 * @brief      
 * @author      Chenfeng Zhou <ini_autumn@163.com> 
 *
 * Created    : <2005-02-24 16:01:44 by Cheney Chow>
 * Last update: <2005-02-24 16:06:46 by Cheney Chow>
 */
///==================================================


#include "Global.h"
#include "Integer.h"
#include "Utils.h"

Core::Module *g_loader = NULL;



int main (int argc, char *argv[]) 
{
	PRE_ROUTINE();

    // Get the top level suite from the registry
	CppUnit::Test *suite = CppUnit::TestFactoryRegistry::getRegistry().makeTest();

    // Adds the test to the list of test to run
	CppUnit::TextUi::TestRunner runner;
	runner.addTest( suite );

    // Change the default outputter to a compiler error format outputter
	runner.setOutputter( new CppUnit::CompilerOutputter( &runner.result(),
                                                         std::cerr ) );
    // Run the tests.
	bool wasSucessful = runner.run();

    // Return error code 1 if the one of test failed.
	return wasSucessful ? 0 : 1;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -