Lines Matching refs:FIRST_MESSAGE
168 const FIRST_MESSAGE: &'static [u8] = include_bytes!("../testdata/deframer-test.1.bin"); const
281 input_whole_incremental(&mut d, FIRST_MESSAGE); in check_incremental()
292 input_whole_incremental(&mut d, FIRST_MESSAGE); in check_incremental_2()
307 assert_len(FIRST_MESSAGE.len(), input_bytes(&mut d, FIRST_MESSAGE)); in check_whole()
318 assert_len(FIRST_MESSAGE.len(), input_bytes(&mut d, FIRST_MESSAGE)); in check_whole_2()
330 assert_len(FIRST_MESSAGE.len() + SECOND_MESSAGE.len(), in test_two_in_one_read()
331 input_bytes_concat(&mut d, FIRST_MESSAGE, SECOND_MESSAGE)); in test_two_in_one_read()
342 assert_len(FIRST_MESSAGE.len() + SECOND_MESSAGE.len(), in test_two_in_one_read_shortest_first()
343 input_bytes_concat(&mut d, SECOND_MESSAGE, FIRST_MESSAGE)); in test_two_in_one_read_shortest_first()
353 assert_len(3, input_bytes(&mut d, &FIRST_MESSAGE[..3])); in test_incremental_with_nonfatal_read_error()
355 assert_len(FIRST_MESSAGE.len() - 3, in test_incremental_with_nonfatal_read_error()
356 input_bytes(&mut d, &FIRST_MESSAGE[3..])); in test_incremental_with_nonfatal_read_error()