Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Migration script from Warp API Alpha1 to Alpha2
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