mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Cover protocol stack RTMP. 3.0.63
This commit is contained in:
		
							parent
							
								
									8c214dc967
								
							
						
					
					
						commit
						a726a14b37
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -175,3 +175,13 @@ VOID TEST(ProtoStackTest, ManualFlush)
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VOID TEST(ProtoStackTest, SendZeroMessages)
 | 
			
		||||
{
 | 
			
		||||
    srs_error_t err;
 | 
			
		||||
    if (true) {
 | 
			
		||||
        MockBufferIO io;
 | 
			
		||||
        SrsProtocol p(&io);
 | 
			
		||||
        HELPER_EXPECT_SUCCESS(p.send_and_free_message(NULL, 0));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue