Sha256: 1821e2724c372fded33c7128eb488bafc9bb3b8927d4eda46caf115299b5a346
Contents?: true
Size: 388 Bytes
Versions: 386
Compression:
Stored size: 388 Bytes
Contents
#!/usr/bin/env bash for file in `find . -name "*Test.java"`; do tempfile="/tmp/insert-ignores.tmp" echo -e "\n\n\n*** $file ******************************" cat $file | \ sed 's/import org.junit.Test;/import org.junit.Test;\ import org.junit.Ignore;/' | \ sed 's/@Test/@Ignore\ @Test/' | \ sed '1,/@Ignore/s/.*@Ignore//' > "$tempfile" \ && mv "$tempfile" "$file" done
Version data entries
386 entries across 386 versions & 1 rubygems