projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Appendix log for ttrace
[platform/core/uifw/dali-adaptor.git]
/
automated-tests
/
src
/
dali-adaptor
/
dali-test-suite-utils
/
test-application.cpp
diff --git
a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-application.cpp
b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-application.cpp
index
873b7b3
..
a8354e8
100644
(file)
--- a/
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-application.cpp
+++ b/
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-application.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 202
2
Samsung Electronics Co., Ltd.
+ * Copyright (c) 202
3
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-99,15
+99,15
@@
TestApplication::~TestApplication()
delete mCore;
}
delete mCore;
}
-void TestApplication::LogContext(bool start, const char* tag)
+void TestApplication::LogContext(bool start, const char* tag
, const char* message
)
{
if(start)
{
{
if(start)
{
- fprintf(stderr, "INFO: Trace Start: %s
\n", tag
);
+ fprintf(stderr, "INFO: Trace Start: %s
%s\n", tag, message ? message : ""
);
}
else
{
}
else
{
- fprintf(stderr, "INFO: Trace End: %s
\n", tag
);
+ fprintf(stderr, "INFO: Trace End: %s
%s\n", tag, message ? message : ""
);
}
}
}
}
@@
-117,13
+117,16
@@
void TestApplication::LogMessage(Dali::Integration::Log::DebugPriority level, st
{
switch(level)
{
{
switch(level)
{
- case Dali::Integration::Log::DebugInfo:
+ case Dali::Integration::Log::DEBUG:
+ fprintf(stderr, "DEBUG: %s", message.c_str());
+ break;
+ case Dali::Integration::Log::INFO:
fprintf(stderr, "INFO: %s", message.c_str());
break;
fprintf(stderr, "INFO: %s", message.c_str());
break;
- case Dali::Integration::Log::
DebugWarning
:
+ case Dali::Integration::Log::
WARNING
:
fprintf(stderr, "WARN: %s", message.c_str());
break;
fprintf(stderr, "WARN: %s", message.c_str());
break;
- case Dali::Integration::Log::
DebugError
:
+ case Dali::Integration::Log::
ERROR
:
fprintf(stderr, "ERROR: %s", message.c_str());
break;
default:
fprintf(stderr, "ERROR: %s", message.c_str());
break;
default: