[DEV] base test

This commit is contained in:
Edouard DUPIN 2013-11-13 21:31:16 +01:00
parent 064d970a07
commit c265cd90ca
5 changed files with 12 additions and 12 deletions

View File

@ -42,7 +42,7 @@ static const char * l_eventChangeImageToggle = "event-change-image-toggle";
TestButton::TestButton(void) :
widget::Sizer(widget::Sizer::modeVert),
m_testWidget(NULL) {
APPL_CRITICAL("Create "__class__" (start)");
APPL_CRITICAL("Create " __class__ " (start)");
widget::Sizer* mySizerVert2 = NULL;
widget::Sizer* mySizerHori = NULL;
widget::Button* myButton = NULL;
@ -171,12 +171,12 @@ TestButton::TestButton(void) :
mySpacer->setColor(0x00FFFF80);
subWidgetAdd(mySpacer);
}
APPL_INFO("Create "__class__" (end)");
APPL_INFO("Create " __class__ " (end)");
}
TestButton::~TestButton(void) {
APPL_INFO("Remove "__class__" ...");
APPL_INFO("Remove " __class__ " ...");
}

View File

@ -36,7 +36,7 @@ static const char * l_eventChangeFillY = "event-change-fill-Y";
TestButtonColor::TestButtonColor(void) :
widget::Sizer(widget::Sizer::modeVert),
m_testWidget(NULL) {
APPL_DEBUG("CREATE "__class__" ... ");
APPL_DEBUG("CREATE " __class__ " ... ");
widget::Sizer* mySizerVert2 = NULL;
widget::Sizer* mySizerHori = NULL;
widget::Button* myButton = NULL;

View File

@ -38,7 +38,7 @@ static const char * l_eventChangeImage = "event-change-image";
TestImage::TestImage(void) :
widget::Sizer(widget::Sizer::modeVert),
m_testWidget(NULL) {
APPL_CRITICAL("Create "__class__" (start)");
APPL_CRITICAL("Create " __class__ " (start)");
widget::Sizer* mySizerVert2 = NULL;
widget::Sizer* mySizerHori = NULL;
widget::Button* myButton = NULL;
@ -145,12 +145,12 @@ TestImage::TestImage(void) :
mySpacer->setColor(0x00FFFF80);
subWidgetAdd(mySpacer);
}
APPL_INFO("Create "__class__" (end)");
APPL_INFO("Create " __class__ " (end)");
}
TestImage::~TestImage(void) {
APPL_INFO("Remove "__class__" ...");
APPL_INFO("Remove " __class__ " ...");
}

View File

@ -38,7 +38,7 @@ static const char * l_eventChangeLabel = "event-change-label";
TestLabel::TestLabel(void) :
widget::Sizer(widget::Sizer::modeVert),
m_labelId(0) {
APPL_DEBUG("CREATE "__class__" ... ");
APPL_DEBUG("CREATE " __class__ " ... ");
widget::Sizer* mySizerVert2 = NULL;
widget::Sizer* mySizerHori = NULL;
widget::Button* myButton = NULL;

View File

@ -37,7 +37,7 @@ int main(int argc, const char *argv[]) {
* @brief main application function Initialisation
*/
bool APP_Init(ewol::eContext& _context) {
APPL_INFO("==> Init "PROJECT_NAME" (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")");
APPL_INFO("==> Init " PROJECT_NAME " (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")");
etk::initDefaultFolder(PROJECT_NAME);
@ -66,7 +66,7 @@ bool APP_Init(ewol::eContext& _context) {
for( int32_t iii=0 ; iii<_context.getCmd().size(); iii++) {
APPL_INFO("parameter [" << iii << "] is \"" << _context.getCmd().get(iii) << "\"");
}
APPL_INFO("==> Init "PROJECT_NAME" (END)");
APPL_INFO("==> Init " PROJECT_NAME " (END)");
return true;
}
@ -77,7 +77,7 @@ bool APP_Init(ewol::eContext& _context) {
* @brief main application function Un-Initialisation
*/
void APP_UnInit(ewol::eContext& _context) {
APPL_INFO("==> Un-Init "PROJECT_NAME" (START)");
APPL_INFO("==> Un-Init " PROJECT_NAME " (START)");
// Get the curent windows
ewol::Windows* tmpWindows = _context.getWindows();
// Remove windows :
@ -87,6 +87,6 @@ void APP_UnInit(ewol::eContext& _context) {
delete(tmpWindows);
tmpWindows = NULL;
}
APPL_INFO("==> Un-Init "PROJECT_NAME" (END)");
APPL_INFO("==> Un-Init " PROJECT_NAME " (END)");
}