Skip to content
Snippets Groups Projects
  1. Apr 13, 2015
    • Arseny Kapoulkine's avatar
      Permit custom allocation function to throw · f04b56e1
      Arseny Kapoulkine authored
      Ensure that all the necessary cleanup is performed in case the allocation fails
      with an exception - files are closed, buffers are reclaimed, etc.
      
      Any test that triggers a simulated out-of-memory condition is ran once again
      with a throwing allocation function. Unobserved std::bad_alloc count as test
      failures and require CHECK_ALLOC_FAIL macro.
      
      Fixes #17.
      f04b56e1
    • Arseny Kapoulkine's avatar
      tests: Add more out of memory tests · 5edeaf67
      Arseny Kapoulkine authored
      Also add tests that verify save_file for absence of FILE leaks.
      5edeaf67
  2. Apr 12, 2015
  3. Apr 11, 2015
  4. Mar 25, 2015
  5. Mar 24, 2015
  6. Mar 22, 2015
Loading