aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-unit-tests
Commit message (Collapse)AuthorAgeFilesLines
* Added support for system level linux loggingJiri Vanek2014-01-201-3/+39
|
* Fixed memory leak detector to correctly handle pre_init_messages queue.Jiri Vanek2014-01-151-0/+2
|
* 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
|
* Back out changeset 420d72e5cee7Andrew Azores2013-10-171-7/+8
| | | | | | | | | | | Back out changeset 420d72e5cee7 due to breaking LiveConnect feature. http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-October/024919.html * plugin/icedteanp/IcedTeaNPPlugin.cc: undo 420d72e5cee7 * plugin/icedteanp/IcedTeaPluginUtils.cc: undo 420d72e5cee7 * plugin/icedteanp/IcedTeaPluginUtils.h: undo 420d72e5cee7 * plugin/icedteanp/IcedTeaScriptablePluginObject.cc: undo 420d72e5cee7 * plugin/icedteanp/IcedTeaScriptablePluginObject.h: undo 420d72e5cee7 * tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: undo 420d72e5cee7
* Do not wait for applet initialization when binding Java applets for NPAPI.Adam Domurad2013-08-271-8/+7
|
* Spawn Java side during C++ unit tests. Many new tests.Adam Domurad2013-08-2311-23/+731
|
* Fix many memory leaks due to utf8fromidentifier misuseAdam Domurad2013-07-302-2/+24
|
* Move 'get_scriptable_java_package_object' and 'get_scriptable_java_object' ↵Adam Domurad2013-06-211-18/+18
| | | | into their correct respective classes.
* More unit tests for scriptable object creation, destructionAdam Domurad2013-06-215-19/+146
|
* Added code to parse properties and to find correct configuration files from ↵Jiri Vanek2013-03-282-0/+565
| | | | c++ part of plugin.
* Clean up NP_Initialize; add more C++ unit testsAdam Domurad2012-12-211-0/+92
|
* C++ unit testing: Add a tracked-allocation implementation of operator-newAdam Domurad2012-12-205-4/+239
| | | | | Two tests that catch memory leaks are also added. For the purposes of verifying the patch works, the fix is in a separate changeset.
* Remove redundant HTML-tag scanner from ITW. Do not reconstruct tags.Adam Domurad2012-12-042-1/+94
|
* Refactor IcedTeaPluginUtilities::javaResultToNPVariant into multiple functionsAdam Domurad2012-11-301-0/+36
|
* C++ unit testing: Simple mocking of browser-table functionsAdam Domurad2012-11-303-2/+141
|
* Unit test integration for UnitTest++ with icedtea-webAdam Domurad2012-11-212-0/+153