Robin Gareus
dc36b063bf
remove unused fstream includes
2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Robin Gareus
8e8f8d92c2
allow to run unit-test under wine from srcdir.
2015-09-13 15:30:00 +02:00
Robin Gareus
d84bc9123f
unit-test: set instance name to pre-configure dummy engine
2015-09-05 01:16:10 +02:00
Tim Mayberry
36e4c11a2a
Add utility function to get windows packaging directory to avoid memory leaks
...
There were a few other small leaks in pbd and evoral test code but I didn't
bother changing them. Perhaps this function would be better off in PBD:: so it
can be used everywhere.
2015-08-18 15:10:55 +10:00
Robin Gareus
093df74a9c
update unit-tests (new Dummy backend name since a9b6277)
2015-08-05 20:24:57 +02:00
Tim Mayberry
2a04ff8641
Add TestUI class to properly handle EventLoop invalidation
...
This fixes the programming error: Session RT event... warnings
while running ardour tests
2015-02-15 15:05:22 +10:00
Tim Mayberry
964c04eec5
Move TestReceiver class in libardour tests into own header file
2015-02-15 13:48:53 +10:00
Tim Mayberry
d9b4c6be6a
Add a few test util functions and refactor existing test code
2015-02-15 12:53:41 +10:00
Robin Gareus
724febc82c
remove superfluous PBD/ARDOUR:: init calls
...
this reverts 339670b
2014-12-09 19:41:53 +01:00
Robin Gareus
cf3faf1b42
fix "expected" <> "actual" semantics in test-util
2014-12-05 18:32:16 +01:00
Robin Gareus
40087eb378
Test: print assert message if XML property mismatch
2014-12-03 23:27:14 +01:00
Robin Gareus
339670b6fa
Tests: ensure that libardour is initialized
2014-12-03 20:45:01 +01:00
Robin Gareus
d45e19eda5
fix test segfault
...
whe XMLTree goes out of scope, the root-node is deleted
2014-12-03 16:03:57 +01:00
Robin Gareus
0d677f70b4
use Dummy backend for tests
2014-12-03 16:03:19 +01:00
Tim Mayberry
929fc3d235
Use PBD::tmp_writable_directory in libardour test_util.cc
2014-12-03 17:31:04 +07:00
Tim Mayberry
f1b66b86b4
Move libardour test utility code into one source file
2014-12-03 17:31:04 +07:00
Tim Mayberry
a0b9751866
Fix ardour tests to work with new AudioEngine/Backends changes
2013-10-11 22:36:19 +10:00
Tim Mayberry
b91fa19fe7
return bool in test util function to check writing xml to file is successful
2013-10-11 22:36:19 +10:00
Carl Hetherington
9d74f6ece9
Simple arrangement to run basic load tests on a corpus
...
of sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:40 +00:00
Carl Hetherington
20ceeb6d3e
Do XML comparisons better in tests.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:12 +00:00
Carl Hetherington
8fc866309f
Resurrect profiling code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:11 +00:00
Carl Hetherington
5ac22e9095
Add new SharedStatefulProperty which manages a shared_ptr to
...
some Stateful object, and a subclass to use this for
AutomationList. SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.
git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 17:20:10 +00:00