Jonathan Thomas
31566a192a
Protection for ClearAllCache method, to prevent messing with closed clips. Added a multi-threaded unit tests for Timeline::GetFrame access - to verify nothing crashes.
2022-10-13 00:01:03 -05:00
Jonathan Thomas
934ca786ed
Adding new Clear() method to Timeline, to delete all allocated clips, effects, and frame mapeprs (freeing memory). Also, keep track of allocated clips and effects on timeline (when using SetJson to create them), so we can clean them up correctly on Clear() or RemoveClip()/RemoveEffect(). Added new test case for Clear().
2022-10-06 15:07:31 -05:00
Jonathan Thomas
d093004dcf
Fixing timeline tests. Recent FrameMapper bug fixes changed the mapping slightly, for certain tests
2022-07-21 10:07:34 -05:00
FeRD (Frank Dana)
677ed5f591
Tests: Switch test files to openshot_catch.h
2022-06-17 15:37:51 -04:00
Frank Dana
b9833b71ab
Merge pull request #687 from ferdnyc/timeline-inheritance
...
Fix inheritance of TimelineBase::Clips(), and add unit test
2021-10-24 02:19:19 -04:00
Frank Dana
59138ea3e4
Adopt license management via Reuse project/tool ( #711 )
...
* reuse-managed license/copyright headers
reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/ > for more information, and
<https://reuse.readthedocs.io/ > for the online documentation.
* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
- Add headers to source files
- Change blanket licensing in .reuse/dep5 to only cover binary media
- Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
FeRD (Frank Dana)
cd12edac5a
tests/Timeline: Test TimelineBase::Clips()
2021-06-10 08:17:26 -04:00
FeRD (Frank Dana)
2255852483
Merge branch 'develop' into catch-tests
2021-04-09 06:30:38 -04:00
FeRD (Frank Dana)
d9775d4a5e
Port unit tests to Catch2
2021-04-09 04:09:36 -04:00
FeRD (Frank Dana)
c68b16643e
Rename tests/*_Tests.cpp to tests/*.cpp
2021-04-07 23:41:04 -04:00