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

 
 
Latest News
Message delivery to GUI posted by jkraehemann, Sat 09 Dec 2017 04:31:47 PM UTC - 0 replies
Refactoring the notation editor posted by jkraehemann, Thu 07 Dec 2017 10:29:21 PM UTC - 0 replies
Potential dead-lock due to libags-audio callbacks to UI posted by jkraehemann, Fri 17 Nov 2017 08:47:59 AM UTC - 0 replies
Better support for Apple MacOS X High Sierra posted by jkraehemann, Tue 14 Nov 2017 11:55:02 PM UTC - 0 replies
GSequencer 1.2.x goals posted by jkraehemann, Wed 18 Oct 2017 08:27:54 PM UTC - 0 replies
[Submit News]
[45 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

Comments:

No messages in Facts matter - no more magic

 

Back to the top


Powered by Savane 3.1-cleanup1