Research Article

Behaviour Preservation across Code Versions in Erlang

Algorithm 4

Configuration file to test string modules.
(1) -module(test_string).
(2) -compile(export_all).
(3)
(4) poiOld() ->
(5)   ’string0.erl’, 2, call, 1.
(6) poiNew() ->
(7)   ’string1.erl’, 2, ’case’, 1.
(8)
(9) poiOldError() ->
(10)   ’string0.erl’, 6, call, 1.
(11) poiNewError1() ->
(12)   ’string1.erl’, 14, call, 1.
(13) poiNewError2() ->
(14)   ’string1.erl’, 28, call, 1.
(15)
(16)
(17) rel() ->
(18)   [poiOld(), poiNew()].
(19) relError() ->
(20)   [poiOldError(), poiNewError1(),
(21)    poiOldError(), poiNewError2()].
(22)
(23) funs() ->
(24)   "[tokens/2]".