mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	connection-test: Add more test cases
This commit is contained in:
		
							parent
							
								
									33ad8a3315
								
							
						
					
					
						commit
						fa4769cadd
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -364,6 +364,14 @@ TEST(connection_marshal_demarshal)
 | 
			
		|||
 | 
			
		||||
	setup_marshal_data(&data);
 | 
			
		||||
 | 
			
		||||
	data.value.u = 889911;
 | 
			
		||||
	marshal_demarshal(&data, (void *) validate_demarshal_u,
 | 
			
		||||
			  12, "u", data.value.u);
 | 
			
		||||
 | 
			
		||||
	data.value.i = -13;
 | 
			
		||||
	marshal_demarshal(&data, (void *) validate_demarshal_i,
 | 
			
		||||
			  12, "i", data.value.i);
 | 
			
		||||
 | 
			
		||||
	data.value.s = "cookie robots";
 | 
			
		||||
	marshal_demarshal(&data, (void *) validate_demarshal_s,
 | 
			
		||||
			  28, "s", data.value.s);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue