From 0b045aea2b0dc40f4770c63dec2ebb99fed06331 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Thu, 17 Oct 2019 00:41:16 +0000 Subject: [PATCH] [ VM ] Removed tests/standalone along with any references in build bot / test runner configurations Deleted irrelevant tests and migrated valid tests to Dart 2 Change-Id: If37611e051b7e2f128c53267f606d480d7fe23a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121902 Commit-Queue: Ben Konyi Reviewed-by: Siva Annamalai Reviewed-by: Ryan Macnak --- pkg/test_runner/lib/src/options.dart | 1 - .../lib/src/test_configurations.dart | 1 - runtime/tools/verbose_gc_to_bmu.dart | 2 +- tests/standalone/app_snapshot_share_test.dart | 97 ----------- tests/standalone/io/certificates/README | 70 -------- tests/standalone/io/certificates/client1.p12 | Bin 992 -> 0 bytes tests/standalone/io/certificates/client1.pem | 19 --- .../io/certificates/client1_key.p12 | Bin 2381 -> 0 bytes .../io/certificates/client1_key.pem | 29 ---- .../io/certificates/client1_key_malformed.pem | 17 -- tests/standalone/io/certificates/client2.pem | 19 --- .../io/certificates/client2_key.pem | 29 ---- .../io/certificates/client_authority.p12 | Bin 1024 -> 0 bytes .../io/certificates/client_authority.pem | 19 --- .../client_authority_malformed.pem | 8 - .../io/certificates/server_chain.p12 | Bin 2760 -> 0 bytes .../io/certificates/server_chain.pem | 59 ------- .../certificates/server_chain_malformed1.pem | 6 - .../certificates/server_chain_malformed2.pem | 41 ----- .../standalone/io/certificates/server_key.p12 | Bin 4149 -> 0 bytes .../standalone/io/certificates/server_key.pem | 29 ---- .../io/certificates/server_trusted.pem | 57 ------- .../io/certificates/trusted_certs.p12 | Bin 984 -> 0 bytes .../io/certificates/trusted_certs.pem | 18 -- .../certificates/trusted_certs_malformed.pem | 8 - .../certificates/untrusted_server_chain.pem | 59 ------- .../io/certificates/untrusted_server_key.pem | 29 ---- tests/standalone/io/dart_std_io_pipe_test.sh | 17 -- .../io/directory_invalid_arguments_test.dart | 38 ----- tests/standalone/io/empty_file | 0 tests/standalone/io/file_test.txt | 63 ------- tests/standalone/io/fixed_length_file | 1 - .../io/fixed_length_file_invalid_arguments | 1 - .../fixed_length_file_invalid_arguments_out | 0 ...ternet_address_invalid_arguments_test.dart | 29 ---- tests/standalone/io/ln.sh | 7 - .../io/process_environment_lib.dart | 9 - .../io/process_environment_test.dart | 62 ------- .../io/process_invalid_arguments_test.dart | 28 ---- ...aw_secure_server_socket_argument_test.dart | 45 ----- tests/standalone/io/read_as_text.dat | 1 - tests/standalone/io/readline_test1.dat | 10 -- tests/standalone/io/readline_test2.dat | 10 -- tests/standalone/io/readuntil_test.dat | 2 - .../io/secure_socket_bad_data_test.dart | 152 ----------------- .../io/security_context_argument_test.dart | 154 ------------------ .../io/stdout_bad_argument_test.dart | 13 -- tests/standalone/no_assert_test.dart | 16 -- tests/standalone/standalone.status | 9 - .../io/disable_exit_test.dart | 0 .../io/http_override_test.dart | 0 .../io/https_bad_certificate_test.dart | 0 .../io/io_override_test.dart | 7 +- .../io/raw_secure_server_socket_test.dart | 23 ++- .../io/sleep_test.dart | 0 .../io/socket_invalid_arguments_test.dart | 14 +- .../priority_queue_stress_test.dart | 20 +-- .../verbose_gc_to_bmu_script.dart | 0 .../verbose_gc_to_bmu_test.dart | 5 +- .../bots/dart2js_d8_hostchecked_tests.isolate | 1 - tools/bots/dart_tests.isolate | 1 - tools/bots/test_matrix.json | 5 - 62 files changed, 31 insertions(+), 1329 deletions(-) delete mode 100644 tests/standalone/app_snapshot_share_test.dart delete mode 100644 tests/standalone/io/certificates/README delete mode 100644 tests/standalone/io/certificates/client1.p12 delete mode 100644 tests/standalone/io/certificates/client1.pem delete mode 100644 tests/standalone/io/certificates/client1_key.p12 delete mode 100644 tests/standalone/io/certificates/client1_key.pem delete mode 100644 tests/standalone/io/certificates/client1_key_malformed.pem delete mode 100644 tests/standalone/io/certificates/client2.pem delete mode 100644 tests/standalone/io/certificates/client2_key.pem delete mode 100644 tests/standalone/io/certificates/client_authority.p12 delete mode 100644 tests/standalone/io/certificates/client_authority.pem delete mode 100644 tests/standalone/io/certificates/client_authority_malformed.pem delete mode 100644 tests/standalone/io/certificates/server_chain.p12 delete mode 100644 tests/standalone/io/certificates/server_chain.pem delete mode 100644 tests/standalone/io/certificates/server_chain_malformed1.pem delete mode 100644 tests/standalone/io/certificates/server_chain_malformed2.pem delete mode 100644 tests/standalone/io/certificates/server_key.p12 delete mode 100644 tests/standalone/io/certificates/server_key.pem delete mode 100644 tests/standalone/io/certificates/server_trusted.pem delete mode 100644 tests/standalone/io/certificates/trusted_certs.p12 delete mode 100644 tests/standalone/io/certificates/trusted_certs.pem delete mode 100644 tests/standalone/io/certificates/trusted_certs_malformed.pem delete mode 100644 tests/standalone/io/certificates/untrusted_server_chain.pem delete mode 100644 tests/standalone/io/certificates/untrusted_server_key.pem delete mode 100755 tests/standalone/io/dart_std_io_pipe_test.sh delete mode 100644 tests/standalone/io/directory_invalid_arguments_test.dart delete mode 100644 tests/standalone/io/empty_file delete mode 100644 tests/standalone/io/file_test.txt delete mode 100644 tests/standalone/io/fixed_length_file delete mode 100644 tests/standalone/io/fixed_length_file_invalid_arguments delete mode 100644 tests/standalone/io/fixed_length_file_invalid_arguments_out delete mode 100644 tests/standalone/io/internet_address_invalid_arguments_test.dart delete mode 100755 tests/standalone/io/ln.sh delete mode 100644 tests/standalone/io/process_environment_lib.dart delete mode 100644 tests/standalone/io/process_environment_test.dart delete mode 100644 tests/standalone/io/process_invalid_arguments_test.dart delete mode 100644 tests/standalone/io/raw_secure_server_socket_argument_test.dart delete mode 100644 tests/standalone/io/read_as_text.dat delete mode 100644 tests/standalone/io/readline_test1.dat delete mode 100644 tests/standalone/io/readline_test2.dat delete mode 100644 tests/standalone/io/readuntil_test.dat delete mode 100644 tests/standalone/io/secure_socket_bad_data_test.dart delete mode 100644 tests/standalone/io/security_context_argument_test.dart delete mode 100644 tests/standalone/io/stdout_bad_argument_test.dart delete mode 100644 tests/standalone/no_assert_test.dart delete mode 100644 tests/standalone/standalone.status rename tests/{standalone => standalone_2}/io/disable_exit_test.dart (100%) rename tests/{standalone => standalone_2}/io/http_override_test.dart (100%) rename tests/{standalone => standalone_2}/io/https_bad_certificate_test.dart (100%) rename tests/{standalone => standalone_2}/io/io_override_test.dart (98%) rename tests/{standalone => standalone_2}/io/raw_secure_server_socket_test.dart (97%) rename tests/{standalone => standalone_2}/io/sleep_test.dart (100%) rename tests/{standalone => standalone_2}/io/socket_invalid_arguments_test.dart (90%) rename tests/{standalone => standalone_2}/priority_queue_stress_test.dart (94%) rename tests/{standalone => standalone_2}/verbose_gc_to_bmu_script.dart (100%) rename tests/{standalone => standalone_2}/verbose_gc_to_bmu_test.dart (96%) diff --git a/pkg/test_runner/lib/src/options.dart b/pkg/test_runner/lib/src/options.dart index 029dfe911dd..eaec1c55d15 100644 --- a/pkg/test_runner/lib/src/options.dart +++ b/pkg/test_runner/lib/src/options.dart @@ -14,7 +14,6 @@ import 'utils.dart'; const _defaultTestSelectors = [ 'samples', - 'standalone', 'standalone_2', 'corelib_2', 'language_2', diff --git a/pkg/test_runner/lib/src/test_configurations.dart b/pkg/test_runner/lib/src/test_configurations.dart index 674c55ca08d..0d355240e70 100644 --- a/pkg/test_runner/lib/src/test_configurations.dart +++ b/pkg/test_runner/lib/src/test_configurations.dart @@ -38,7 +38,6 @@ final TEST_SUITE_DIRECTORIES = [ Path('tests/kernel'), Path('tests/language_2'), Path('tests/lib_2'), - Path('tests/standalone'), Path('tests/standalone_2'), Path('tests/ffi'), Path('utils/tests/peg'), diff --git a/runtime/tools/verbose_gc_to_bmu.dart b/runtime/tools/verbose_gc_to_bmu.dart index fa4d255c48e..9564e424785 100644 --- a/runtime/tools/verbose_gc_to_bmu.dart +++ b/runtime/tools/verbose_gc_to_bmu.dart @@ -17,7 +17,7 @@ import 'dart:math'; const WINDOW_STEP_FACTOR = 0.9; const MINIMUM_WINDOW_SIZE_MS = 1; -class Interval { +class Interval { T begin; T end; Interval(this.begin, this.end); diff --git a/tests/standalone/app_snapshot_share_test.dart b/tests/standalone/app_snapshot_share_test.dart deleted file mode 100644 index 65b95f5af81..00000000000 --- a/tests/standalone/app_snapshot_share_test.dart +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import "dart:io"; - -void main(List args) { - if (args.contains("--child")) { - print("Hello, sharing world!"); - return; - } - - if (!Platform.executable.endsWith("dart_precompiled_runtime")) { - return; // Running in JIT or Windows: AOT binaries not available. - } - - if (Platform.isAndroid) { - return; // SDK tree and dart_bootstrap not available on the test device. - } - - var buildDir = - Platform.executable.substring(0, Platform.executable.lastIndexOf('/')); - var tempDir = Directory.systemTemp.createTempSync("app-shared"); - var snapshot1Path = tempDir.uri.resolve("hello1.snapshot").toFilePath(); - var snapshot2Path = tempDir.uri.resolve("hello2.snapshot").toFilePath(); - var scriptPath = new Directory(buildDir) - .uri - .resolve("../../tests/standalone/app_snapshot_share_test.dart") - .toFilePath(); - - var exec = "$buildDir/dart_bootstrap"; - args = new List(); - args.add("--no-preview-dart-2"); - args.add("--deterministic"); - args.add("--use-blobs"); - args.add("--snapshot-kind=app-aot"); - args.add("--snapshot=$snapshot1Path"); - args.add(scriptPath); - print("+ $exec $args"); - var result = Process.runSync(exec, args); - print("Exit code: ${result.exitCode}"); - print("stdout:"); - print(result.stdout); - print("stderr:"); - print(result.stderr); - if (result.exitCode != 0) { - throw "Bad exit code"; - } - - exec = "$buildDir/dart_bootstrap"; - args = new List(); - args.add("--no-preview-dart-2"); - args.add("--deterministic"); - args.add("--use-blobs"); - args.add("--snapshot-kind=app-aot"); - args.add("--snapshot=$snapshot2Path"); - args.add("--shared-blobs=$snapshot1Path"); - args.add(scriptPath); - print("+ $exec $args"); - result = Process.runSync(exec, args); - print("Exit code: ${result.exitCode}"); - print("stdout:"); - print(result.stdout); - print("stderr:"); - print(result.stderr); - if (result.exitCode != 0) { - throw "Bad exit code"; - } - - var sizeWithoutSharing = new File(snapshot1Path).statSync().size; - var deltaWhenSharing = new File(snapshot2Path).statSync().size; - print("sizeWithoutSharing: $sizeWithoutSharing"); - print("deltaWhenSharing: $deltaWhenSharing"); - if (deltaWhenSharing >= sizeWithoutSharing) { - throw "Sharing did not shrink size"; - } - - exec = "$buildDir/dart_precompiled_runtime"; - args = new List(); - args.add("--no-preview-dart-2"); - args.add("--shared-blobs=$snapshot1Path"); - args.add(snapshot2Path); - args.add("--child"); - print("+ $exec $args"); - result = Process.runSync(exec, args); - print("Exit code: ${result.exitCode}"); - print("stdout:"); - print(result.stdout); - print("stderr:"); - print(result.stderr); - if (result.exitCode != 0) { - throw "Bad exit code"; - } - if (!result.stdout.contains("Hello, sharing world!")) { - throw "Missing output"; - } -} diff --git a/tests/standalone/io/certificates/README b/tests/standalone/io/certificates/README deleted file mode 100644 index 6ecd5189286..00000000000 --- a/tests/standalone/io/certificates/README +++ /dev/null @@ -1,70 +0,0 @@ - This directory, tests/standalone/io/certificates, contains the -X509 TLS certificates and private keys needed to run tests of Dart's -secure networking code. The SecureSocket and SecureServer classes -are tested by making TLS (formerly called SSL) connections, secured -by certificates from a self-signed test root authority. - -The certificates are created by running ../create_sample_certificates.sh -in a bash or sh shell, with the openssl tools installed. Run the script -twice to create the untrusted_* files. - -PEM files: - -server_chain.pem: - Contains the chain of certificates, from the self-signed -test certificate authority, through the intermediate CA, to the server -certificate, used on the server side of a test connection. - -server_key.pem: - Contains the private key for the server certificate - -trusted_certs.pem: - Contains the self-signed certificate of the test certificate authority. -This certificate is set as "trusted" by the client side of the connection -in its SecurityContext object, so that a verified TLS connection to the -server can be made. - -untrusted_server_chain.pem: - Contains a chain of certificates, from a different self-signed -test certificate authority, through an intermediate CA, to a server -certificate, used on the server side of a test connection that is intended -to fail because the client does not accept this certificate authority - -untrusted_server_key.pem: - Contains the private key for the untrusted server certificate -in untrusted_server_chain.pem - -*_malformed.pem: - Truncated PEM formatted certificates used to test error handling. - -PKCS12 files: - -server_key.12: - Created with: - $ openssl pkcs12 -export -inkey server_key.pem -out server_key.p12 -nocerts - with password 'dartdart' - -server_chain.p12: - Created with: - $ openssl pkcs12 -export -in server_chain.pem -out server_chain.p12 -nokeys - with password 'dartdart' - -client1_key.p12: - Created with: - $ openssl pkcs12 -export -inkey client1_key.pem -out client1_key.p12 -nocerts - with password 'dartdart' - -client1.p12: - Created with: - $ openssl pkcs12 -export -in client1.pem -out client1.p12 -nokeys - with password 'dartdart' - -trusted_certs.p12: - Created with: - $ openssl pkcs12 -export -in trusted_certs.pem -out trusted_certs.p12 -nokeys - with password 'dartdart' - -client_authority.p12: - Created with: - $ openssl pkcs12 -export -in client_authority.pem -out client_authority.p12 -nokeys - with password 'dartdart' diff --git a/tests/standalone/io/certificates/client1.p12 b/tests/standalone/io/certificates/client1.p12 deleted file mode 100644 index 8d19d0495c05cc8967326fba63490cd137feed2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 992 zcmV<610Vb_f&<(F0Ru3C1EK~ADuzgg_YDCD0ic2dlLUeTk1&D*i!g!%hXx5MhDe6@ z4FLxRpn?NnY?NcA(KKm!3w-duvAgGG-V(nF_L z)HZg2=mR^@PXAq2lKu=Q_knziY@z7!rsVokydV!k9R;Rb7nu|jmtcFzVj zb5NfndEv5m1z2xUbwy2fa?SUj;1*EVl^+>8;M&@ybE9cGYzYQKe_l&mbdLG&I%zV( z#*PRL0R!d+dl&SuN$fzL)8HdfRZ&M%MhQTBXH6^co77y5f6?JG4aVPzqHn} zeIue?<3uY;6Rk1sJE8yG%V;*xxVACoBb=r*AMWFXu+MU`nZCBVtgBwM^A@<^JV+1} zI^DEk|KK8azH@@NgI^C|#dw!V9u+9N z{ETjD`TN((p22^|n`@4hK052*QgB?4Eqb1-MZBAz9T*^z(A~*S_m{MWyBx| zi?3F5!`|8xC$g#&l^XZ2C+d6q#z33cc*k+r`yvn}WFF2TWv--y`6VY@_>#itXL`XD z>kCf&?A;Y$+gU4*sY2r>iM>`t(Av$%;^$%nU@ShsHNDU3nZ%&55UP`?vO4V;9v*`OlkygPgdb=TQn3a#{`&c7_M|bv#;B z8mVZ&d*i$?J)63efZkcoBJFS5d*g=jpa;j0YMeW~94E@%R`o2`>pO6BLH3 z<>l2|#M7>3bF4R#pFflM8FbM_)D-Ht!8U+9Z6atee$eLic{?(nrLBqupg|*71N(2Zf OqHd#>X4)hI0tf)|70wF) diff --git a/tests/standalone/io/certificates/client1.pem b/tests/standalone/io/certificates/client1.pem deleted file mode 100644 index 429cd72ab19..00000000000 --- a/tests/standalone/io/certificates/client1.pem +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDBzCCAe+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADAaMRgwFgYDVQQDEw9jbGll -bnRhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1WjAQMQ4w -DAYDVQQDDAV1c2VyMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALlg -zRZlohMtAg44+kPk04G/gIkdeyh7toUA3nR/2sS11j8EutHewezvMV8YyxBxQn8f -8x8FkDbrE/6GYg2Dsu6TxrXIFre9Lt5jLlJi/6qEaVtXNTdP3vKO87FJ7YVLCeYe -MxuTCdHloeUICP5x3GJz3AVdcg/S9qRWrpm8LdRdFk66l8vD+aDf+Oqe+mLVtAr6 -kqkdq1nUJOkRBp+zFMmB3Zfm28aYew6BmFQSscxemZyJxiv4dB+EDr821kEjgGBY -IQGpdADrfh3j9JAzEr30o6sjfr6QWKHG6ZD7xhSl7rIxmx1yoKoJh8vLpcQfdv79 -7VZZT5N7xjz0xkjqTA0CAwEAAaNiMGAwCQYDVR0TBAIwADAdBgNVHQ4EFgQUMpcX -0o3lu3BTmaKwCfIJMO5aMs4wHwYDVR0jBBgwFoAUtyLBueMoMi7TborRvM7CnwOi -SQ4wEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAAB1rNFg -wdK79r7WO0OvE90uvtFf8sO2kqwW/7JIP/kcnIwIIkNiffUEfLfVr7aecK0rPer4 -DDZFAciuaOcts7dTxXRU+la1ZEPaEyx1mHaC6HJbgFYC9cG30L6GJGkZkIGOCTn+ -/yPxTM//dSc7YACc90GNTeUFVnAw6vskH91Ph4VYbdYxt7L1d1pzvBeun6Qi0eJq -rkWQ2DOO9h9E6Rnt8Jea3w7WzX5P8pBjm74bv38YBKefawPeiiXck2Q/lUehLePV -U1MRdy1QWC924+p6cXbR1GEhg0FZyvS/9WdpLMGIat/j/98juN6qyAbw7XXhlB1g -fBHlfXbx+KMZAuY= ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/client1_key.p12 b/tests/standalone/io/certificates/client1_key.p12 deleted file mode 100644 index 5d11e735e32b5cfbaa24861473e80f54db04af9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2381 zcmV-T39|Muf(c0i0Ru3C2@eJdDuzgg_YDCD0ic2j00e>v{4jzD_%MP4uLcP!hDe6@ z4FLxRpn?OSFoFY|0s#Opf&-NX2`Yw2hW8Bt2LUh~1_~;MNQUP*C>_o`E|Q6?ujE4*|ZC+0DYE}gaJH`n{x%nd0Aubv&xuFqF1hC zvg(M}$D7;iV+BGJfRMf_#4(YmPh;j%t)TPgpy*S;Ew*QiZxJ`C#$^Y1?i$wKGy*qb zQ!MsmWq{!x6I0xp2;Fg~({CO&Idr7KHVr=dlxq8k{m=yJK0h%-PKJU))U`H{PfYA< z?M6e#OCh-y3oJ*7^i}kSMXy_Kzd)P)-U4%kcy!3ObICBK`vlX}P6=p$&w^=sWA z1%&`mqj1{0cWa`Tt;CRnIA&T&{_KR#&s37P zhM+zn*Z%fkTpMdXPZ4oss#tkL)&JLJQ5d&Ql>k%@7(XzJp6hp~rEwvq@Xu=ZMNVW; zVh+6Ae_hH_n_-eE2-O96GTiyuhI!t`8ym~7NH}`go4^?Br@mofe#^4t-yu7>t|D2$ zpH&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}lfP1+d zDL4aBk0(LgpU#!cyFdc!Qo^2Q@xOzLiR)4Poa1JrBUs-vsXi16r5SO>EZppc3gdej zT1uv9h`^&2F#m9%H%#>O7z9XWHi0^k2a}m$OC-#LwA?Ed4*f0C9?fQETlFIXF8qBF z>8QRp0uz(aisf7V2V&}dqv=>f2Qnty9k1#GP?`?;Msj8H%&^?K2_ro#$VR!{*lq-Z zM@Na#^P~BM%Nfo2V7B#1cd)4}TAk?-yOou$dwrjqx_Z$A(5oD@K@l8vjZ(}`8Y@Uk zjRFfBbc+x*sF?w5tk=)?G~H;?2B|A}ziP-Edq}qL-ncUJU^X)Iq1U~J)}O~XL0n4C zDE=EKz0Ot#={m+Wxp}h3vfenogPFA2?N4cqxt%OuW{9~&UJF9q4tezzR`%C|spR+X zM;eHUEczOr#=J(6We!PECk)n=y~*crLV%;|k)9~8>+fiU diff --git a/tests/standalone/io/certificates/client_authority.pem b/tests/standalone/io/certificates/client_authority.pem deleted file mode 100644 index ae9ae5b6769..00000000000 --- a/tests/standalone/io/certificates/client_authority.pem +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDKjCCAhKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAaMRgwFgYDVQQDEw9jbGll -bnRhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1WjAaMRgw -FgYDVQQDEw9jbGllbnRhdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCi6wJAs6nppNmTZ3e/wE9l0pAmkMtDONwB9o115XXTG3rmSKfZOxa8 -TFjSn818Pr1OYb9fPdI1Y6x4WY9PELUtQyEBlNcKjwg96vhrP4p2DhqbWsI5nASH -DSjJsM75bQ7D7qHYzriuAl0Fk1C4LcodRj+5wmErMtvGJG0x06qFbxCCMAJ2kC+h -SneTN955/YHSXADgxjFlt3s1T0QPnqrr+G7Ro6PrVKLPBulglq7wAeTwrGkPRUt0 -3lDGOSi6i97NbpiXwrGp5XiLUtVCiID6Ro0xKWH4sjJ4JnVjIUG8CQWERc6sFDJM -4adgFQJagkTUoxWtDGL58+WcbcJa73XJAgMBAAGjezB5MBIGA1UdEwEB/wQIMAYB -Af8CAQAwHQYDVR0OBBYEFLciwbnjKDIu026K0bzOwp8DokkOMB8GA1UdIwQYMBaA -FLciwbnjKDIu026K0bzOwp8DokkOMA4GA1UdDwEB/wQEAwICBDATBgNVHSUEDDAK -BggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAQEAh8rryWFoGjFdm0i4FLRktF8B -aUqVCCpFVHIYlFcsQstznIb01X2Zq5nfSfrFxbr5STVGzGJ0HGDuFpicT8+qMnJX -dou5AuaqubIDWeKL+oAgvI71Nt1gsesixqzFQAoCTRgUjrSGpY2fL7rElV0Ndy9b -YepVouktP1/GULc8XbIG9ZLx70Id7YTyrITDgbH3hSnbjmmZSr9RKyKas4MXN0s8 -oKGHEgAx7KyNQRppjydz3bDeH/jVbM4W98vwL6rjKUJlOlo0Ru+3+oioFHqLMSvN -w4f5rQEiuF260h7y8KKxRxQ8rw188gsBapZr4Rcp+y8gdQvlzJONtv3d1dap5A== ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/client_authority_malformed.pem b/tests/standalone/io/certificates/client_authority_malformed.pem deleted file mode 100644 index d0aeff4208f..00000000000 --- a/tests/standalone/io/certificates/client_authority_malformed.pem +++ /dev/null @@ -1,8 +0,0 @@ -MIIDKjCCAhKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAaMRgwFgYDVQQDEw9jbGll -bnRhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1WjAaMRgw -FgYDVQQDEw9jbGllbnRhdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCi6wJAs6nppNmTZ3e/wE9l0pAmkMtDONwB9o115XXTG3rmSKfZOxa8 -TFjSn818Pr1OYb9fPdI1Y6x4WY9PELUtQyEBlNcKjwg96vhrP4p2DhqbWsI5nASH -DSjJsM75bQ7D7qHYzriuAl0Fk1C4LcodRj+5wmErMtvGJG0x06qFbxCCMAJ2kC+h -SneTN955/YHSXADgxjFlt3s1T0QPnqrr+G7Ro6PrVKLPBulglq7wAeTwrGkPRUt0 -3lDGOSi6i97NbpiXwrGp5XiLUtVCiID6Ro0xKWH4sjJ4JnVjIUG8CQWERc6sFDJM diff --git a/tests/standalone/io/certificates/server_chain.p12 b/tests/standalone/io/certificates/server_chain.p12 deleted file mode 100644 index 79e412d945429eafa7dac849c2b5130c3c00798e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2760 zcmV;(3ODsIf(pa}0Ru3C3W^2^Duzgg_YDCD0ic2kdjx_CcQAqqb1;GmZw3h}hDe6@ z4FLxRpn?iuFoFtP0s#Opf(lgz2`Yw2hW8Bt2LUh~1_~;MNQU!WlTR8-&W7Z$8q|$ur(dj z+`TC!lN7&{BIH_Ux8{u z8*90;tv`u8+&Y$Agdh%XOS<1gb0lob&D=rE&y(E`#&b8`NfHqp3Pad@D%$reOkn@WPqfFG=yApI#^pyF_vDh)MCHeKdlZFyAQi6iGw4aD;m*vHc8$%F>!#RE>ufyYU(JuCY%3i;hzRNm! z+Vju7^jLy5jo!smnkLcsSk>T7*Y@^D&*ly|j;D$EZunYIR-?5DuezYrF55vJ=YbZf9%Ak@|StABlRoJzw*re?b*PG7YM z^PF)VgX;UYjjZ;ftwYr@73^6>_2vbb&RHmxz7AMuzyfrPJcDy|X* zqP$6)W52^S<4{K#2_$^9Kf{P6zbZB84GR!UC~0XD7V^2!=MbfcYKAl-|4=cCVx4YD zrA`wKb57TPFPIPKaGu)5|m_4{lb2z_Oe-y)U8Fj;!K{ung-f{|I=GRn!`%Y#XN zBVr4jkeDCVU&Vq19Ef4dj;C_b`QUvI(~ zJQxAH>L0$VaHix*O4!E;fMr{+&WVUgl|FT3R+LoLHZ2oJ(^XK^Zou0jsH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N#Wi~jt2V#_(S4qJV@1EOdRve-H72c35MzlFT?L^jq#8`!DZ*k#XNX2;Iejz zYzIdhHUKJ#7^;p{K7npZ_F3fd0i$7K6VwAS@{Fb?ey}X2W0#?+msQie(@RPYNXcc8 z%czTfrpBz+5#D^*FflM8FbM_)D-Ht!8U+9Z6!BFrPXH$;u4R6Dys7C?wHdn+rvwPH Osr<0fLW<4;0tf&t4L)Q5 diff --git a/tests/standalone/io/certificates/server_chain.pem b/tests/standalone/io/certificates/server_chain.pem deleted file mode 100644 index 341a86f4cf1..00000000000 --- a/tests/standalone/io/certificates/server_chain.pem +++ /dev/null @@ -1,59 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDDBVpbnRl -cm1lZGlhdGVhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1 -WjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCkg/Qr8RQeLTOSgCkyiEX2ztgkgscX8hKGHEHdvlkmVK3JVEIIwkvu -/Y9LtHZUia3nPAgqEEbexzTENZjSCcC0V6I2XW/e5tIE3rO0KLZyhtZhN/2SfJ6p -KbOh0HLr1VtkKJGp1tzUmHW/aZI32pK60ZJ/N917NLPCJpCaL8+wHo3+w3oNqln6 -oJsfgxy9SUM8Bsc9WMYKMUdqLO1QKs1A5YwqZuO7Mwj+4LY2QDixC7Ua7V9YAPo2 -1SBeLvMCHbYxSPCuxcZ/kDkgax/DF9u7aZnGhMImkwBka0OQFvpfjKtTIuoobTpe -PAG7MQYXk4RjnjdyEX/9XAQzvNo1CDObAgMBAAGjgbQwgbEwPAYDVR0RBDUwM4IJ -bG9jYWxob3N0ggkxMjcuMC4wLjGCAzo6MYcEfwAAAYcQAAAAAAAAAAAAAAAAAAAA -ATAMBgNVHRMBAf8EAjAAMB0GA1Ud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9r9ihe4CqMjx+Q2kQ2S9Gz2V2ReO/n6vm2VQxsPRB/lV/9jh7cUcS0/9mggLYrDy -cq1v7rLLQrWuxMz1E3gOhyCYJ38CAwEAAaNQME4wHQYDVR0OBBYEFHEPkNAdOa2k -MUoM6Ix/kUCLq99vMB8GA1UdIwQYMBaAFHEPkNAdOa2kMUoM6Ix/kUCLq99vMAwG -A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABrhjnWC6b+z9Kw73C/niOwo -9sPdufjS6tb0sCwDjt3mjvE4NdNWt+/+ZOugW6dqtvqhtqZM1q0u9pJkNwIrqgFD -ZHcfNaf31G6Z2YE+Io7woTVw6fFobg/EFo+a/qwbvWL26McmiRL5yiSBjVjpX4a5 -kdZ+aPQUCBaLrTWwlCDqzSVIULWUQvveRWbToMFKPNID58NtEpymAx3Pgir7YjV9 -UnlU2l5vZrh1PTCqZxvC/IdRESUfW80LdHaeyizRUP+6vKxGgSz2MRuYINjbd6GO -hGiCpWlwziW2xLV1l2qSRLko2kIafLZP18N0ThM9zKbU5ps9NgFOf//wqSGtLaE= ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/server_chain_malformed1.pem b/tests/standalone/io/certificates/server_chain_malformed1.pem deleted file mode 100644 index cb623fdc705..00000000000 --- a/tests/standalone/io/certificates/server_chain_malformed1.pem +++ /dev/null @@ -1,6 +0,0 @@ -MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDDBVpbnRl -cm1lZGlhdGVhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1 -WjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCkg/Qr8RQeLTOSgCkyiEX2ztgkgscX8hKGHEHdvlkmVK3JVEIIwkvu -/Y9LtHZUia3nPAgqEEbexzTENZjSCcC0V6I2XW/e5tIE3rO0KLZyhtZhN/2SfJ6p -KbOh0HLr1VtkKJGp1tzUmHW/aZI32pK60ZJ/N917NLPCJpCaL8+wHo3+w3oNqln6 diff --git a/tests/standalone/io/certificates/server_chain_malformed2.pem b/tests/standalone/io/certificates/server_chain_malformed2.pem deleted file mode 100644 index 978c523c0de..00000000000 --- a/tests/standalone/io/certificates/server_chain_malformed2.pem +++ /dev/null @@ -1,41 +0,0 @@ -MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDDBVpbnRl -cm1lZGlhdGVhdXRob3JpdHkwHhcNMTUxMDI3MTAyNjM1WhcNMjUxMDI0MTAyNjM1 -WjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCkg/Qr8RQeLTOSgCkyiEX2ztgkgscX8hKGHEHdvlkmVK3JVEIIwkvu -/Y9LtHZUia3nPAgqEEbexzTENZjSCcC0V6I2XW/e5tIE3rO0KLZyhtZhN/2SfJ6p -KbOh0HLr1VtkKJGp1tzUmHW/aZI32pK60ZJ/N917NLPCJpCaL8+wHo3+w3oNqln6 -oJsfgxy9SUM8Bsc9WMYKMUdqLO1QKs1A5YwqZuO7Mwj+4LY2QDixC7Ua7V9YAPo2 -1SBeLvMCHbYxSPCuxcZ/kDkgax/DF9u7aZnGhMImkwBka0OQFvpfjKtTIuoobTpe -PAG7MQYXk4RjnjdyEX/9XAQzvNo1CDObAgMBAAGjgbQwgbEwPAYDVR0RBDUwM4IJ -bG9jYWxob3N0ggkxMjcuMC4wLjGCAzo6MYcEfwAAAYcQAAAAAAAAAAAAAAAAAAAA -ATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSvhJo6taTggJQBukEvMo/PDk8tKTAf -BgNVHSMEGDAWgBS98L4T5RaIToE3DkBRsoeWPil0eDAOBgNVHQ8BAf8EBAMCA6gw -EwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQELBQADggEBAHL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OBgNVHQ8BAf8EBAMCAgQwEwYDVR0l -BAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQELBQADggEBAD+4KpUeV5mUPw5IG/7w -eOXnUpeS96XFGuS1JuFo/TbgntPWSPyo+rD4GrPIkUXyoHaMCDd2UBEjyGbBIKlB -NZA3RJOAEp7DTkLNK4RFn/OEcLwG0J5brL7kaLRO4vwvItVIdZ2XIqzypRQTc0MG -MmF08zycnSlaN01ryM67AsMhwdHqVa+uXQPo8R8sdFGnZ33yywTYD73FeImXilQ2 -rDnFUVqmrW1fjl0Fi4rV5XI0EQiPrzKvRtmF8ZqjGATPOsRd64cwQX6V+P5hNeIR -9pba6td7AbNGausHfacRYMyoGJWWWkFPd+7jWOCPqW7Fk1tmBgdB8GzXa3inWIRM -RUE= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- diff --git a/tests/standalone/io/certificates/server_key.p12 b/tests/standalone/io/certificates/server_key.p12 deleted file mode 100644 index 204d42d294389ab56f96d9e7bb658f785b371677..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4149 zcmV-55X$c`f)FtR0Ru3C5BCNMDuzgg_YDCD0ic2p=mdffE{;4p#;mj($chDe6@ z4FLxRpn?jBFoFt%0s#Opf(m^G2`Yw2hW8Bt2LUh~1_~;MNQU7SiG4~I-^)AJd?nRwbFz0_dRIUE;GG1h=j_Z6Hjl%P1qb(lJwH+F}_7+ zA$Lg3qO7o2a2%EOxKoSga;=MfR!kjkOdZ3=ykA2cR9nzFH&w_K{KDZNE(^ENKC{z$ zl~z*#|0bF5f7I@JA)2FSnHR~k8yzlk4B=qu&Db-oSn!@bwa!)uo7RNYT4CSy2T@~yyOvlF z`K_YIfXg7bd~EfoClK&RjK3vtz#y?*GhsckxHe>_PEkSP#{ZwRJqse4kJ_B8u7mem zgBV|hOk>3Id6@B69+)(vsKA4~EO&XHLAMSDwTNMv`5Sie4WG+zHPFXyYHR=)x+PZvt6LeU=0bAe zg7m2tWph1E<`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%`0fc<>7?FqKoK;drq8uRY$8^WXKJdTrHCJN--W2!u({T zFoFd^1_>&LNQU zG`RsGdOk6Y1qAx11SAIjXZUM$X+99H;5{m}dIj(i4ImpA#Ty3+Hu${9mLo+jAy%KL z=#KN~|Ff=y>hh&{Rg*a^urulTJ%1hb_SpTgk~<>IJC6yq>ze5>xI#07G$(y3KKjrx zHosV?nY3X|@o)TfV@2n>|7QkzA*-I!pv-SJv%_~MWnafT_k!6SJiB5_TT!Za*f&BwE+pT6Ro`s0TMj~PW+`k6PlS}&8yjOh5%7o(2@5aQ z5LZs{#L8}lJ~0&~u)XNNKB(ZCl+S7NZgOTbdA_8ZxZJG+OuPB150q>V$C)+7WxO9) zR@QTz(#d{SI!%m5_pi)s)(1xfS=j?&R$zuFHx+={L-cqD-(Hfr29-o-7QkmR8cLzkFg=o%lpL8kPA%GOdxO-0}f59APk`C8_5AujwZM~=|euC*w zh~8d3zt1J+tv`=YnlO#p&j(Ux=fybom~<`ZM0)TZ<_!M(9+o?=M%@4ZPq2wpLIK^C~t zE$A`SSZmY2H?+-;7`mJdz9~g*yaBPE z2WFO1t9T*+$EE~Tt>^_mauX41MuRBzZWYn4z^5!2B`@@Q(9$2=EXi&TEdS=ZIUK{! zBFyuI6&BR4!|dQK@F%~X9^*l1*M*1tTKLMD;6gGoW_v!~UsXd_j>pl?rbs!NKPZqR z1IEs~#9RkmW^3rD$xqZLNGDK|^Mll@D8=glKT%2zzv1WU+o&pDOk^a^;utP6jeH8Mc5eKB$5)pJ}$AXfwk_03p;G)MK00s;sCN1eYq diff --git a/tests/standalone/io/certificates/server_key.pem b/tests/standalone/io/certificates/server_key.pem deleted file mode 100644 index 895b7d2be15..00000000000 --- a/tests/standalone/io/certificates/server_key.pem +++ /dev/null @@ -1,29 +0,0 @@ ------BEGIN ENCRYPTED PRIVATE KEY----- -MIIE4zAcBgoqhkiG9w0BDAEBMA4ECBMCjlg8JYZ4AgIIAASCBMFd9cBoZ5xcTock -AVQcg/HzYJtM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gVZ6Z+NMOcfnPw9 -jZkFhot16w8znD+OmhBR7/bzOLpaeUhk7EhNq5M6U0NNWx3WwkDlvU/jx+6/EQe3 -iLEHptH2HYBF1xscaKGbtKNtuQsfdzgWpOX0qK2YbK3yCKvL/xIm1DQmDZDKkWdW -VNh8oGV1H96CivWlvxhAgXKz9F/83CjMw8YXRk7RJvWR4vtNvXFAvGkFIYCN9Jv9 -p+1ukaYoxSLGBik907I6gWSHqumJiCprUyAX/bVfZfNiYh4hzeA3lhwxZSax3JG4 -7QFPvyepOmF/3AAzS/Pusx6jOZnuCMCkfQi6Wpem1o3s4x+fP7kz00Xuj01ErucM -S10ixfIh84kXBN3dTRDtDdeCyoMsBKO0W5jDBBlWL02YfdF6Opo1Q4cPh2DYgXMh -XEszNZSK5LB0y+f3A6Kdx/hkZzHVvMONA70OyrkoZzGyWENhcB0c7ntTJyPPD2qM -s0HRA2VwF/0ypU3OKERM1Ua5NSkTgvnnVTlV9GO90Tkn5v4fxdl8NzIuJLyGguTP -Xc0tRM34Lg== ------END ENCRYPTED PRIVATE KEY----- diff --git a/tests/standalone/io/certificates/server_trusted.pem b/tests/standalone/io/certificates/server_trusted.pem deleted file mode 100644 index b943cf9a7ba..00000000000 --- a/tests/standalone/io/certificates/server_trusted.pem +++ /dev/null @@ -1,57 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDLjCCAhagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1yb290 -YXV0aG9yaXR5MB4XDTE1MTAyNzEwMjYzNVoXDTI1MTAyNDEwMjYzNVowIDEeMBwG -A1UEAwwVaW50ZXJtZWRpYXRlYXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA6GndRFiXk+2q+Ig7ZOWKKGta+is8137qyXz+eVFs5sA0ajMN -ZBAMWS0TIXw/Yks+y6fEcV/tfv91k1eUN4YXPcoxTdDF97d2hO9wxumeYOMnQeDy -VZVDKQBZ+jF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ZOxa8 -TFjSn818Pr1OYb9fPdI1Y6x4WY9PELUtQyEBlNcKjwg96vhrP4p2DhqbWsI5nASH -DSjJsM75bQ7D7qHYzriuAl0Fk1C4LcodRj+5wmErMtvGJG0x06qFbxCCMAJ2kC+h -SneTN955/YHSXADgxjFlt3s1T0QPnqrr+G7Ro6PrVKLPBulglq7wAeTwrGkPRUt0 -3lDGOSi6i97NbpiXwrGp5XiLUtVCiID6Ro0xKWH4sjJ4JnVjIUG8CQWERc6sFDJM -4adgFQJagkTUoxWtDGL58+WcbcJa73XJAgMBAAGjezB5MBIGA1UdEwEB/wQIMAYB -Af8CAQAwHQYDVR0OBBYEFLciwbnjKDIu026K0bzOwp8DokkOMB8GA1UdIwQYMBaA -FLciwbnjKDIu026K0bzOwp8DokkOMA4GA1UdDwEB/wQEAwICBDATBgNVHSUEDDAK -BggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAQEAh8rryWFoGjFdm0i4FLRktF8B -aUqVCCpFVHIYlFcsQstznIb01X2Zq5nfSfrFxbr5STVGzGJ0HGDuFpicT8+qMnJX -dou5AuaqubIDWeKL+oAgvI71Nt1gsesixqzFQAoCTRgUjrSGpY2fL7rElV0Ndy9b -YepVouktP1/GULc8XbIG9ZLx70Id7YTyrITDgbH3hSnbjmmZSr9RKyKas4MXN0s8 -oKGHEgAx7KyNQRppjydz3bDeH/jVbM4W98vwL6rjKUJlOlo0Ru+3+oioFHqLMSvN -w4f5rQEiuF260h7y8KKxRxQ8rw188gsBapZr4Rcp+y8gdQvlzJONtv3d1dap5A== ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/trusted_certs.p12 b/tests/standalone/io/certificates/trusted_certs.p12 deleted file mode 100644 index 76c76ec17b0b4e9571b8662fe78143019f4b55e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 984 zcmV;}11J12f&ve+CIEhDe6@ z4FLxRpn?N%FoFYY0s#Opf&*m+2`Yw2hW8Bt2LUh~1_~;MNQUW;=gd3n$&uOc6Z4N5zAO|5Y$I}3D`B!4S5vu&-Sde zYBE_m6{f}6tZmLOZ^}|j@D+?mgnQRUM8w>ff|14E~m61-OEr?m*=An+1$zi+Vu zj|WAV*R4CXZQ?eR zJi_d4xAqP)tJ@*UJlNe^h4ZyS%qBIm=3@m@Q8c9aiQHSDdD~jgE{Yv2p)$6&`}Y`h zB8MHvJV;v)rhT~ikvjiZHmJYFkuqeUhXI^us@HAJc4uh0-(R|fV!u8FQRhJ`q3oAo)| zQIsV3k+PfIgD*@*Hh619P{AkC*M<1bVYxO%5D}ELvv~hO-)rZBUV?i{ybRUcDM~v8 zrZfq=yBzZkCaE$H!6j0Cs%8#WE@nP^CzvDgT_A^wG?mBn6uLGY6^$(1xP$^3&P@0cmh7Sk$1Q~$h@ zbT#*`_o^2R%&U)@zMY`xF$vSE%+zJnns%`nO85Vg$W3BD-zBaS7toKG;#J>j1<5?! z6>efwsPDk(G6zB!WyeFZVp+`C0^=>P^o24Zth2G;>@)j}Bou}z;4>k-bh$!#xkUXs zGO9)2Y8I+rq*J%hx_K(N43}Jk6uiaui?j z=wAKf2`ZL2WYDkp(2Q;2Y@-l~txym3I) zE;O`lY8^KCj2?00v_?rRR03RXL`K5!u6Zo<{g91q%jTX1J0Vs`Y;a=NcB|mhh162P zN``bwFflM8FbM_)D-Ht!8U+9Z6i{?2vQkpV2VE+yz?=iYP?32ud;|!|jid3gVgBy| G0tf*5O3DcU diff --git a/tests/standalone/io/certificates/trusted_certs.pem b/tests/standalone/io/certificates/trusted_certs.pem deleted file mode 100644 index 8b5bf3e7e29..00000000000 --- a/tests/standalone/io/certificates/trusted_certs.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC+zCCAeOgAwIBAgIBATANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1yb290 -YXV0aG9yaXR5MB4XDTE1MTAyNzEwMjYzNFoXDTI1MTAyNDEwMjYzNFowGDEWMBQG -A1UEAwwNcm9vdGF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAMl+dcraUM/E7E6zl7+7hK9oUJYXJLnfiMtP/TRFVbH4+2aEN8vXzPbzKdR3 -FfaHczXQTwnTCaYA4u4uSDvSOsFFEfxEwYORsdKmQEM8nGpVX2NVvKsMcGIhh8kh -ZwJfkMIOcAxmGIHGdMhF8VghonJ8uGiuqktxdfpARq0g3fqIjDHsF9/LpfshUfk9 -wsRyTF0yr90U/dsfnE+u8l7GvVl8j2Zegp0sagAGtLaNv7tP17AibqEGg2yDBrBN -9r9ihe4CqMjx+Q2kQ2S9Gz2V2ReO/n6vm2VQxsPRB/lV/9jh7cUcS0/9mggLYrDy -cq1v7rLLQrWuxMz1E3gOhyCYJ38CAwEAAaNQME4wHQYDVR0OBBYEFHEPkNAdOa2k -MUoM6Ix/kUCLq99vMB8GA1UdIwQYMBaAFHEPkNAdOa2kMUoM6Ix/kUCLq99vMAwG -A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABrhjnWC6b+z9Kw73C/niOwo -9sPdufjS6tb0sCwDjt3mjvE4NdNWt+/+ZOugW6dqtvqhtqZM1q0u9pJkNwIrqgFD -ZHcfNaf31G6Z2YE+Io7woTVw6fFobg/EFo+a/qwbvWL26McmiRL5yiSBjVjpX4a5 -kdZ+aPQUCBaLrTWwlCDqzSVIULWUQvveRWbToMFKPNID58NtEpymAx3Pgir7YjV9 -UnlU2l5vZrh1PTCqZxvC/IdRESUfW80LdHaeyizRUP+6vKxGgSz2MRuYINjbd6GO -hGiCpWlwziW2xLV1l2qSRLko2kIafLZP18N0ThM9zKbU5ps9NgFOf//wqSGtLaE= ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/trusted_certs_malformed.pem b/tests/standalone/io/certificates/trusted_certs_malformed.pem deleted file mode 100644 index f96698ef008..00000000000 --- a/tests/standalone/io/certificates/trusted_certs_malformed.pem +++ /dev/null @@ -1,8 +0,0 @@ -MIIC+zCCAeOgAwIBAgIBATANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1yb290 -YXV0aG9yaXR5MB4XDTE1MTAyNzEwMjYzNFoXDTI1MTAyNDEwMjYzNFowGDEWMBQG -A1UEAwwNcm9vdGF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAMl+dcraUM/E7E6zl7+7hK9oUJYXJLnfiMtP/TRFVbH4+2aEN8vXzPbzKdR3 -FfaHczXQTwnTCaYA4u4uSDvSOsFFEfxEwYORsdKmQEM8nGpVX2NVvKsMcGIhh8kh -ZwJfkMIOcAxmGIHGdMhF8VghonJ8uGiuqktxdfpARq0g3fqIjDHsF9/LpfshUfk9 -wsRyTF0yr90U/dsfnE+u8l7GvVl8j2Zegp0sagAGtLaNv7tP17AibqEGg2yDBrBN -a diff --git a/tests/standalone/io/certificates/untrusted_server_chain.pem b/tests/standalone/io/certificates/untrusted_server_chain.pem deleted file mode 100644 index ff6e5685edd..00000000000 --- a/tests/standalone/io/certificates/untrusted_server_chain.pem +++ /dev/null @@ -1,59 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDDBVpbnRl -cm1lZGlhdGVhdXRob3JpdHkwHhcNMTUxMDE5MTE1NTEyWhcNMjUxMDE2MTE1NTEy -WjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQDca2l3VIWhnlTqazrA07hiHjgXACUYS/nVox+a2Jar383kBz2kzN6B -u4K7IwD2msym2IOBp1YT9OKPh9/KkSGvpPelu7ToCoehala32W+0ozh53CR8IpzQ -tmh7J9oHtN2PcbLgEzHfAWyrY3xp9RpWUONjxoG8xXPedNsZL0Rj65Z3fKAjOypl -+XJsgrqrNNAi3x0OMdhextMmLrYl+YQjgdND8UpykTSc8Q0vwngDZuLH/Nhx0cAA -Ade0Zf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pK3qtaViR/aF8I2vHZQm0IEoJc -Y1NUMF3F50d6fMYCkEoORAkC0d7iAwTprhBdIg35+TxwGObcStrohDtEgwFmFRzg -LtYeXiU0t0dBWOOQ9k2f9VGqbzKwZ2dbhOHSTXMTFoEcMStbeFc++oiOLY+QSq/J -Xd/BXqvwVM3Mt+OwLvyUu45Kw18ENo77qubIPJUwoyaf+N2nFRqcc7bmNy0Wvk2Q -StvQXy6DpN3KOoZx/sR7Ff8hYuHXcxbSsJ1hOO+tIJyOZyEJvU2BBOYVlKr4E4JU -mkex0CM1IfIFqfcEkbvjwLjaojsCAwEAAaNQME4wHQYDVR0OBBYEFGnP6NEr2Iaq -KOsv/hYKwawiPGgRMB8GA1UdIwQYMBaAFGnP6NEr2IaqKOsv/hYKwawiPGgRMAwG -A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJKl4RCEaXwtosNeurZlS3b9 -owXdsXDRdnfEawcc//AbRkrS4bHCQyOJNp/3DibEKkeAXCJrJ5cvXRjE5gb3Q+rl -0AqziLY15xuMAxUK3zv0e8Zir21PQzQ9x8zbmlucEoT/jn7KvMSSqfEoer77cXev -BpmQDQzE3FNgKohmHIzIDoTPiU3ahv6x8IhJ1e47UmRsSPFgtqglHcdCYIEclXpY -bHvctT6+pFZuJfIs9+BATMXPJWSX7NhlMcnyP+xdDxDKuF/nwVFy6xA+njuWnnZT -TyiGCnx+u/VpKzOrwMfzv2DW8Db80UERoox5n6QNQLnXNWPMddUL92/p9lMzWJY= ------END CERTIFICATE----- diff --git a/tests/standalone/io/certificates/untrusted_server_key.pem b/tests/standalone/io/certificates/untrusted_server_key.pem deleted file mode 100644 index 29a9e327c8f..00000000000 --- a/tests/standalone/io/certificates/untrusted_server_key.pem +++ /dev/null @@ -1,29 +0,0 @@ ------BEGIN ENCRYPTED PRIVATE KEY----- -MIIE5TAcBgoqhkiG9w0BDAEBMA4ECKAry4fwmB/TAgIIAASCBMNsKbVVvIs/l6/N -/1J9WXSiA1gnR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qdGyUY5eURtsCnVrtG/1p -pAXyY/0vAksfDPjMChKLKxZ7rBbscoNzr2f7Vw4CTnIpaxA4eLEx6UdpG4/5RzYJ -0YuR+SzCkuNti7uZGi9DCGkZkYl6VndatW+Pk/+JVBexdKt6MsER6aVsS8ev9UbW -JG+2C8bjMlfKy21644KwYOtZbVcE9jwlsz8w+e6YbOzBvbwiPmoCi0xcMxRJPa2y -cKMrs2hSKmhUP6uIH0b0qNcHEPA32mVzGC0MToC5R+yb6OdyvoEsisqS7tEAMfTJ -0yowcZr2lPehaMr4efSB8JY6DuofitfgI6X6bmiIPQ9v//djxhkxkRAbpTRGmFZx -1YIKDa72S8jUxHWlVvmoqTWI8T+jltF2pYBctS6IMKEot/CcBCHb5l1zfMyo5a0x -73ooh5tq+vRWJGaLRMj66VVSWGQoJmfAGwWpjBpTLa0UQoHO0/J1IbfjFOj5HV3J -bscmoGWhVwuJM5ActB0MOvXGQe9mf2X4p/1Rp+yBuipH1SJzFEzbOZ3kE50Z6aXH -CoJJOKkcuf43 ------END ENCRYPTED PRIVATE KEY----- diff --git a/tests/standalone/io/dart_std_io_pipe_test.sh b/tests/standalone/io/dart_std_io_pipe_test.sh deleted file mode 100755 index 7caa1edabe4..00000000000 --- a/tests/standalone/io/dart_std_io_pipe_test.sh +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/bash - -# This script expects the following arguments -# $1: Path to dart executable -# $2: Path to dart echoing script -# $3: Argument to dart echoing script (0, 1 or 2) -# $4: File for output from piping stdout and stderr -# $5: File prefix for output from redirecting stdout and stderr to a file. -# $6: Stdio type of stdin - -# Test piping and stdio file redirection. -echo "Hello" | $1 $2 $3 pipe pipe pipe 2>&1 | cat - > $4 -$1 $2 $3 $6 file file < $4 > $5.stdout 2> $5.stderr -$1 $2 $3 $6 file file < $4 >> $5.stdout 2>> $5.stderr -$1 $2 $3 $6 terminal terminal < $4 > /dev/null 2> /dev/null -$1 $2 $3 $6 terminal pipe < $4 2>&1 > /dev/null -$1 $2 $3 $6 terminal terminal < $4 > /dev/null 2>&1 diff --git a/tests/standalone/io/directory_invalid_arguments_test.dart b/tests/standalone/io/directory_invalid_arguments_test.dart deleted file mode 100644 index 7b67ae35254..00000000000 --- a/tests/standalone/io/directory_invalid_arguments_test.dart +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import "dart:io"; - -import "package:async_helper/async_helper.dart"; -import "package:expect/expect.dart"; - -void testFailingList(Directory d, var recursive) { - asyncStart(); - int errors = 0; - d - .list(recursive: recursive) - .listen(() => Expect.fail("Unexpected listing result"), onError: (error) { - errors += 1; - }, onDone: () { - Expect.equals(1, errors); - asyncEnd(); - }); - Expect.equals(0, errors); -} - -void testInvalidArguments() { - try { - Directory d = new Directory(12); - Expect.fail("No exception thrown"); - } catch (e) { - Expect.isTrue(e is ArgumentError); - } - Directory d = new Directory("."); - testFailingList(d, 1); - Expect.throws(() => d.listSync(recursive: 1), (e) => e is ArgumentError); -} - -main() { - testInvalidArguments(); -} diff --git a/tests/standalone/io/empty_file b/tests/standalone/io/empty_file deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/standalone/io/file_test.txt b/tests/standalone/io/file_test.txt deleted file mode 100644 index 4c2c0d169fe..00000000000 --- a/tests/standalone/io/file_test.txt +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -#include "bin/file.h" -#include "platform/assert.h" -#include "platform/globals.h" -#include "vm/unit_test.h" - -namespace dart { -namespace bin { - -// Helper method to be able to run the test from the runtime -// directory, or the top directory. -static const char* GetFileName(const char* name) { - if (File::Exists(name)) { - return name; - } else { - static const int kRuntimeLength = strlen("runtime/"); - return name + kRuntimeLength; - } -} - - -TEST_CASE(Read) { - const char* kFilename = GetFileName("runtime/bin/file_test.cc"); - File* file = File::Open(kFilename, File::kRead); - EXPECT(file != NULL); - char buffer[16]; - buffer[0] = '\0'; - EXPECT(file->ReadFully(buffer, 13)); // ReadFully returns true. - buffer[13] = '\0'; - EXPECT_STREQ("// Copyright ", buffer); - EXPECT(!file->WriteByte(1)); // Cannot write to a read-only file. - file->Release(); -} - - -TEST_CASE(FileLength) { - const char* kFilename = - GetFileName("runtime/tests/vm/data/fixed_length_file"); - File* file = File::Open(kFilename, File::kRead); - EXPECT(file != NULL); - EXPECT_EQ(42, file->Length()); - file->Release(); -} - - -TEST_CASE(FilePosition) { - char buf[42]; - const char* kFilename = - GetFileName("runtime/tests/vm/data/fixed_length_file"); - File* file = File::Open(kFilename, File::kRead); - EXPECT(file != NULL); - EXPECT(file->ReadFully(buf, 12)); - EXPECT_EQ(12, file->Position()); - EXPECT(file->ReadFully(buf, 6)); - EXPECT_EQ(18, file->Position()); - file->Release(); -} - -} // namespace bin -} // namespace dart diff --git a/tests/standalone/io/fixed_length_file b/tests/standalone/io/fixed_length_file deleted file mode 100644 index 52ce32d91b3..00000000000 --- a/tests/standalone/io/fixed_length_file +++ /dev/null @@ -1 +0,0 @@ -This file should contain exactly 42 bytes. \ No newline at end of file diff --git a/tests/standalone/io/fixed_length_file_invalid_arguments b/tests/standalone/io/fixed_length_file_invalid_arguments deleted file mode 100644 index 52ce32d91b3..00000000000 --- a/tests/standalone/io/fixed_length_file_invalid_arguments +++ /dev/null @@ -1 +0,0 @@ -This file should contain exactly 42 bytes. \ No newline at end of file diff --git a/tests/standalone/io/fixed_length_file_invalid_arguments_out b/tests/standalone/io/fixed_length_file_invalid_arguments_out deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/standalone/io/internet_address_invalid_arguments_test.dart b/tests/standalone/io/internet_address_invalid_arguments_test.dart deleted file mode 100644 index 85e18cb64c8..00000000000 --- a/tests/standalone/io/internet_address_invalid_arguments_test.dart +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:io'; - -import "package:expect/expect.dart"; - -void testIllegalArguments() { - var args = [ - null, - 1, - 1.1, - new Object(), - [], - {'a': '127.0.0.1'}, - "", - ".", - ":", - ":::" - ]; - args.forEach((arg) { - Expect.throws(() => new InternetAddress(arg), (e) => e is ArgumentError); - }); -} - -void main() { - testIllegalArguments(); -} diff --git a/tests/standalone/io/ln.sh b/tests/standalone/io/ln.sh deleted file mode 100755 index 9a88c9091c4..00000000000 --- a/tests/standalone/io/ln.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file -# for details. All rights reserved. Use of this source code is governed by a -# BSD-style license that can be found in the LICENSE file. - -ln $1 $2 $3 diff --git a/tests/standalone/io/process_environment_lib.dart b/tests/standalone/io/process_environment_lib.dart deleted file mode 100644 index 7446236c06e..00000000000 --- a/tests/standalone/io/process_environment_lib.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:io'; - -void main() { - print(Platform.environment); -} diff --git a/tests/standalone/io/process_environment_test.dart b/tests/standalone/io/process_environment_test.dart deleted file mode 100644 index 1a6767d048b..00000000000 --- a/tests/standalone/io/process_environment_test.dart +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:convert'; -import 'dart:io'; -import 'package:expect/expect.dart'; -import 'package:path/path.dart' as path; - -const String childFile = 'process_environment_lib.dart'; -const String fakeKey = 'Artificial'; -const String fakeValue = 'fakepath'; - -void main() async { - Map environ = Platform.environment; - String baseDirectory = path.dirname(Platform.script.path); - //DETACHED PROCESS WITHOUT includeParentEnvironment - var WithoutEnviron = await Process.start( - Platform.executable, [path.join(baseDirectory, childFile)], - mode: ProcessStartMode.detachedWithStdio, - includeParentEnvironment: false, - environment: {fakeKey: fakeValue}); - - Map notInclude = new Map(); - await for (final line in WithoutEnviron.stdout - .transform(systemEncoding.decoder) - .transform(LineSplitter())) { - notInclude = RestoreToMap(line); - } - - //Ensure the child process has the passed environment - Expect.isTrue(notInclude.length >= 1); - Expect.isTrue(notInclude.keys.contains(fakeKey)); - - //DETACHED PROCESS WITH includeParentEnvironment - var WithEnviron = await Process.start( - Platform.executable, [path.join(baseDirectory, childFile)], - mode: ProcessStartMode.detachedWithStdio, - includeParentEnvironment: true, - environment: {fakeKey: fakeValue}); - - Map include = new Map(); - await for (final line in WithEnviron.stdout - .transform(systemEncoding.decoder) - .transform(LineSplitter())) { - include = RestoreToMap(line); - } - - //Parent environment and one fake path - Expect.isTrue(include.length == environ.length + 1); - Expect.isTrue(include[fakeKey] == fakeValue); -} - -Map RestoreToMap(String s) { - s = s.substring(1, s.length - 1); - Map result = new Map(); - for (String line in s.split(", ")) { - var i = line.indexOf(": "); - result.putIfAbsent(line.substring(0, i), () => line.substring(i + 2)); - } - return result; -} diff --git a/tests/standalone/io/process_invalid_arguments_test.dart b/tests/standalone/io/process_invalid_arguments_test.dart deleted file mode 100644 index 113443ed2d8..00000000000 --- a/tests/standalone/io/process_invalid_arguments_test.dart +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// -// Process test program to test that invalid arguments throw exceptions. - -import "package:expect/expect.dart"; -import "dart:io"; - -void main() { - Expect.throws(() => Process.start(["true"], []), (e) => e is ArgumentError); - Expect.throws(() => Process.start("true", "asdf"), (e) => e is ArgumentError); - Expect.throws( - () => Process.start("true", ["asdf", 1]), (e) => e is ArgumentError); - ; - Expect.throws(() => Process.start("true", [], workingDirectory: 23), - (e) => e is ArgumentError); - Expect.throws(() => Process.run("true", [], workingDirectory: 23), - (e) => e is ArgumentError); - - Process - .run("true", [], stdoutEncoding: 23) - .then((_) => Expect.fail("expected error"), onError: (_) {}); - - Process - .run("true", [], stderrEncoding: 23) - .then((_) => Expect.fail("expected error"), onError: (_) {}); -} diff --git a/tests/standalone/io/raw_secure_server_socket_argument_test.dart b/tests/standalone/io/raw_secure_server_socket_argument_test.dart deleted file mode 100644 index fde439da6bd..00000000000 --- a/tests/standalone/io/raw_secure_server_socket_argument_test.dart +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// -// VMOptions= -// VMOptions=--short_socket_read -// VMOptions=--short_socket_write -// VMOptions=--short_socket_read --short_socket_write - -import "package:expect/expect.dart"; -import "package:path/path.dart"; -import "dart:async"; -import "dart:io"; -import "dart:isolate"; - -const SERVER_ADDRESS = "127.0.0.1"; -const CERTIFICATE = "localhost_cert"; - -void testArguments() { - bool isArgOrTypeError(e) => e is ArgumentError || e is TypeError; - Expect.throws(() => RawSecureServerSocket.bind(SERVER_ADDRESS, 65536, null), - isArgOrTypeError); - Expect.throws(() => RawSecureServerSocket.bind(SERVER_ADDRESS, -1, null), - isArgOrTypeError); - Expect.throws( - () => RawSecureServerSocket.bind(SERVER_ADDRESS, 0, null, backlog: -1), - isArgOrTypeError); - Expect.throws( - () => RawSecureSocket.connect(SERVER_ADDRESS, null), isArgOrTypeError); - Expect.throws( - () => RawSecureSocket.connect(SERVER_ADDRESS, -1), isArgOrTypeError); - Expect.throws( - () => RawSecureSocket.connect(SERVER_ADDRESS, 345656), isArgOrTypeError); - Expect.throws( - () => RawSecureSocket.connect(SERVER_ADDRESS, 'hest'), isArgOrTypeError); - Expect.throws(() => RawSecureSocket.connect(null, 0), isArgOrTypeError); - Expect.throws( - () => - RawSecureSocket.connect(SERVER_ADDRESS, 0, onBadCertificate: 'hund'), - isArgOrTypeError); -} - -main() { - testArguments(); -} diff --git a/tests/standalone/io/read_as_text.dat b/tests/standalone/io/read_as_text.dat deleted file mode 100644 index db2cce6ae21..00000000000 --- a/tests/standalone/io/read_as_text.dat +++ /dev/null @@ -1 +0,0 @@ -λx. x diff --git a/tests/standalone/io/readline_test1.dat b/tests/standalone/io/readline_test1.dat deleted file mode 100644 index cfbbd0840b6..00000000000 --- a/tests/standalone/io/readline_test1.dat +++ /dev/null @@ -1,10 +0,0 @@ -# Test file with 10 lines and terminating line feed -# -Line 3 -Line 4 -Line 5 -Line 6 -Line 7 -Line 8 -Line 9 -Line 10 diff --git a/tests/standalone/io/readline_test2.dat b/tests/standalone/io/readline_test2.dat deleted file mode 100644 index 784dee2c520..00000000000 --- a/tests/standalone/io/readline_test2.dat +++ /dev/null @@ -1,10 +0,0 @@ -# Test file with 10 lines without terminating line feed -# -Line 3 -Line 4 -Line 5 -Line 6 -Line 7 -Line 8 -Line 9 -Line 10 \ No newline at end of file diff --git a/tests/standalone/io/readuntil_test.dat b/tests/standalone/io/readuntil_test.dat deleted file mode 100644 index aa117d27491..00000000000 --- a/tests/standalone/io/readuntil_test.dat +++ /dev/null @@ -1,2 +0,0 @@ -Hello Dart -wassup! diff --git a/tests/standalone/io/secure_socket_bad_data_test.dart b/tests/standalone/io/secure_socket_bad_data_test.dart deleted file mode 100644 index 2cf577783dc..00000000000 --- a/tests/standalone/io/secure_socket_bad_data_test.dart +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// -// VMOptions= -// VMOptions=--short_socket_read -// VMOptions=--short_socket_write -// VMOptions=--short_socket_read --short_socket_write - -import "dart:async"; -import "dart:io"; - -import "package:async_helper/async_helper.dart"; -import "package:expect/expect.dart"; - -InternetAddress HOST; -const CERTIFICATE = "localhost_cert"; - -// This test sends corrupt data in the middle of a secure network connection. -// This tests the error handling of RawSecureSocket. -// A RawSocket connection is upgraded to a secure connection, so that we -// have a reference to the underlying socket. Then we send some -// unencrypted data on it, in the middle of an encrypted data transfer. - -// This test creates a server and then connects a client to the server. -// After connecting, the connection is upgraded to a secure connection. -// The client writes data to the server, then writes unencrypted data -// on the underlying socket. When the server gets the unencrypted data, -// this causes an error in the NSS code. When the NSS code is in debug -// mode, bad data on the connection can cause an assertion failure, rather -// than an exception. - -const messageSize = 1000; - -List createTestData() { - List data = new List(messageSize); - for (int i = 0; i < messageSize; i++) { - data[i] = i & 0xff; - } - return data; -} - -void verifyTestData(List data) { - Expect.equals(messageSize, data.length); - List expected = createTestData(); - for (int i = 0; i < messageSize; i++) { - Expect.equals(expected[i], data[i]); - } -} - -Future runServer(RawSocket client) { - final completer = new Completer(); - final dataReceived = new List(messageSize); - int bytesRead = 0; - client.writeEventsEnabled = false; - client.listen((event) { - switch (event) { - case RawSocketEvent.read: - Expect.isTrue(client.available() > 0); - var buffer = client.read(200); - dataReceived.setRange(bytesRead, bytesRead + buffer.length, buffer); - bytesRead += buffer.length; - if (bytesRead == dataReceived.length) { - verifyTestData(dataReceived); - } - break; - case RawSocketEvent.write: - Expect.fail('WRITE event received'); - break; - case RawSocketEvent.readClosed: - Expect.fail('READ_CLOSED event received'); - client.shutdown(SocketDirection.send); - completer.complete(null); - break; - } - }, onError: (e) { - Expect.isTrue(e is TlsException); - Expect.isTrue(e.toString().contains( - 'received a record with an incorrect Message Authentication Code')); - completer.complete(null); - }); - return completer.future; -} - -Future runClient(List sockets) { - final RawSocket baseSocket = sockets[0]; - final RawSecureSocket socket = sockets[1]; - final data = createTestData(); - var completer = new Completer(); - void tryComplete() { - if (completer != null) { - completer.complete(null); - completer = null; - } - } - - int bytesWritten = 0; - socket.listen((event) { - switch (event) { - case RawSocketEvent.read: - Expect.fail('READ event received'); - break; - case RawSocketEvent.write: - if (bytesWritten < data.length) { - bytesWritten += socket.write(data, bytesWritten); - } - if (bytesWritten < data.length) { - socket.writeEventsEnabled = true; - } - if (bytesWritten == data.length) { - baseSocket.write(data, 0, 300); - socket.shutdown(SocketDirection.send); - } - break; - case RawSocketEvent.readClosed: - tryComplete(); - break; - } - }, onError: (e) { - Expect.isTrue(e is IOException); - tryComplete(); - }); - return completer.future; -} - -Future connectClient(int port, bool hostnameInConnect) => - RawSocket.connect(HOST, port).then((socket) => (hostnameInConnect - ? RawSecureSocket.secure(socket) - : RawSecureSocket.secure(socket, host: HOST)) - .then((secureSocket) => [socket, secureSocket])); - -Future test(bool hostnameInConnect) { - return RawServerSocket.bind(HOST, 0).then((server) { - server.listen((client) { - RawSecureSocket.secureServer(client, CERTIFICATE).then((secureClient) { - Expect.throws(() => client.add([0])); - return runServer(secureClient); - }, onError: (e) { - Expect.isTrue(e is HandshakeException); - }).whenComplete(server.close); - }); - return connectClient(server.port, hostnameInConnect).then(runClient); - }); -} - -main() { - asyncStart(); - InternetAddress.lookup("localhost").then((hosts) { - HOST = hosts.first; - return Future.wait([test(false), test(true)]); - }).then((_) => asyncEnd()); -} diff --git a/tests/standalone/io/security_context_argument_test.dart b/tests/standalone/io/security_context_argument_test.dart deleted file mode 100644 index d6f30ddec34..00000000000 --- a/tests/standalone/io/security_context_argument_test.dart +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// -// OtherResources=certificates/server_chain.pem -// OtherResources=certificates/server_key.pem -// OtherResources=certificates/server_key.p12 -// OtherResources=certificates/client1_key_malformed.pem -// OtherResources=certificates/trusted_certs_malformed.pem -// OtherResources=certificates/server_chain_malformed1.pem -// OtherResources=certificates/server_chain_malformed2.pem -// OtherResources=certificates/client_authority_malformed.pem - -import "package:expect/expect.dart"; -import "dart:io"; - -String localFile(path) => Platform.script.resolve(path).toFilePath(); - -bool printException(e) { - print(e); - return true; -} - -bool argumentError(e) => e is ArgumentError; -bool argumentOrTypeError(e) => e is ArgumentError || e is TypeError; -bool fileSystemException(e) => e is FileSystemException; -bool tlsException(e) => e is TlsException; - -void testUsePrivateKeyArguments() { - var c = new SecurityContext(); - c.useCertificateChain(localFile('certificates/server_chain.pem')); - - // Wrong password. - Expect.throws(() => c.usePrivateKey(localFile('certificates/server_key.pem')), - tlsException); - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key.pem'), - password: "iHackSites"), - tlsException); - Expect.throws(() => c.usePrivateKey(localFile('certificates/server_key.p12')), - tlsException); - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key.p12'), - password: "iHackSites"), - tlsException); - Expect.throws( - () => c.setTrustedCertificates(localFile('certificates/server_key.p12')), - tlsException); - Expect.throws( - () => c.setTrustedCertificates(localFile('certificates/server_key.p12'), - password: "iHackSites"), - tlsException); - Expect.throws( - () => c.useCertificateChain(localFile('certificates/server_key.p12')), - tlsException); - Expect.throws( - () => c.useCertificateChain(localFile('certificates/server_key.p12'), - password: "iHackSites"), - tlsException); - Expect.throws( - () => c.setClientAuthorities(localFile('certificates/server_key.p12')), - tlsException); - Expect.throws( - () => c.setClientAuthorities(localFile('certificates/server_key.p12'), - password: "iHackSites"), - tlsException); - - // File does not exist - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key_oops.pem'), - password: "dartdart"), - fileSystemException); - - // Wrong type for file name or data - Expect.throws(() => c.usePrivateKey(1), argumentOrTypeError); - Expect.throws(() => c.usePrivateKey(null), argumentError); - Expect.throws(() => c.usePrivateKeyBytes(1), argumentOrTypeError); - Expect.throws(() => c.usePrivateKeyBytes(null), argumentError); - - // Too-long passwords. - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key.pem'), - password: "dart" * 1000), - argumentError); - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key.p12'), - password: "dart" * 1000), - argumentOrTypeError); - Expect.throws( - () => c.setTrustedCertificates(localFile('certificates/server_key.p12'), - password: "dart" * 1000), - argumentOrTypeError); - Expect.throws( - () => c.useCertificateChain(localFile('certificates/server_key.p12'), - password: "dart" * 1000), - argumentOrTypeError); - Expect.throws( - () => c.setClientAuthorities(localFile('certificates/server_key.p12'), - password: "dart" * 1000), - argumentOrTypeError); - - // Bad password type. - Expect.throws( - () => c.usePrivateKey(localFile('certificates/server_key.pem'), - password: 3), - argumentOrTypeError); - Expect.throws( - () => c.setTrustedCertificatesBytes( - localFile('certificates/server_key.pem'), - password: 3), - argumentOrTypeError); - Expect.throws( - () => c.useCertificateChainBytes(localFile('certificates/server_key.pem'), - password: 3), - argumentOrTypeError); - Expect.throws( - () => c.setClientAuthoritiesBytes( - localFile('certificates/server_key.pem'), - password: 3), - argumentOrTypeError); - - // Empty data. - Expect.throws( - () => c.usePrivateKeyBytes([], password: 'dartdart'), tlsException); - Expect.throws(() => c.setTrustedCertificatesBytes([]), tlsException); - Expect.throws(() => c.useCertificateChainBytes([]), tlsException); - Expect.throws(() => c.setClientAuthoritiesBytes([]), tlsException); - - // Malformed PEM certs. - Expect.throws( - () => c.usePrivateKey(localFile('certificates/client1_key_malformed.pem'), - password: "dartdart"), - tlsException); - Expect.throws( - () => c.setTrustedCertificates( - localFile('certificates/trusted_certs_malformed.pem')), - tlsException); - Expect.throws( - () => c.useCertificateChain( - localFile('certificates/server_chain_malformed1.pem')), - tlsException); - Expect.throws( - () => c.useCertificateChain( - localFile('certificates/server_chain_malformed2.pem')), - tlsException); - Expect.throws( - () => c.setClientAuthorities( - localFile('certificates/client_authority_malformed.pem')), - tlsException); -} - -void main() { - testUsePrivateKeyArguments(); -} diff --git a/tests/standalone/io/stdout_bad_argument_test.dart b/tests/standalone/io/stdout_bad_argument_test.dart deleted file mode 100644 index 24b2965be51..00000000000 --- a/tests/standalone/io/stdout_bad_argument_test.dart +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import "dart:io"; - -main() { - stdout.add("Hello\n"); - stdout.done.catchError((e) { - exit(0); - }); - stdin.listen(print); -} diff --git a/tests/standalone/no_assert_test.dart b/tests/standalone/no_assert_test.dart deleted file mode 100644 index 825578b590d..00000000000 --- a/tests/standalone/no_assert_test.dart +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// VMOptions=--no-enable_asserts --enable_type_checks - -// Ensure that enabling of type checks does not automatically enable asserts. - -main() { - assert(false); - try { - int i = "String"; - throw "FAIL"; - } on TypeError catch (e) { - print("PASS"); - } -} diff --git a/tests/standalone/standalone.status b/tests/standalone/standalone.status deleted file mode 100644 index ee1bf10b7a6..00000000000 --- a/tests/standalone/standalone.status +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file -# for details. All rights reserved. Use of this source code is governed by a -# BSD-style license that can be found in the LICENSE file. -# WARNING: -# Tests using the multitest feature where failure is expected should *also* be -# listed in tests/lib/analyzer/analyze_tests.status without the "standalone" -# prefix. - -*: SkipByDesign # Deprecating Dart1 tests. diff --git a/tests/standalone/io/disable_exit_test.dart b/tests/standalone_2/io/disable_exit_test.dart similarity index 100% rename from tests/standalone/io/disable_exit_test.dart rename to tests/standalone_2/io/disable_exit_test.dart diff --git a/tests/standalone/io/http_override_test.dart b/tests/standalone_2/io/http_override_test.dart similarity index 100% rename from tests/standalone/io/http_override_test.dart rename to tests/standalone_2/io/http_override_test.dart diff --git a/tests/standalone/io/https_bad_certificate_test.dart b/tests/standalone_2/io/https_bad_certificate_test.dart similarity index 100% rename from tests/standalone/io/https_bad_certificate_test.dart rename to tests/standalone_2/io/https_bad_certificate_test.dart diff --git a/tests/standalone/io/io_override_test.dart b/tests/standalone_2/io/io_override_test.dart similarity index 98% rename from tests/standalone/io/io_override_test.dart rename to tests/standalone_2/io/io_override_test.dart index 1e5983a5c1d..2d562021bed 100644 --- a/tests/standalone/io/io_override_test.dart +++ b/tests/standalone_2/io/io_override_test.dart @@ -5,6 +5,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; +import 'dart:typed_data'; import "package:expect/expect.dart"; @@ -69,8 +70,8 @@ class FileMock extends FileSystemEntity implements File { Stream> openRead([int start, int end]) => null; IOSink openWrite({FileMode mode: FileMode.write, Encoding encoding: utf8}) => null; - Future> readAsBytes() => null; - List readAsBytesSync() => null; + Future readAsBytes() => null; + Uint8List readAsBytesSync() => null; Future readAsString({Encoding encoding: utf8}) => null; String readAsStringSync({Encoding encoding: utf8}) => null; Future> readAsLines({Encoding encoding: utf8}) => null; @@ -140,7 +141,7 @@ class LinkMock extends FileSystemEntity implements Link { LinkMock(String path); - static createLink(String path) => new LinkMock(path); + static Link createLink(String path) => new LinkMock(path); Future create(String target, {bool recursive: false}) => null; void createSync(String target, {bool recursive: false}) {} diff --git a/tests/standalone/io/raw_secure_server_socket_test.dart b/tests/standalone_2/io/raw_secure_server_socket_test.dart similarity index 97% rename from tests/standalone/io/raw_secure_server_socket_test.dart rename to tests/standalone_2/io/raw_secure_server_socket_test.dart index 0273c5deebc..51afb74af2f 100644 --- a/tests/standalone/io/raw_secure_server_socket_test.dart +++ b/tests/standalone_2/io/raw_secure_server_socket_test.dart @@ -107,9 +107,9 @@ void testSimpleConnectFail(SecurityContext context, bool cancelOnError) { print("asyncStart testSimpleConnectFail $counter"); asyncStart(); RawSecureServerSocket.bind(HOST, 0, context).then((server) { - var clientEndFuture = RawSecureSocket - .connect(HOST, server.port, context: clientContext) - .then((clientEnd) { + var clientEndFuture = + RawSecureSocket.connect(HOST, server.port, context: clientContext) + .then((clientEnd) { Expect.fail("No client connection expected."); }).catchError((error) { Expect.isTrue(error is SocketException || error is HandshakeException); @@ -291,7 +291,7 @@ void testSimpleReadWrite( } Future runClient(RawSocket socket) { - var completer = new Completer(); + var completer = new Completer(); int bytesRead = 0; int bytesWritten = 0; List dataSent = createTestData(); @@ -405,8 +405,9 @@ void testSimpleReadWrite( return completer.future; } - Future runClientHandshake(RawSocket socket) { - var completer = new Completer(); + Future> runClientHandshake( + RawSocket socket) { + var completer = new Completer>(); int bytesRead = 0; int bytesWritten = 0; List dataSent = createHandshakeTestData(); @@ -480,8 +481,7 @@ void testSimpleReadWrite( }); } else { runServerHandshake(client).then((secure) { - RawSecureSocket - .secureServer(client, serverContext, + RawSecureSocket.secureServer(client, serverContext, subscription: secure[0], bufferedData: secure[1]) .then((client) { runServer(client).then((_) => server.close()); @@ -528,8 +528,8 @@ testPausedSecuringSubscription(bool pausedServer, bool pausedClient) { } try { - RawSecureSocket - .secureServer(client, serverContext, subscription: subscription) + RawSecureSocket.secureServer(client, serverContext, + subscription: subscription) .catchError((_) {}) .whenComplete(() { if (pausedServer) { @@ -556,8 +556,7 @@ testPausedSecuringSubscription(bool pausedServer, bool pausedClient) { subscription.pause(); } try { - RawSecureSocket - .secure(socket, subscription: subscription) + RawSecureSocket.secure(socket, subscription: subscription) .catchError((_) {}) .whenComplete(() { if (pausedClient) { diff --git a/tests/standalone/io/sleep_test.dart b/tests/standalone_2/io/sleep_test.dart similarity index 100% rename from tests/standalone/io/sleep_test.dart rename to tests/standalone_2/io/sleep_test.dart diff --git a/tests/standalone/io/socket_invalid_arguments_test.dart b/tests/standalone_2/io/socket_invalid_arguments_test.dart similarity index 90% rename from tests/standalone/io/socket_invalid_arguments_test.dart rename to tests/standalone_2/io/socket_invalid_arguments_test.dart index 5da94e3c874..3e8b8896c4e 100644 --- a/tests/standalone/io/socket_invalid_arguments_test.dart +++ b/tests/standalone_2/io/socket_invalid_arguments_test.dart @@ -13,16 +13,10 @@ class NotAnInteger { operator +(other) => 1; } -class NotAList { - get length => 10; - operator [](index) => 1; -} - testSocketCreation(host, port) { asyncStart(); try { - Socket - .connect(host, port) + Socket.connect(host, port) .then((socket) => Expect.fail("Shouldn't get connected")) .catchError((e) { Expect.isTrue(e is ArgumentError || e is SocketException); @@ -71,22 +65,20 @@ testServerSocketCreation(address, port, backlog) { } main() { - testSocketCreation(123, 123); + asyncStart(); testSocketCreation("string", null); testSocketCreation(null, null); testSocketCreation("localhost", -1); testSocketCreation("localhost", 65536); testAdd(null); - testAdd(new NotAList()); - testAdd(42); // TODO(8233): Throw ArgumentError from API implementation. // testAdd([-1]); // testAdd([2222222222222222222222222222222]); // testAdd([1, 2, 3, null]); // testAdd([new NotAnInteger()]); - testServerSocketCreation(123, 123, 123); testServerSocketCreation("string", null, null); testServerSocketCreation("string", 123, null); testServerSocketCreation("localhost", -1, 123); testServerSocketCreation("localhost", 65536, 123); + asyncEnd(); } diff --git a/tests/standalone/priority_queue_stress_test.dart b/tests/standalone_2/priority_queue_stress_test.dart similarity index 94% rename from tests/standalone/priority_queue_stress_test.dart rename to tests/standalone_2/priority_queue_stress_test.dart index 43b3929cb9b..76119b731b3 100644 --- a/tests/standalone/priority_queue_stress_test.dart +++ b/tests/standalone_2/priority_queue_stress_test.dart @@ -15,10 +15,10 @@ abstract class Priority implements Comparable { /** * Return < 0 if other is bigger, >0 if other is smaller, 0 if they are equal. */ - int compareTo(Priority other); - bool operator <(Priority other) => compareTo(other) < 0; - bool operator >(Priority other) => compareTo(other) > 0; - bool operator ==(Priority other) => compareTo(other) == 0; + int compareTo(dynamic other); + bool operator <(dynamic other) => compareTo(other) < 0; + bool operator >(dynamic other) => compareTo(other) > 0; + bool operator ==(dynamic other) => compareTo(other) == 0; } /** @@ -28,7 +28,7 @@ class IntPriority extends Priority { int priority; IntPriority(int this.priority); - int compareTo(IntPriority other) { + int compareTo(dynamic other) { return priority - other.priority; } @@ -47,7 +47,7 @@ class StringTypedElement extends TypedElement { String type; V value; StringTypedElement(String this.type, V this.value); - bool typeEquals(String otherType) => otherType == type; + bool typeEquals(dynamic otherType) => otherType == type; String toString() => ""; } @@ -175,7 +175,7 @@ class RestrictViewPriorityQueue { void add(N value, P priority) { for (var queue in restrictedQueues) { - if (queue.first.value == value) { + if ((queue.first as StringTypedElement).value == value) { queue.add(value, priority); } } @@ -219,7 +219,7 @@ class RestrictViewPriorityQueue { * If the queue is not empty, but no node exists that adheres to the * restrictions we return null. */ - N removeFirst({List restrictions: const []}) { + N removeFirst({List restrictions: const []}) { if (isEmpty) throw "Trying to remove node from empty queue"; var candidate = getRestricted(restrictions); @@ -237,7 +237,7 @@ class RestrictViewPriorityQueue { return current; } else { var restrictedQueue = restrictedQueues.firstWhere( - (e) => current.typeEquals(e.first.type), + (e) => current.typeEquals((e.first as StringTypedElement).type), orElse: () => null); if (restrictedQueue == null) { restrictedQueue = new PriorityQueue(); @@ -283,7 +283,7 @@ void stress(queue) { new StringTypedElement('drt', 'fisk') ]; - var restricted = ['safari', 'chrome']; + var restricted = [values[0], values[4]]; void addRandom() { queue.add(values[random.nextInt(values.length)], diff --git a/tests/standalone/verbose_gc_to_bmu_script.dart b/tests/standalone_2/verbose_gc_to_bmu_script.dart similarity index 100% rename from tests/standalone/verbose_gc_to_bmu_script.dart rename to tests/standalone_2/verbose_gc_to_bmu_script.dart diff --git a/tests/standalone/verbose_gc_to_bmu_test.dart b/tests/standalone_2/verbose_gc_to_bmu_test.dart similarity index 96% rename from tests/standalone/verbose_gc_to_bmu_test.dart rename to tests/standalone_2/verbose_gc_to_bmu_test.dart index 884e1397364..860e5eb09d5 100644 --- a/tests/standalone/verbose_gc_to_bmu_test.dart +++ b/tests/standalone_2/verbose_gc_to_bmu_test.dart @@ -15,8 +15,7 @@ import "dart:io"; import "package:path/path.dart"; // Tool script relative to the path of this test. -var toolScript = Uri - .parse(Platform.executable) +var toolScript = Uri.parse(Platform.executable) .resolve("../../runtime/tools/verbose_gc_to_bmu.dart") .toFilePath(); @@ -48,7 +47,7 @@ void main() { process.stderr.transform(utf8.decoder).transform(new LineSplitter()); // Wait for 3 future events: stdout and stderr streams closed, and // process terminated. - var futures = []; + var futures = []; var stdoutLines = []; var stderrLines = []; var subscription = stdoutStringStream.listen(stdoutLines.add); diff --git a/tools/bots/dart2js_d8_hostchecked_tests.isolate b/tools/bots/dart2js_d8_hostchecked_tests.isolate index eae91c9408c..a655196b59b 100644 --- a/tools/bots/dart2js_d8_hostchecked_tests.isolate +++ b/tools/bots/dart2js_d8_hostchecked_tests.isolate @@ -28,7 +28,6 @@ 'tests/lib_2/', 'tests/light_unittest.dart', 'tests/search/', - 'tests/standalone/', 'tests/standalone_2/', 'pkg/async_helper/', 'pkg/compiler/', diff --git a/tools/bots/dart_tests.isolate b/tools/bots/dart_tests.isolate index 701d270f774..8d72bf39537 100644 --- a/tools/bots/dart_tests.isolate +++ b/tools/bots/dart_tests.isolate @@ -21,7 +21,6 @@ 'tests/lib_2/', 'tests/light_unittest.dart', 'tests/search/', - 'tests/standalone/', 'tests/standalone_2/', 'pkg/async_helper/', 'pkg/browser/', diff --git a/tools/bots/test_matrix.json b/tools/bots/test_matrix.json index fd499cb4926..8650c953bc8 100644 --- a/tools/bots/test_matrix.json +++ b/tools/bots/test_matrix.json @@ -41,7 +41,6 @@ "tests/lib_2/", "tests/light_unittest.dart", "tests/search/", - "tests/standalone/", "tests/standalone_2/", "tests/ffi/", "third_party/babel/babel.min.js", @@ -79,7 +78,6 @@ "tests/lib_2/", "tests/light_unittest.dart", "tests/search/", - "tests/standalone/", "tests/standalone_2/", "tests/ffi/", "third_party/babel/babel.min.js", @@ -120,7 +118,6 @@ "tests/lib_2/", "tests/light_unittest.dart", "tests/search/", - "tests/standalone/", "tests/standalone_2/", "tests/ffi/", "third_party/d8/", @@ -158,7 +155,6 @@ "tests/lib_2/", "tests/light_unittest.dart", "tests/search/", - "tests/standalone/", "tests/standalone_2/", "tests/ffi/", "third_party/d8/", @@ -261,7 +257,6 @@ "tests/lib_2/", "tests/light_unittest.dart", "tests/search/", - "tests/standalone/", "tests/standalone_2/", "tests/ffi/", "pkg/async_helper/",