Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationTest and DFSFileExplorerTest do not take into account file system ordering #1

Open
ltouroumov opened this issue Mar 9, 2016 · 1 comment

Comments

@ltouroumov
Copy link

Tests related to the output of the IFileExplorer::explore() test for specific ordering returned by File.list() not guaranteed by the java API.

ApplicationTest require File objects to have specific getPath() value regardless of correctness.

Sample Output

./workspace/quotes
./workspace/quotes/A
./workspace/quotes/A/B
./workspace/quotes/A/C
./workspace/quotes/A/C/D
./workspace/quotes/A/C/D/file1.txt
./workspace/quotes/A/C/D/file2.txt
./workspace/quotes/A/C/file1.txt
./workspace/quotes/A/file1.txt
./workspace/quotes/A/file2.txt

Expected Output

./workspace/quotes
./workspace/quotes/A
./workspace/quotes/A/file1.txt
./workspace/quotes/A/file2.txt
./workspace/quotes/A/B
./workspace/quotes/A/C
./workspace/quotes/A/C/file1.txt
./workspace/quotes/A/C/D
./workspace/quotes/A/C/D/file1.txt
./workspace/quotes/A/C/D/file2.txt

@wasadigi
Copy link
Member

Thank you very much for the feedback. Will be helpful for next year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants