mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	| @@ -62,6 +62,15 @@ TEST_CASE("Filtering") { | ||||
|       "null", | ||||
|       0 | ||||
|     }, | ||||
|     { | ||||
|       // Member is a string, but filter wants an array | ||||
|       "{\"example\":\"example\"}", | ||||
|       "{\"example\":[true]}", | ||||
|       10, | ||||
|       DeserializationError::Ok, | ||||
|       "{\"example\":null}", | ||||
|       JSON_OBJECT_SIZE(1) + 8 | ||||
|     }, | ||||
|     { | ||||
|       // Input is an array, but filter wants an object | ||||
|       "[\"hello\",\"world\"]", | ||||
|   | ||||
| @@ -8,6 +8,7 @@ add_executable(MsgPackDeserializerTests | ||||
| 	deserializeStaticVariant.cpp | ||||
| 	deserializeVariant.cpp | ||||
| 	doubleToFloat.cpp | ||||
| 	filter.cpp | ||||
| 	incompleteInput.cpp | ||||
| 	input_types.cpp | ||||
| 	misc.cpp | ||||
|   | ||||
							
								
								
									
										1119
									
								
								extras/tests/MsgPackDeserializer/filter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1119
									
								
								extras/tests/MsgPackDeserializer/filter.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user