File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -398,14 +398,17 @@ esac
398398# Method Call Replacement Setup
399399# ===============================================================================
400400
401- # Path to the replacement file for the replacecall agent.
401+ # Path to the replacement and exclusion files for the replacecall agent.
402402REPLACEMENT_FILE_PATH=" $SCRIPT_DIR /program-config/$SUBJECT_PROGRAM /replacecall-replacements.txt"
403+ EXCLUSION_FILE_PATH=" $SCRIPT_DIR /program-config/$SUBJECT_PROGRAM /replacecall-exclusions.txt"
403404
404- # Configure method call replacements to avoid undesired behaviors during test
405+ # Configure method call replacements and/or exclusions to avoid undesired behaviors during test
405406# generation.
406407# Map subject programs to their respective replacement files.
407408declare -A replacement_files=(
408409 # Do not wait for user input
410+ [" easymock-3.2" ]=" =--dont-transform=$EXCLUSION_FILE_PATH "
411+ [" javax.mail-1.5.1" ]=" =--dont-transform=$EXCLUSION_FILE_PATH "
409412 [" jcommander-1.35" ]=" =--replacement_file=$REPLACEMENT_FILE_PATH "
410413)
411414REPLACECALL_COMMAND=" $REPLACECALL_JAR ${replacement_files[$SUBJECT_PROGRAM]} "
Original file line number Diff line number Diff line change 1+ net.sf.cglib.proxy.
Original file line number Diff line number Diff line change 1+ com.sun1.mail.imap.
2+ com.sun1.mail.pop3.
3+ com.sun1.mail.util.
You can’t perform that action at this time.
0 commit comments