• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# by srl 2013 sep 4
3grep 'extends.*TestFmwk' org/unicode/cldr/unittest/*.java | cut -d/ -f5 | cut -d. -f1 | sort | uniq > all_test_classes.txt
4ant check -Druncheck.arg='-l' | fgrep -- '--'  | fgrep -v -- '-- CLDR' | cut -d'-' -f3 | tr -d ' ' | sort > currently_running.txt
5echo "---- Unit Test Report ----"
6echo "Lines ending in '<' are tests that exist but are not run."
7echo "Lines ending in '>' are tests that are run but don't exist (!)"
8diff --side-by-side --suppress-common-lines all_test_classes.txt currently_running.txt
9echo
10echo "And the following are just wrong- should be under unittest."
11find org com -name '*.java'   | xargs grep 'extends.*TestFmwk' | fgrep -v org/unicode/cldr/unittest
12
13