-
-
Save lfryc/4275537 to your computer and use it in GitHub Desktop.
Migration script from Warp API Alpha1 to Alpha2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -name "*.java" -exec sed -ri 's#ClientAction#Activity#g' {} \; | |
find -name "*.java" -exec sed -ri 's#ServerAssertion#Inspection#g' {} \; | |
find -name "*.java" -exec sed -ri 's#org\.jboss\.arquillian\.warp\.extension\.phaser#org.jboss.arquillian.warp.jsf#g' {} \; | |
find -name "*.java" -exec grep -q '@WarpTest' {} \; -exec sed -ri 's#execute\(#initiate(#' {} \; | |
find -name "*.java" -exec grep -q '@WarpTest' {} \; -exec sed -ri 's#public void action\(\)#public void perform()#' {} \; | |
find -name "*.java" -exec grep -q '@WarpTest' {} \; -exec sed -ri 's#filter\(#observe(#' {} \; | |
find -name "*.java" -exec grep -q '@WarpTest' {} \; -exec sed -ri 's#verify\(#inspect(#' {} \; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment