Spelling tests standalone
Closes https://github.com/dart-lang/sdk/pull/50863 GitOrigin-RevId: e514be37c7f3b48cbce1048c359df00be7d2b18a Change-Id: I45ad308db60a5935f18a877f5480874acfef0efd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277780 Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
committed by
Alexander Thomas
parent
2ffbc88fc6
commit
b3df0a4bd5
@@ -3,7 +3,7 @@
|
||||
# BSD-style license that can be found in the LICENSE.md file.
|
||||
|
||||
main.dart.patch: |
|
||||
// Test that we can tear off an exisiting instance method
|
||||
// Test that we can tear off an existing instance method
|
||||
|
||||
class C {
|
||||
m(String s) {
|
||||
|
||||
+1
-1
@@ -193,7 +193,7 @@ We can know that `container` meets the last property if `container` is the resul
|
||||
|
||||
```
|
||||
container <- AllocateObject
|
||||
<intructions that do not trigger GC>
|
||||
<instructions that do not trigger GC>
|
||||
StoreInstanceField(container, value, NoBarrier)
|
||||
```
|
||||
|
||||
|
||||
@@ -3228,7 +3228,7 @@
|
||||
"../../../tests/standalone/io/client_socket_add_close_no_error_test.dart",
|
||||
"../../../tests/standalone/io/client_socket_add_close_result_error_test.dart",
|
||||
"../../../tests/standalone/io/client_socket_add_destroy_no_error_test.dart",
|
||||
"../../../tests/standalone/io/client_socket_destory_no_error_test.dart",
|
||||
"../../../tests/standalone/io/client_socket_destroy_no_error_test.dart",
|
||||
"../../../tests/standalone/io/client_socket_exception_test.dart",
|
||||
"../../../tests/standalone/io/compile_all_test.dart",
|
||||
"../../../tests/standalone/io/create_recursive_test.dart",
|
||||
@@ -3285,7 +3285,7 @@
|
||||
"../../../tests/standalone/io/http_parser_header_add_test.dart",
|
||||
"../../../tests/standalone/io/http_proxy_close_test.dart",
|
||||
"../../../tests/standalone/io/http_proxy_configuration_test.dart",
|
||||
"../../../tests/standalone/io/http_request_pipeling_test.dart",
|
||||
"../../../tests/standalone/io/http_request_pipelining_test.dart",
|
||||
"../../../tests/standalone/io/http_requested_uri_test.dart",
|
||||
"../../../tests/standalone/io/http_response_deadline_test.dart",
|
||||
"../../../tests/standalone/io/http_session_test.dart",
|
||||
@@ -3334,7 +3334,7 @@
|
||||
"../../../tests/standalone/io/socket_cancel_connect_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_consume_close_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_consume_write_close_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_immediate_destory_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_immediate_destroy_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_stream_close_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_stream_data_close_cancel_test.dart",
|
||||
"../../../tests/standalone/io/socket_connect_stream_data_close_test.dart",
|
||||
@@ -6547,7 +6547,7 @@
|
||||
"../../../tests/standalone_2/io/client_socket_add_close_no_error_test.dart",
|
||||
"../../../tests/standalone_2/io/client_socket_add_close_result_error_test.dart",
|
||||
"../../../tests/standalone_2/io/client_socket_add_destroy_no_error_test.dart",
|
||||
"../../../tests/standalone_2/io/client_socket_destory_no_error_test.dart",
|
||||
"../../../tests/standalone_2/io/client_socket_destroy_no_error_test.dart",
|
||||
"../../../tests/standalone_2/io/client_socket_exception_test.dart",
|
||||
"../../../tests/standalone_2/io/compile_all_test.dart",
|
||||
"../../../tests/standalone_2/io/create_recursive_test.dart",
|
||||
@@ -6604,7 +6604,7 @@
|
||||
"../../../tests/standalone_2/io/http_parser_header_add_test.dart",
|
||||
"../../../tests/standalone_2/io/http_proxy_close_test.dart",
|
||||
"../../../tests/standalone_2/io/http_proxy_configuration_test.dart",
|
||||
"../../../tests/standalone_2/io/http_request_pipeling_test.dart",
|
||||
"../../../tests/standalone_2/io/http_request_pipelining_test.dart",
|
||||
"../../../tests/standalone_2/io/http_requested_uri_test.dart",
|
||||
"../../../tests/standalone_2/io/http_response_deadline_test.dart",
|
||||
"../../../tests/standalone_2/io/http_session_test.dart",
|
||||
@@ -6652,7 +6652,7 @@
|
||||
"../../../tests/standalone_2/io/socket_cancel_connect_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_consume_close_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_consume_write_close_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_immediate_destory_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_immediate_destroy_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_stream_close_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_stream_data_close_cancel_test.dart",
|
||||
"../../../tests/standalone_2/io/socket_connect_stream_data_close_test.dart",
|
||||
|
||||
@@ -80,16 +80,16 @@ dart/analyze_snapshot_binary_test: SkipSlow
|
||||
dart/appjit_cha_deopt_test: SkipSlow
|
||||
dart/hash_map_probes_limit_test: SkipSlow # Test includes large program compilation.
|
||||
dart/regress_40462_test: SkipSlow
|
||||
dart/regress_40753_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
dart/trigger_gc_in_native_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
dart/regress_40753_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
dart/trigger_gc_in_native_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
dart/use_strip_flag_test: Pass, Slow # This test can take a longer time to complete.
|
||||
dart/v8_snapshot_profile_writer_test: SkipSlow
|
||||
dart_2/analyze_snapshot_binary_test: SkipSlow
|
||||
dart_2/appjit_cha_deopt_test: SkipSlow
|
||||
dart_2/hash_map_probes_limit_test: SkipSlow # Test includes large program compilation.
|
||||
dart_2/regress_40462_test: SkipSlow
|
||||
dart_2/regress_40753_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
dart_2/trigger_gc_in_native_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
dart_2/regress_40753_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
dart_2/trigger_gc_in_native_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
dart_2/use_strip_flag_test: Pass, Slow # This test can take a longer time to complete.
|
||||
dart_2/v8_snapshot_profile_writer_test: SkipSlow
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ class _JsonRpcParser {
|
||||
/// [state] callback.
|
||||
int index = 0;
|
||||
|
||||
/// Position inside incomming chunk of data.
|
||||
/// Position inside incoming chunk of data.
|
||||
int pos = 0;
|
||||
|
||||
/// Current parser state.
|
||||
|
||||
@@ -331,7 +331,7 @@ class Label : public ZoneAllocated {
|
||||
// On ARM/ARM64 we track LR state: whether it contains return address or
|
||||
// whether it can be clobbered. To make sure that our tracking it correct
|
||||
// for non linear code sequences we additionally verify at labels that
|
||||
// incomming states are compatible.
|
||||
// incoming states are compatible.
|
||||
LRState lr_state_ = LRState::Unknown();
|
||||
|
||||
void UpdateLRState(LRState new_state) {
|
||||
|
||||
@@ -2345,7 +2345,7 @@ Assembler::Assembler(ObjectPoolBuilder* object_pool_builder,
|
||||
FLAG_use_compressed_instructions ? RV_GC : RV_G),
|
||||
constant_pool_allowed_(false) {
|
||||
generate_invoke_write_barrier_wrapper_ = [&](Register reg) {
|
||||
// Note this does not destory RA.
|
||||
// Note this does not destroy RA.
|
||||
lx(TMP,
|
||||
Address(THR, target::Thread::write_barrier_wrappers_thread_offset(reg)));
|
||||
jalr(TMP, TMP);
|
||||
|
||||
@@ -6847,7 +6847,7 @@ void FfiCallInstr::EmitParamMoves(FlowGraphCompiler* compiler,
|
||||
ConstantTemporaryAllocator temp_alloc(temp0);
|
||||
if (origin.IsConstant()) {
|
||||
// Can't occur because we currently don't inline FFI trampolines (see
|
||||
// http://dartbug.com/45055), which means all incomming arguments
|
||||
// http://dartbug.com/45055), which means all incoming arguments
|
||||
// originate from parameters and thus are non-constant.
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
@@ -2800,8 +2800,8 @@ class PhiInstr : public VariadicDefinition {
|
||||
DISALLOW_COPY_AND_ASSIGN(PhiInstr);
|
||||
};
|
||||
|
||||
// This instruction represents an incomming parameter for a function entry,
|
||||
// or incoming value for OSR entry or incomming value for a catch entry.
|
||||
// This instruction represents an incoming parameter for a function entry,
|
||||
// or incoming value for OSR entry or incoming value for a catch entry.
|
||||
// Value [index] always denotes the position of the parameter. When [base_reg]
|
||||
// is set to FPREG, value [index] corresponds to environment variable index
|
||||
// (0 is the very first parameter, 1 is next and so on). When [base_reg] is
|
||||
|
||||
@@ -1983,7 +1983,7 @@ void GuardFieldClassInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
||||
// field is still unitialized.
|
||||
__ cmpl(field_cid_operand, compiler::Immediate(kIllegalCid));
|
||||
// Jump to failure path when guard field has been initialized and
|
||||
// the field and value class ids do not not match.
|
||||
// the field and value class ids do not match.
|
||||
__ j(NOT_EQUAL, fail);
|
||||
|
||||
if (value_cid == kDynamicCid) {
|
||||
|
||||
@@ -4826,7 +4826,7 @@ TEST_CASE(IsolateReload_SuperGetterReboundToMethod) {
|
||||
// with multicomponent Kernel binary. When loading kernel blobs through tag
|
||||
// handler (Dart_kKernelTag) we need to make sure to preserve a link between
|
||||
// KernelProgramInfo objects and original typed data, because it might be
|
||||
// comming with a finalizer, which otherwise might end up being called
|
||||
// coming with a finalizer, which otherwise might end up being called
|
||||
// prematurely.
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ main() {
|
||||
var c2 = new C<int, double, int>();
|
||||
Expect.isFalse(c2.m1 is T1, "(int,double)->void is not (int,int)->void");
|
||||
Expect.isFalse(
|
||||
c2.m1 is T2, "(int,double)->void is not not (int,[int])->void");
|
||||
c2.m1 is T2, "(int,double)->void is not (int,[int])->void");
|
||||
Expect.isFalse(c2.m1 is T3, "(int,double)->void is not ([int,int])->void");
|
||||
Expect.isFalse(
|
||||
c2.m1 is T4, "(int,double)->void is not (int,[int,int])->void");
|
||||
|
||||
@@ -59,7 +59,7 @@ main() {
|
||||
var c2 = new C<int, double, int>();
|
||||
Expect.isFalse(c2.m1 is T1, "(int,double)->void is not (int,int)->void");
|
||||
Expect.isFalse(
|
||||
c2.m1 is T2, "(int,double)->void is not not (int,[int])->void");
|
||||
c2.m1 is T2, "(int,double)->void is not (int,[int])->void");
|
||||
Expect.isFalse(c2.m1 is T3, "(int,double)->void is not ([int,int])->void");
|
||||
Expect.isFalse(
|
||||
c2.m1 is T4, "(int,double)->void is not (int,[int,int])->void");
|
||||
|
||||
@@ -69,7 +69,7 @@ void testCreateTempInNonExistent(Directory temp, Function done) {
|
||||
bool checkDeleteNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
@@ -90,7 +90,7 @@ bool checkDeleteRecursivelyNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf("Deletion failed") != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -57,7 +57,7 @@ testRenameToExistingFile() async {
|
||||
final file = File("${tempDir.path}/file");
|
||||
file.createSync();
|
||||
|
||||
// Overwriting an exsting file is not allowed.
|
||||
// Overwriting an existing file is not allowed.
|
||||
try {
|
||||
dir.renameSync(file.path);
|
||||
Expect.fail('Directory.rename should fail to rename a non-directory');
|
||||
|
||||
@@ -32,7 +32,7 @@ bool checkNonExistentFileSystemException(e, str) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf(str) != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
return true;
|
||||
}
|
||||
@@ -151,7 +151,7 @@ bool checkResolveSymbolicLinksOnNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is FileSystemException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf("Cannot resolve symbolic links") != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -7,7 +7,7 @@ import 'package:async_helper/async_helper.dart';
|
||||
import 'package:expect/expect.dart';
|
||||
|
||||
void main() {
|
||||
// A virtual tun/tap interface should be created with following instrutctions:
|
||||
// A virtual tun/tap interface should be created with following instructions:
|
||||
// Create an interface with name [tap0],
|
||||
// sudo ip tuntap add name [tap0] mode tap
|
||||
// Assign an ipv6 address [fe80:1::1],
|
||||
|
||||
@@ -6,7 +6,7 @@ import "dart:async";
|
||||
import "dart:io";
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
/// Creates a callback that listens for incomming connections.
|
||||
/// Creates a callback that listens for incoming connections.
|
||||
/// If [remotePorts] is not null then callback would add remote port of each
|
||||
/// new connection to the given list.
|
||||
makeListener([List<int>? remotePorts]) {
|
||||
|
||||
@@ -8,7 +8,7 @@ fragmentation_typed_data_test: Pass, Slow # GC heavy
|
||||
io/process_sync_test: Pass, Slow # Spawns synchronously subprocesses in sequence.
|
||||
|
||||
[ $builder_tag == tsan ]
|
||||
fragmentation_typed_data_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
fragmentation_typed_data_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
|
||||
[ $system == android ]
|
||||
entrypoints_verification_test: Skip # Requires shared objects which the test script doesn't "adb push".
|
||||
|
||||
@@ -70,7 +70,7 @@ void testCreateTempInNonExistent(Directory temp, Function done) {
|
||||
bool checkDeleteNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
@@ -91,7 +91,7 @@ bool checkDeleteRecursivelyNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf("Deletion failed") != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -59,7 +59,7 @@ testRenameToExistingFile() async {
|
||||
final file = File("${tempDir.path}/file");
|
||||
file.createSync();
|
||||
|
||||
// Overwriting an exsting file is not allowed.
|
||||
// Overwriting an existing file is not allowed.
|
||||
try {
|
||||
dir.renameSync(file.path);
|
||||
Expect.fail('Directory.rename should fail to rename a non-directory');
|
||||
|
||||
@@ -34,7 +34,7 @@ bool checkNonExistentFileSystemException(e, str) {
|
||||
Expect.isTrue(e is PathNotFoundException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf(str) != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
return true;
|
||||
}
|
||||
@@ -153,7 +153,7 @@ bool checkResolveSymbolicLinksOnNonExistentFileSystemException(e) {
|
||||
Expect.isTrue(e is FileSystemException);
|
||||
Expect.isTrue(e.osError != null);
|
||||
Expect.isTrue(e.toString().indexOf("Cannot resolve symbolic links") != -1);
|
||||
// File not not found has error code 2 on all supported platforms.
|
||||
// File not found has error code 2 on all supported platforms.
|
||||
Expect.equals(2, e.osError.errorCode);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'package:async_helper/async_helper.dart';
|
||||
import 'package:expect/expect.dart';
|
||||
|
||||
void main() {
|
||||
// A virtual tun/tap interface should be created with following instrutctions:
|
||||
// A virtual tun/tap interface should be created with following instructions:
|
||||
// Create an interface with name [tap0],
|
||||
// sudo ip tuntap add name [tap0] mode tap
|
||||
// Assign an ipv6 address [fe80:1::1],
|
||||
|
||||
@@ -11,7 +11,7 @@ import "package:expect/expect.dart";
|
||||
RawServerSocket server;
|
||||
RawSocket client;
|
||||
|
||||
/// Creates a callback that listens for incomming connections.
|
||||
/// Creates a callback that listens for incoming connections.
|
||||
/// If [remotePorts] is not null then callback would add remote port of each
|
||||
/// new connection to the given list.
|
||||
makeListener([List<int> remotePorts]) {
|
||||
|
||||
@@ -9,8 +9,8 @@ fragmentation_typed_data_test: Pass, Slow # GC heavy
|
||||
io/process_sync_test: Pass, Slow # Spawns synchronously subprocesses in sequence.
|
||||
|
||||
[ $builder_tag == tsan ]
|
||||
fragmentation_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
fragmentation_typed_data_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatly fails to locate its coredump.
|
||||
fragmentation_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
fragmentation_typed_data_test: Skip # This test crashes on the bot, but not locally, and infrastructure repeatedly fails to locate its coredump.
|
||||
|
||||
[ $system == android ]
|
||||
entrypoints_verification_test: Skip # Requires shared objects which the test script doesn't "adb push".
|
||||
|
||||
Reference in New Issue
Block a user