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

Version Path
trackler-2.2.1.170 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.169 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.167 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.166 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.165 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.164 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.163 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.162 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.161 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.160 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.159 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.158 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.157 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.156 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.155 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.154 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.153 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.152 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.151 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.150 tracks/java/scripts/insert-ignores.sh