newsAdvanced Gtk+ Sequencer - News: Facts matter - no more magic

 
 
Latest News
GSequencer v2.0.0 beta - scheduled pre-release in 2 weeks posted by jkraehemann, Mon 13 Aug 2018 08:23:56 PM UTC - 0 replies
revising libags_audio.so completed posted by jkraehemann, Wed 18 Jul 2018 06:31:46 PM UTC - 0 replies
It was never so easy ... posted by jkraehemann, Wed 16 May 2018 09:57:42 PM UTC - 0 replies
AgsSoundContainer and AgsSoundResource interfaces posted by jkraehemann, Mon 07 May 2018 03:48:09 PM UTC - 0 replies
Refactored key c source files posted by jkraehemann, Thu 19 Apr 2018 06:49:50 PM UTC - 0 replies
[Submit News]
[61 news in archive]

Facts matter - no more magic

Item posted by Joël Krähemann <jkraehemann> on Fri 31 Mar 2017 11:01:19 PM UTC.

Functional testing is mandatory in order to ensure the robustness of your application. GSequencer has got recently a basic functional test setup.

#include <ags/test/X/ags_functional_test_util.h> does mainly the job. It shall give you full automated testing control over Advanced Gtk+ Sequencer. The very first functional test using it is ags_functional_machine_add_and_destroy_test.c

It does for each built-in machine add it and destroy. This happens by calling g_signal_emit_by_name() and alike. Below you see the output of running within valgrind. If you ever tried to debug a GUI within valgrind, you know that can be quiet annoying. As the GUI's reaction is very slow.

Fixed memory corruption

The benefits are evident of functional testing. Just figured out a memory corruption as destroying AgsFFPlayer. There was some other wicked things going on. I was able to trigger SIGTRAP by calling following during the start of the test.

For now, the functional testing is going to be extended.

Bests,
Joël

No messages in Facts matter - no more magic

 

Back to the top


Powered by Savane 3.3