diff options
Diffstat (limited to 'test/Java/Java-1.4.py')
-rw-r--r-- | test/Java/Java-1.4.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/Java/Java-1.4.py b/test/Java/Java-1.4.py index 9cc1d96..c84a2f0 100644 --- a/test/Java/Java-1.4.py +++ b/test/Java/Java-1.4.py @@ -334,19 +334,9 @@ expect_6 = [ failed = None -def get_class_files(dir): - def find_class_files(arg, dirname, fnames): - for fname in fnames: - if fname[-6:] == '.class': - arg.append(os.path.join(dirname, fname)) - result = [] - os.path.walk(dir, find_class_files, result) - result.sort() - return result - def classes_must_match(dir, expect): global failed - got = get_class_files(test.workpath(dir)) + got = test.java_get_class_files(test.workpath(dir)) if expect != got: missing = set(expect) - set(got) if missing: |