aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Added support for system level linux loggingJiri Vanek2014-01-201-3/+39
|
* Enabled file logging in plugin, user enabled to choose logs dirJiri Vanek2013-11-291-0/+12
|
* Plugin debug can now be controlled from itw_settings, in same way java side. ↵Jiri Vanek2013-10-251-2/+28
| | | | | | | | | | For now ICEDTEAPLUGIN_DEBUG on the debug in same way as deployment.log itw-settings property. Individual logging streams are controlled by deployment.log.{headers,file,stdstreams,system} System and file are not yet fully done (same as java side in this moment). Streams are true, all others false by default. * plugin/icedteanp/IcedTeaNPPlugin.cc: initialized variables new bool variables (debug_initiated), (plugin_debug_headers), (plugin_debug_to_file), (plugin_debug_to_system) as false and (plugin_debug_to_streams) as true. * plugin/icedteanp/IcedTeaNPPlugin.h: above variables declared as extern * plugin/icedteanp/IcedTeaParseProperties.cc: initialization of (default_file_ITW_deploy_props_name) and (custom_jre_key) moved here from IcedTeaNPPlugin.h. New method (read_bool_property) and its more concrete shortcuts (is_debug_on) (is_debug_header_on) (is_logging_to_file) (is_logging_to_stds) (is_logging_to_system) implemented to access properties. * plugin/icedteanp/IcedTeaParseProperties.h: above methods declared. * plugin/icedteanp/IcedTeaPluginUtils.h: (PLUGIN_{ERROR,DEBUG}) methods adapted headers/debug/streams logic as described in title. Headers made more informative (like java side) * tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on) extended to TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_off).TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off) extended to TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_off), and new testsTEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_on) TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_on) (100x slower then without headers)
* All output messages redirected to PLUGIN_{DEBUG,ERROR} macrosJiri Vanek2013-10-251-0/+62
|
* Spawn Java side during C++ unit tests. Many new tests.Adam Domurad2013-08-231-2/+2
|
* Fix many memory leaks due to utf8fromidentifier misuseAdam Domurad2013-07-301-1/+13
|
* More unit tests for scriptable object creation, destructionAdam Domurad2013-06-211-3/+0
|
* Added code to parse properties and to find correct configuration files from ↵Jiri Vanek2013-03-281-0/+40
| | | | c++ part of plugin.
* Remove redundant HTML-tag scanner from ITW. Do not reconstruct tags.Adam Domurad2012-12-041-1/+1
|
* Refactor IcedTeaPluginUtilities::javaResultToNPVariant into multiple functionsAdam Domurad2012-11-301-0/+36
|
* Unit test integration for UnitTest++ with icedtea-webAdam Domurad2012-11-211-0/+48