@ -27,6 +27,18 @@ 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					# include  <string.h>  
					 
					 
					 
					# include  <string.h>  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					# include  "weston-test-client-helper.h"  
					 
					 
					 
					# include  "weston-test-client-helper.h"  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					# include  "weston-test-fixture-compositor.h"  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					static  enum  test_result_code  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					fixture_setup ( struct  weston_test_harness  * harness )  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					{  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
						struct  compositor_setup  setup ;   
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
						compositor_setup_defaults ( & setup ) ;   
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
						return  weston_test_harness_execute_as_client ( harness ,  & setup ) ;   
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					}  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 
					 
					 
					 
					DECLARE_FIXTURE_SETUP ( fixture_setup ) ;  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					/**
  
					 
					 
					 
					/**
  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 *  Test  ( un ) plugging  devices   
					 
					 
					 
					 *  Test  ( un ) plugging  devices   
				
			 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
							 
						
					 
					 
					@ -40,8 +52,6 @@ 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
									WL_SEAT_CAPABILITY_POINTER   | \
  
					 
					 
					 
									WL_SEAT_CAPABILITY_POINTER   | \
  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
									WL_SEAT_CAPABILITY_TOUCH )   
					 
					 
					 
									WL_SEAT_CAPABILITY_TOUCH )   
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					char  * server_parameters  =  " --shell=weston-test-desktop-shell.so " ;  
					 
					 
					 
					 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					/* simply test if weston sends the right capabilities when
  
					 
					 
					 
					/* simply test if weston sends the right capabilities when
  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					 *  some  devices  are  removed  */   
					 
					 
					 
					 *  some  devices  are  removed  */   
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					TEST ( seat_capabilities_test )  
					 
					 
					 
					TEST ( seat_capabilities_test )