diff options
author | Adam Domurad <[email protected]> | 2012-12-20 11:28:28 -0500 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2012-12-20 11:28:28 -0500 |
commit | 04a95e4790705edd9d0997db94176dc19f326729 (patch) | |
tree | 2cae4c4bdab8d8a81f4ff2f19b0363afa0a95b55 /ChangeLog | |
parent | a0b5dd482361349be15b1787103eda7930e59adb (diff) |
C++ unit testing: Add a tracked-allocation implementation of operator-new
Two tests that catch memory leaks are also added.
For the purposes of verifying the patch works, the fix is in a separate changeset.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -1,4 +1,19 @@ -2012-12-18 Jiri Vanek <[email protected]> +2012-12-20 Adam Domurad <[email protected]> + + * tests/cpp-unit-tests/browser_mock.cc + (mock_retainobject): New, mocks behaviour of NPAPI retainobject + (mock_releaseobject): New, mocks behaviour of NPAPI releaseobject + * tests/cpp-unit-tests/main.cc: Add warning of memory leak based on + operator-new. + * tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: New, tests + for memory leak in (IcedTeaScriptableJavaObject::deAllocate) and + (IcedTeaScriptableJavaPackageObject::deAllocate) + * tests/cpp-unit-tests/checked_allocations.h: Defines set that does not + use operator-new, to prevent recursion in overloaded operator-new + * tests/cpp-unit-tests/checked_allocations.cc: Operator new overload + that has allocation-set for querying live allocations. + +2012-12-20 Jiri Vanek <[email protected]> Added and applied Remote annotation, added Remote tests: * tests/report-styles/jreport.xsl: and @@ -13,9 +28,7 @@ launcher for remote tests. * tests/test-extensions/net/sourceforge/jnlp/annotations/Remote.java: Implementation of Remote annotation - - 2012-12-18 Jiri Vanek <[email protected]> Cleaned unit-tests: |