Beispiel #1
0
 def test_custom_binary(self):
   """Test for custom binary."""
   self.mock.is_custom_binary.return_value = True
   self.assertEqual('NA', fuzz_task.get_regression(False))
Beispiel #2
0
 def test_reproducible_non_custom_binary(self):
   """Test for reproducible non-custom binary."""
   self.mock.is_custom_binary.return_value = False
   self.assertEqual('', fuzz_task.get_regression(False))
Beispiel #3
0
 def test_one_time_crasher(self):
   """Test when one_time_crasher_flag is True."""
   self.mock.is_custom_binary.return_value = False
   self.assertEqual('NA', fuzz_task.get_regression(True))