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.88 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.87 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.86 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.85 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.84 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.83 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.82 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.81 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.80 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.79 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.78 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.77 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.76 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.75 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.74 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.73 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.72 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.71 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.70 tracks/java/scripts/insert-ignores.sh
trackler-2.2.1.69 tracks/java/scripts/insert-ignores.sh