Skip to content

test: add ftp, sftp and file operation tests - #28

Open
Elitex07 wants to merge 1 commit into
Acode-Foundation:mainfrom
Elitex07:test/ftp-sftp-tests
Open

Elitex07 wants to merge 1 commit into
Acode-Foundation:mainfrom
Elitex07:test/ftp-sftp-tests

Conversation

@Elitex07

Copy link
Copy Markdown

Port of Acode-Foundation/Acode#2928 (665ce1c0) to keep migration in sync with Acode main.

Tested on

  • Android emulator (debug build), ran run-tests -> 146 passed, 0 failed, 21 skipped
  • FTP/SFTP suites skip cleanly when FTP_TEST_URL / SFTP_TEST_URL is not set
  • LSP ones skipped because servers not installed on emulator, not related
  • biome check clean on changed files

One note: in migration SFTP needs native profile, so for running SFTP tests window.SFTP_TEST_URL should be like sftp://profile-xxx/some/dir, not sftp://user:pass@host. Test itself only checks sftp:// prefix so no code change needed.

Port of Acode-Foundation/Acode#2928 (665ce1c0) to keep migration in sync with Acode main.

Co-authored-by: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant