<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/src/tests/ref-tests, branch document-button-values</title>
<subtitle>gitlab.gnome.org: GNOME/mutter.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/'/>
<entry>
<title>tests: Add virtual monitor tests</title>
<updated>2021-03-12T15:09:45+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-01-26T16:42:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=51ff51c854176ff52185774f44a1db9cdd75f251'/>
<id>51ff51c854176ff52185774f44a1db9cdd75f251</id>
<content type='text'>
The testing currently done is:

 * Creating a virtual monitor succeeds and gets the right configuration
 * Painting a few times results in the expected output
 * Changing the content of the stage also changes the painted content
   accordingly
 * Destroying the virtual monitor works as expected

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The testing currently done is:

 * Creating a virtual monitor succeeds and gets the right configuration
 * Painting a few times results in the expected output
 * Changing the content of the stage also changes the painted content
   accordingly
 * Destroying the virtual monitor works as expected

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add reference test framework</title>
<updated>2021-03-12T15:09:45+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-01-26T16:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=d7ce6a47f89884d9aa381a6ab7cd85002135f5cf'/>
<id>d7ce6a47f89884d9aa381a6ab7cd85002135f5cf</id>
<content type='text'>
This adds a test framework that makes it possible to compare the result
of painting a view against a reference image. Test reference as PNG
images are stored in src/tests/ref-tests/.

Reference images needs to be created for testing to be able to succeed.
Adding a test reference image is done using the
`MUTTER_REF_TEST_UPDATE` environment variable. See meta-ref-test.c for
details.

The image comparison code is largely based on the reference image test
framework in weston; see meta-ref-test.c for details.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a test framework that makes it possible to compare the result
of painting a view against a reference image. Test reference as PNG
images are stored in src/tests/ref-tests/.

Reference images needs to be created for testing to be able to succeed.
Adding a test reference image is done using the
`MUTTER_REF_TEST_UPDATE` environment variable. See meta-ref-test.c for
details.

The image comparison code is largely based on the reference image test
framework in weston; see meta-ref-test.c for details.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698&gt;
</pre>
</div>
</content>
</entry>
</feed>
