Daniel Zaoui
7337672562
Compare the shots directly after the test to speed up
...
The problem that we try to solve is the time taken to compare the shots after
all the scenarios have been run.
Now, comparing the shots sequentially is done right after the test
finished to run. With -j 1, it won't change anything. With more CPUs, it
will compare while other tests are running, i.e when the CPU is not too
much busy.
6 years ago
Daniel Zaoui
a1341ac74c
Fix Valgrind issue
...
It was complaining of an invalid read size because it was accessing
bytes after the pixels buffer.
6 years ago
Daniel Zaoui
667171d1d9
Player: improve the stabilization mechanism
...
The goal is to support applications where editable entries are used.
The problem is the text cursor that, even if we disable its animation
through the theme overlay, triggers the render post event, which breaks
all the previous method used to detect stability.
Now, every 100ms, we compare the current canvas image with the previous
saved shot.
6 years ago
Daniel Zaoui
8eafc850bc
Player: don't play actions after the last shot
...
There is no good reason to play these actions, as no comparison is made
after.
6 years ago
Daniel Zaoui
f12aa93376
Inspect: permit stabilization action appending via command line
6 years ago
Daniel Zaoui
3457071db1
Recorder: support stabilization via hotkey
6 years ago
Daniel Zaoui
f56ee0dfac
Suite: replace the compare method
...
Instead of using ImageMagick, we now use an internal function.
6 years ago
Daniel Zaoui
53a52a3419
Suite: support exu files comparison
6 years ago
Daniel Zaoui
1f063e3715
Suite: support multiple base directories
...
It is needed if, for example, rec and exu files are not stored in the
same place while an unique tests file is used.
6 years ago
Daniel Zaoui
d049f0cc2c
Player: make the screenshot retrieval asynchronous
6 years ago
Daniel Zaoui
637285018f
Player: overlay the default theme to disable the text cursor
...
The text cursor creates noise during the shots, as it is an animation.
In order to solve the issue, the theme is overlayed to hide the cursor.
Most of the entry edc file must be overlayed (and not only the cursor
group) because of the internal way edje_cc compiles the theme (kind of
static link).
6 years ago
Daniel Zaoui
f3c1cd693d
Player: begin actions feeding after the first canvas is created
6 years ago
Daniel Zaoui
6489ac6142
Player: support screenshots disabling
6 years ago
Daniel Zaoui
7c47c57383
Isolate legacy code
...
Only the legacy file read function needs to be public. The H file is not
needed anymore.
6 years ago
Daniel Zaoui
1396549299
Remove old recorder and player
6 years ago
Daniel Zaoui
72d998943f
Remove unused file (common.c)
6 years ago
Daniel Zaoui
8f9e553d20
Exactness: add the stabilize action to the scenario
...
This action is needed when the time for the frames to be stable is not
known.
6 years ago
Daniel Zaoui
ca185b925a
Support of EFL event invocations on named widgets
...
A new action has been added, permitting the invocation of EFL events on
named widgets.
The name must be set via efl_name_set.
6 years ago
Daniel Zaoui
cdb033bcbc
Install Exactness.h and create library for unit access
6 years ago
Daniel Zaoui
4373f25dc1
Update ignored files
6 years ago
Daniel Zaoui
2858adbd8d
Store delays instead of timestamps in the scenario
6 years ago
Daniel Zaoui
9c3fe1b118
Introduce a remote actions injection mechanism
...
By executing an application under the player (option
--external-injection), actions can be remotely forwarded.
The communication is done via Eina Debug channel. Therefore, efl_debugd
must be run before the application.
An injection tool has been implemented to show how to communicate with
the application.
6 years ago
Daniel Zaoui
0c30b92bc6
Fix crash when no scenario is present on one side
6 years ago
Daniel Zaoui
dc891a41e1
Refactor structures and make them public
...
The exu doesn't contain the old scenario entries (Variant_st) but the new
(Exactness_Action).
The recorder doesn't create old rec file but only exu.
The player/inspector support rec files by converting them to the new
format internally.
The structures have been tried to be simpler.
6 years ago
Daniel Zaoui
ffe0659fbe
Inspect: support images displaying from shot entry
...
A button has been added next to the shot entry. The image itself is set
as the its content.
6 years ago
Daniel Zaoui
c3a31c436d
Inspect: add --show-only-diffs option
...
It works only with --compare and in the GUI.
6 years ago
Daniel Zaoui
44cc8381bf
Inspect: colorize differences
6 years ago
Daniel Zaoui
56cfef5694
Inspect: add objects information comparison
...
Genlists management needed to be modified to fit this new feature
6 years ago
Daniel Zaoui
fbd75a4356
Add objects information support
6 years ago
Daniel Zaoui
1497fa7336
Recorder: port args to Ecore GetOpt
6 years ago
Daniel Zaoui
a74cc726f0
Player: port args to Ecore GetOpt
6 years ago
Daniel Zaoui
a62f3906e7
Fix images EET handling by using correct APIs
6 years ago
Daniel Zaoui
8882a38cdb
Fix EET description of images
6 years ago
Daniel Zaoui
d589c93764
Recorder: support exu
6 years ago
Daniel Zaoui
e71334118b
Inspect: rename groups names
6 years ago
Daniel Zaoui
5da255c3e8
Inspect: fix timestamps printing
6 years ago
Daniel Zaoui
1086aa6885
Player: support exu as source
6 years ago
Daniel Zaoui
5555a38c1e
Support exu file for Exactness
...
The exu is a EET file for Exactness (Exactness Unit). It currently
contains the scenario and the images shots.
exactness_inspect supports it, as well as the player (only as output).
6 years ago
Daniel Zaoui
3dd58276a2
Add EET for new Exactness data types
6 years ago
Daniel Zaoui
bea26c676e
Inspect: introduce a scenario visualizer and compare tool
...
This replaces the existing exactness_helper. A GUI has been added:
- Compare images
- Compare scenarios
6 years ago
Daniel Zaoui
db747c49a9
Disable PRELOAD libs compilation
6 years ago
Daniel Zaoui
3bcd6bb4de
Replace preload invocation with exactness_play
6 years ago
Daniel Zaoui
e4ac42a7b1
Refactor exactness binary
...
As all the file have been merged, code cleaning is necessary. In
addition, some structures have been removed.
6 years ago
Daniel Zaoui
83e34fec36
Merge all the source files of exactness binary
...
It will be easier to refactor everything after that
6 years ago
Daniel Zaoui
76a433273e
Introduce a new recorder not using LD_PRELOAD
6 years ago
Daniel Zaoui
7a4e7f2e55
Introduce a new player not using LD_PRELOAD
...
To make Exactness portable, LD_PRELOAD needs to be replaced by other
mechanisms.
6 years ago
Daniel Zaoui
7c10de63e3
Support adding delay to a specific shot in the scenario
...
It helps when a shot is not stable and need a few ms more to be ok.
6 years ago
Daniel Zaoui
c83ed3fabb
Fix preload after removal of ecore_main_loop_begin
...
Since this function doesn't exist anymore, we need to catch the loop
begin in a different way.
6 years ago
Daniel Zaoui
09dc7c8353
Update code after EFL changes
6 years ago
Daniel Zaoui
62298eb8ff
Check evas validity before invocations
7 years ago