[PATCH wayland-web] testing: update references to button test
Matheus Santana
embs at cin.ufpe.br
Tue Jun 26 17:20:53 UTC 2018
button-test was moved to pointer-test.
Signed-off-by: Matheus Santana <embs at cin.ufpe.br>
---
testing.html | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/testing.html b/testing.html
index e5781fe..987e888 100644
--- a/testing.html
+++ b/testing.html
@@ -90,7 +90,7 @@ test "float_difference_same":exit status 0, pass.
using the <code>tests/weston-tests-env</code> shell script, which you can
use to run individual tests, thusly:</p>
<pre>
-$ abs_builddir=$PWD tests/weston-tests-env button.weston
+$ abs_builddir=$PWD tests/weston-tests-env pointer.weston
</pre>
<h3>Test Results</h3>
@@ -103,17 +103,17 @@ server and another for the test itself.
Example output:
</p>
<pre>
-test-client: got global pointer 100 100
-test-client: got keyboard keymap
-test-client: got surface enter output 0x202d600
+$ tail logs/pointer-log.txt
test-client: got keyboard modifiers 0 0 0 0
-test-client: got pointer enter 0 0, surface 0x202d500
-test-client: got pointer motion 50 50
-test-client: got global pointer 150 150
-test-client: got pointer button 272 1
-test-client: got pointer button 272 0
-test "simple_button_test":exit status 0, pass.
-1 tests, 1 pass, 0 skip, 0 fail
+test-client: got pointer enter 0 0, surface 0x55c836a14500
+test-client: got pointer frame
+test-client: got pointer motion 0 0
+test-client: got global pointer 46 76
+test-client: got pointer leave, surface 0x55c836a14500
+test-client: got pointer frame
+test-client: got global pointer 45 75
+test "test_pointer_top_left": exit status 0, pass.
+14 tests, 14 pass, 0 skip, 0 fail
</pre>
<h3>Writing Tests</h3>
@@ -181,7 +181,7 @@ for interacting with the compositor (e.g. emit input events, query surface data,
There is also a client helper API (tests/weston-test-client-helper.h,c), that
simplifies client setup and wl_test interface usage. Probably the most effective
way to learn how to leverage these API's is to study some of the existing tests
-(e.g. tests/button-test.c).
+(e.g. tests/pointer-test.c).
</p>
</body>
--
2.1.4
More information about the wayland-devel
mailing list