[PATCH v2 wayland 5/5] test: remove test attribute for 'since' parsing

Peter Hutterer peter.hutterer at who-t.net
Thu Jan 12 00:13:31 UTC 2017


Now that we have the wheel tilt with a since attribute, we don't need a
separate test attribute anymore. Remove it to avoid confusion and make syncing
the protocol easier in the future.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
Changes to v1:
- new in this series

 tests/data/example-client.h | 9 ---------
 tests/data/example-server.h | 9 ---------
 tests/data/example.xml      | 2 --
 3 files changed, 20 deletions(-)

diff --git a/tests/data/example-client.h b/tests/data/example-client.h
index 56f9bfe..c40e361 100644
--- a/tests/data/example-client.h
+++ b/tests/data/example-client.h
@@ -1778,16 +1778,7 @@ enum wl_data_offer_error {
 	 * offer doesn't accept this request
 	 */
 	WL_DATA_OFFER_ERROR_INVALID_OFFER = 3,
-	/**
-	 * test 'since' attribute parsing
-	 * @since 3
-	 */
-	WL_DATA_OFFER_ERROR_TEST_SINCE = 4,
 };
-/**
- * @ingroup iface_wl_data_offer
- */
-#define WL_DATA_OFFER_ERROR_TEST_SINCE_SINCE_VERSION 3
 #endif /* WL_DATA_OFFER_ERROR_ENUM */
 
 /**
diff --git a/tests/data/example-server.h b/tests/data/example-server.h
index 56cc83f..adfc973 100644
--- a/tests/data/example-server.h
+++ b/tests/data/example-server.h
@@ -1469,16 +1469,7 @@ enum wl_data_offer_error {
 	 * offer doesn't accept this request
 	 */
 	WL_DATA_OFFER_ERROR_INVALID_OFFER = 3,
-	/**
-	 * test 'since' attribute parsing
-	 * @since 3
-	 */
-	WL_DATA_OFFER_ERROR_TEST_SINCE = 4,
 };
-/**
- * @ingroup iface_wl_data_offer
- */
-#define WL_DATA_OFFER_ERROR_TEST_SINCE_SINCE_VERSION 3
 #endif /* WL_DATA_OFFER_ERROR_ENUM */
 
 /**
diff --git a/tests/data/example.xml b/tests/data/example.xml
index dc625b9..29b63be 100644
--- a/tests/data/example.xml
+++ b/tests/data/example.xml
@@ -427,8 +427,6 @@
 	     summary="action argument has an invalid value"/>
       <entry name="invalid_offer" value="3"
 	     summary="offer doesn't accept this request"/>
-      <entry name="test_since" value="4"
-	     summary="test 'since' attribute parsing" since="3"/>
     </enum>
 
     <request name="accept">
-- 
2.9.3



More information about the wayland-devel mailing list