package Ġcom . github . led oy en . junit migration . transformation Ċ Ċ import Ġcom . github . led oy en . minimal diff parser . Minimal Diff Compilation Unit Ċ import Ġcom . github . led oy en . minimal diff parser . Minimal Diff Visitor Adapter Ċ Ċ class ĠReplace Basic Annotations Ġ: ĠMin imal Diff Visitor Adapter () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġvisit ( cu : ĠMin imal Diff Compilation Unit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. Test ;", Ġ" import Ġorg . junit . jupiter . api . Test ; ") ĊĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. \\ * ;", Ġ" import Ġorg . junit . jupiter . api .*; ") ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. BeforeClass ;", Ġ" import Ġorg . junit . jupiter . api . Before All ; ") ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex ("@ BeforeClass (\\ s )") Ġ{ Ġm Ġ-> Ġ"@ Before All " Ġ+ Ġm . group ( 1 ) Ġ} ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. After Class ;", Ġ" import Ġorg . junit . jupiter . api . After All ; ") ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex ("@ After Class (\\ s )") Ġ{ Ġm Ġ-> Ġ"@ After All " Ġ+ Ġm . group ( 1 ) Ġ} ĊĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. Before ;", Ġ" import Ġorg . junit . jupiter . api . BeforeEach ; ") ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex ("@ Before (\\ s )") Ġ{ Ġm Ġ-> Ġ"@ BeforeEach " Ġ+ Ġm . group ( 1 ) Ġ} ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex (" import \\ s + org \\. junit \\. After ;", Ġ" import Ġorg . junit . jupiter . api . After Each ; ") ĊĠĠĠĠĠĠĠ Ġcu . replace Text By Regex ("@ After (\\ s )") Ġ{ Ġm Ġ-> Ġ"@ After Each " Ġ+ Ġm . group ( 1 ) Ġ} ĊĠĠĠ Ġ} Ċ }