dart-sdk/tests/corelib_2
Stephen Adams f77093145a [corelib] Test for overflow in int.modPow()
Bug: 37469
Change-Id: If7a6cc1063ddfdab1c5a0261a7b0c5d168c081b7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109316
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2019-07-17 13:49:05 +00:00
..
regexp [test] Speed up unicode-regexp-zero-length_test. 2019-04-30 20:45:42 +00:00
apply2_test.dart Strong mode fix for apply2_test.dart 2017-11-08 23:34:50 +00:00
apply3_test.dart cleanup language_2 and corelib_2 tests that import dart:mirrors 2018-05-07 23:50:56 +00:00
apply4_test.dart
apply5_test.dart
apply_generic_function_test.dart Added test for function.apply with generic functions. 2018-03-23 23:33:29 +00:00
apply_test.dart Replace package:expect annotations with @pragma 2019-03-05 11:00:17 +00:00
bigint_from_test.dart [corelib_2] fix bigint_from_test for web platforms 2019-07-09 18:25:52 +00:00
bigint_js_test.dart [VM] Fix bigint left shift that could cause heap corruption when intrinsified. 2019-03-01 18:59:10 +00:00
bigint_parse_radix_test.dart [VM] Fix bigint left shift that could cause heap corruption when intrinsified. 2019-03-01 18:59:10 +00:00
bigint_test.dart Fix non-web integer literals in corelib_2/bigint_test 2019-07-04 02:49:29 +00:00
bit_twiddling_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
bool_from_environment2_test.dart
bool_from_environment_test.dart
bool_hashcode_test.dart
bool_operator_test.dart Add operators &, | and ^ to bool. 2018-09-17 12:33:12 +00:00
cast_test.dart Remove the retype method. 2018-06-12 14:36:09 +00:00
collection_from_test.dart Add of constructors to collections. 2018-03-13 12:57:49 +00:00
collection_length_test.dart
collection_of_test.dart Add of constructors to collections. 2018-03-13 12:57:49 +00:00
collection_removes_test.dart
collection_test.dart
collection_to_string_test.dart
compare_to2_test.dart [vm/corelib] Fix int/double comparisons in num.compareTo 2018-01-22 18:22:28 +00:00
compare_to_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
const_list_literal_test.dart
const_list_remove_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
const_list_set_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
core_runtime_types_static_test.dart
core_runtime_types_test.dart Add operators &, | and ^ to bool. 2018-09-17 12:33:12 +00:00
corelib_2.status [vm/bytecode] Fix writing and reading of nested function types in bytecode 2019-07-12 00:15:32 +00:00
data_uri_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
date_time2_test.dart
date_time3_test.dart
date_time4_test.dart
date_time5_test.dart
date_time6_test.dart
date_time7_test.dart
date_time8_test.dart
date_time9_test.dart
date_time10_test.dart
date_time11_test.dart Fix datetime for daylight-saving transitions. 2017-10-17 08:26:21 +00:00
date_time_extremes_test.dart [corelib_2] Split date_time_test to increase coverage 2019-07-04 15:16:55 +00:00
date_time_far_away_dates_test.dart [corelib_2] Split date_time_test to increase coverage 2019-07-04 15:16:55 +00:00
date_time_parse_test.dart DateTime decimal separator: Added ',' version to regex and docs, added unit tests 2019-01-10 16:29:58 +00:00
date_time_test.dart [corelib_2] Split date_time_test to increase coverage 2019-07-04 15:16:55 +00:00
double_ceil2_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_ceil_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
double_ceil_to_double_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_compare_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_floor2_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_floor_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
double_floor_to_double_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_hash_code_test.dart Test double.hashCode with and without intrinsics. 2017-10-26 23:59:32 +00:00
double_parse_test.dart Add tryParse alternatives to parseFunctions. 2018-04-12 13:16:49 +00:00
double_round2_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_round3_test.dart
double_round4_test.dart
double_round_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
double_round_to_double2_test.dart
double_round_to_double3_test.dart
double_round_to_double_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_truncate2_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_truncate_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
double_truncate_to_double_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
double_try_parse_test.dart Remove deprecated SDK constant declarations. 2018-07-18 13:05:00 +00:00
duration_big_num_test.dart
duration_double_multiplication_test.dart
duration_test.dart
dynamic_nosuchmethod_test.dart cleanup language_2 and corelib_2 tests that import dart:mirrors 2018-05-07 23:50:56 +00:00
error_stack_trace1_test.dart
error_stack_trace2_test.dart
error_stack_trace_test.dart
errors_test.dart
exception_implementation_test.dart
expando_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
expression_test.dart
for_in_test.dart
format_exception_test.dart
from_environment_const_type_test.dart
from_environment_const_type_undefined_test.dart
growable_list_test.dart Avoid non-web integer literal in corelib_2/growable_list_test 2019-07-05 15:52:47 +00:00
has_next_iterator_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
hash_map2_test.dart Strong mode fixes for hash_map2_test.dart 2017-11-09 20:24:12 +00:00
hash_map_test.dart
hash_set_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
hash_set_type_check_test.dart
hashcode_boxed_test.dart
hashcode_test.dart
hidden_library2_test.dart
int_ceil_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_ceil_to_double_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_floor_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_floor_to_double_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_from_environment2_test.dart
int_from_environment_int64_test.dart Treat 64 bit ints as unsigned until conversion to JS. 2018-06-06 00:28:28 +00:00
int_from_environment_test.dart Treat 64 bit ints as unsigned until conversion to JS. 2018-06-06 00:28:28 +00:00
int_modpow_hard_test.dart [corelib] Test for overflow in int.modPow() 2019-07-17 13:49:05 +00:00
int_modulo_arith_test.dart Update tests to have an expression rather than a function as the argument in an assert 2018-01-05 22:09:09 +00:00
int_parse_radix_bad_handler_test.dart
int_parse_radix_int64_test.dart Treat 64 bit ints as unsigned until conversion to JS. 2018-06-06 00:28:28 +00:00
int_parse_radix_test.dart Treat 64 bit ints as unsigned until conversion to JS. 2018-06-06 00:28:28 +00:00
int_parse_with_limited_ints_test.dart Remove all uses of --limit-ints-to-64-bits VM option 2018-06-01 19:32:24 +00:00
int_round_test.dart Avoid non-web integer literal in corelib_2/int_round_test 2019-07-03 16:20:07 +00:00
int_round_to_double_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_to_int_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_truncate_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_truncate_to_double_test.dart Fix negation precedence and non-web-integers in corelib_2/int_xxx_tests 2019-07-05 14:23:56 +00:00
int_try_parse_int64_test.dart Treat 64 bit ints as unsigned until conversion to JS. 2018-06-06 00:28:28 +00:00
int_try_parse_test.dart Fix VM accepting too many overlarge hex numbers in int.parse. 2018-06-18 10:04:07 +00:00
integer_arith_vm_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
integer_parsed_arith_vm_test.dart [vm/corelib] Fix int.toRadixString() for MIN_INT64 2018-01-17 21:50:08 +00:00
integer_parsed_div_rem_vm_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
integer_parsed_mul_div_vm_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
integer_to_radix_string_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
integer_to_string_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
invocation_test.dart Dart 2 Libraries Wave 3 2018-03-08 16:36:07 +00:00
is_operator_basic_types_test.dart
iterable_contains2_test.dart
iterable_contains_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
iterable_element_at_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_empty_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_expand_test.dart
iterable_first_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_first_where_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_fold_test.dart [Tests] Fix corelib_2/iterable_fold_test and iterable_reduce_test 2018-01-26 17:43:33 +00:00
iterable_followed_by_test.dart Add missing methods to List and Map implementations. 2018-02-28 12:26:53 +00:00
iterable_generate_test.dart
iterable_join_test.dart
iterable_last_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_last_where_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_length_test.dart
iterable_mapping_test.dart
iterable_reduce_test.dart [Tests] Fix corelib_2/iterable_fold_test and iterable_reduce_test 2018-01-26 17:43:33 +00:00
iterable_return_type_test.dart New methods on Iterable, List, Set, Queue, Map. 2018-02-07 06:12:53 +00:00
iterable_single_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_single_where_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_skip_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_skip_while_test.dart
iterable_take_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
iterable_take_while_test.dart
iterable_test.dart
iterable_to_list_test.dart Update test corelib_2/iterable_to_list_test for Dart 2 type inference 2018-02-08 17:19:12 +00:00
iterable_to_set_test.dart
iterable_tostring_test.dart
iterable_where_type_test.dart Add missing methods to List and Map implementations. 2018-02-28 12:26:53 +00:00
json_map_test.dart New methods on Iterable, List, Set, Queue, Map. 2018-02-07 06:12:53 +00:00
linked_hash_map_from_iterable_test.dart
linked_hash_map_from_iterables_test.dart
linked_hash_map_test.dart
list_as_map_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_concurrent_modify_test.dart
list_contains_argument_order_test.dart
list_copy_range_test.dart Add static list methods. 2018-02-26 11:34:43 +00:00
list_fill_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_filled_type_argument_test.dart
list_first_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_fixed_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_for_each_test.dart
list_get_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_growable_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_index_of_test.dart
list_insert_all_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_insert_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_iterators_test.dart
list_last_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_literal_is_growable_test.dart
list_literal_test.dart
list_map_test.dart
list_remove_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_removeat_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_replace_range_test.dart Fix test that expects too much from type inference 2018-01-31 09:06:31 +00:00
list_reversed_test.dart
list_set_all_test.dart Fix test that expects too much from type inference 2018-01-31 09:06:31 +00:00
list_set_range_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_sort_test.dart
list_sublist_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
list_to_string2_test.dart
list_to_string_test.dart
list_unmodifiable_cast_test.dart Remove the retype method. 2018-06-12 14:36:09 +00:00
list_unmodifiable_test.dart
list_write_elements_test.dart Add static list methods. 2018-02-26 11:34:43 +00:00
main_test.dart
map_contains_key_test.dart
map_contains_value_test.dart
map_entry_test.dart Add toString to MapEntry. 2018-03-13 13:57:59 +00:00
map_from_entries_test.dart Add fromEntries on HashMap and LinkedHashMap 2018-10-23 20:53:34 +00:00
map_from_iterable_test.dart
map_from_iterables_test.dart
map_from_test.dart New methods on Iterable, List, Set, Queue, Map. 2018-02-07 06:12:53 +00:00
map_index_test.dart
map_keys2_test.dart optimize maps/sets in DDC, fixes #29865 2017-10-04 19:04:27 +00:00
map_keys_test.dart
map_of_test.dart Add of constructors to collections. 2018-03-13 12:57:49 +00:00
map_remove_test.dart
map_set_undefined_test.dart [dartdevc] fix #36052, missing key in map should result in null 2019-03-05 01:15:30 +00:00
map_test.dart [dartdevc] fix #36252, export private name symbols 2019-04-11 23:45:17 +00:00
map_to_string_test.dart
map_unmodifiable_cast_test.dart Remove the retype method. 2018-06-12 14:36:09 +00:00
map_update_test.dart Fix typo in map.update. 2018-03-19 10:54:15 +00:00
map_values2_test.dart
map_values3_test.dart
map_values4_test.dart
map_values_test.dart
nan_infinity_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
nsm_invocation_generic_test.dart Dart 2 Libraries Wave 3 2018-03-08 16:36:07 +00:00
nsm_invocation_test.dart Dart 2 Libraries Wave 3 2018-03-08 16:36:07 +00:00
null_nosuchmethod_test.dart Make null_nosuchmethod test Dart2 compliant and mark failures 2018-02-19 08:31:36 +00:00
null_test.dart
num_clamp_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
num_parse_test.dart [gardening] Fix non-web-integer in corelib_2/num_parse_test 2019-07-11 17:53:53 +00:00
num_sign_test.dart Avoid non-web-integer literals in corelib_2/num_sign_test 2019-07-05 19:43:47 +00:00
num_try_parse_test.dart Add tryParse alternatives to parseFunctions. 2018-04-12 13:16:49 +00:00
queue_first_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
queue_iterator_test.dart
queue_last_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
queue_single_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
queue_test.dart Strong mode fix for queue_test.dart 2017-11-08 23:29:46 +00:00
range_error_test.dart
reg_exp1_test.dart
reg_exp4_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
reg_exp5_test.dart
reg_exp_all_matches_test.dart
reg_exp_cache_test.dart
reg_exp_first_match_test.dart
reg_exp_group_test.dart
reg_exp_groups_test.dart
reg_exp_has_match_test.dart
reg_exp_pattern_test.dart
reg_exp_start_end_test.dart
reg_exp_string_match_test.dart
regress_11099_test.dart
regress_33166_test.dart Make CastStreamSubscription.onData handle a null callback 2018-06-18 13:24:17 +00:00
regress_r21715_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
safe_to_string_test.dart
set_contains_test.dart
set_containsAll_test.dart
set_intersection_test.dart
set_iterator_test.dart
set_remove_test.dart
set_removeAll_test.dart Reland https://dart-review.googlesource.com/c/sdk/+/37441 with fixes 2018-02-08 20:46:19 +00:00
set_retainAll_test.dart
set_test.dart Strong mode fixes for set_test.dart 2017-11-09 00:08:52 +00:00
set_to_string_test.dart
shuffle_test.dart
sort_helper.dart
sort_test.dart
splay_tree_from_iterable_test.dart Fix fuzzy arrow issues in tests. 2018-01-16 23:08:01 +00:00
splay_tree_from_iterables_test.dart
splay_tree_test.dart
stacktrace_current_test.dart
stacktrace_fromstring_test.dart
stopwatch2_test.dart
stopwatch_test.dart
string_base_vm_static_test.dart
string_base_vm_test.dart
string_buffer_test.dart
string_case_test.dart
string_codeunits_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
string_from_environment2_test.dart
string_from_environment3_test.dart
string_from_environment_test.dart
string_from_list_test.dart
string_fromcharcode_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
string_fromcharcodes_test.dart Strong mode fixes for corelib_2/string_fromcharcodes_test.dart 2017-11-08 18:44:56 +00:00
string_operations_with_null_test.dart Replace package:expect annotations with @pragma 2019-03-05 11:00:17 +00:00
string_pattern_test.dart
string_replace_all_2_test.dart [js_runtime] Try to avoid String.prototype.replace with replacement patterns 2019-03-15 21:51:15 +00:00
string_replace_all_test.dart
string_replace_dollar_test.dart
string_replace_static_test.dart
string_replace_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
string_runes_test.dart
string_source_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
string_split_test.dart Reactivate 90% of string_split_test on dart2js 2018-01-17 21:03:07 +00:00
string_static_test.dart
string_substring_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
string_test.dart
string_to_lower_case_test.dart
string_trim2_test.dart
string_trim_test.dart
string_trimlr_test.dart [VM] Stop treating 0x180e as whitespace 2018-01-18 10:37:15 +00:00
strings_test.dart
symbol_map_helper.dart
symbol_operator_test.dart Dart 2 Libraries Wave 3 2018-03-08 16:36:07 +00:00
symbol_reserved_word_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
symbol_test.dart Dart 2 Libraries Wave 3 2018-03-08 16:36:07 +00:00
throw_half_surrogate_pair_test.dart
toInt_test.dart
type_hashcode_test.dart
type_tostring_test.dart Small fixes. 2019-07-11 10:39:03 +00:00
typed_data_with_limited_ints_test.dart Remove all uses of --limit-ints-to-64-bits VM option 2018-06-01 19:32:24 +00:00
unicode2_test.dart
unicode_test.dart
unsigned_shift_test.dart Update test of operator >>>. 2019-05-02 09:04:18 +00:00
uri_base_test.dart
uri_file_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
uri_http_test.dart [vm] RFC6874 support zoneID in uri parser 2019-06-13 16:19:35 +00:00
uri_ipv4_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
uri_ipv6_test.dart [vm] RFC6874 support zoneID in uri parser 2019-06-13 16:19:35 +00:00
uri_normalize_path_test.dart
uri_normalize_test.dart
uri_parameters_all_test.dart
uri_parse_test.dart
uri_path_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
uri_query_test.dart Strong mode fix for uri_query_test.dart 2017-11-09 07:42:56 +00:00
uri_scheme_test.dart Use the Expect.throws___() helper methods throughout tests. 2017-10-17 23:37:15 +00:00
uri_test.dart Make Uri.parse accept [ and ] in path, query and fragment. 2018-09-26 14:09:37 +00:00