dart-sdk/tests/corelib
Lasse R.H. Nielsen a8e3eb4e10 Fix bug in Uri.removeFragment.
It used the external getters for the existing port and query, which
are non-null even when the port or query are absent. This introduced
a new default-valued/empty part.

Also reordered declarations to have fields > constructors > rest.

Fixes issue #24593
BUG= http://dartbug.com/24593
R=asgerf@google.com

Review URL: https://codereview.chromium.org/1396973004.
2015-10-15 12:42:36 +02:00
..
regexp Fix boolean conversion bug in dart2js + update JSRegExp accordingly. 2015-07-27 14:19:26 +02:00
apply2_test.dart Clean up apply2-test. 2015-03-25 07:01:46 +00:00
apply3_test.dart Fix issue 11705: deal with user-defined Function classes that override noSuchMethod, and are being called with apply. 2013-07-12 15:16:52 +00:00
apply4_test.dart Fix implementation of Function.apply with optional positional arguments. 2015-03-24 14:17:10 +00:00
apply_test.dart - Remove arguments definition test from the VM. 2013-06-27 18:37:53 +00:00
big_integer_arith_vm_test.dart Don't expect 0.gcd(0) to throw in bigint test. 2015-07-07 11:11:42 +02:00
big_integer_huge_mul_vm_test.dart Split bigint test into several tests. 2014-10-09 09:42:35 +00:00
big_integer_parsed_arith_vm_test.dart Specialize _toPow2String for bigint to make it linear instead of quadratic. 2014-11-13 23:54:33 +00:00
big_integer_parsed_div_rem_vm_test.dart Specialize _toPow2String for bigint to make it linear instead of quadratic. 2014-11-13 23:54:33 +00:00
big_integer_parsed_mul_div_vm_test.dart Split bigint test into several tests. 2014-10-09 09:42:35 +00:00
bit_twiddling_bigint_test.dart Esoteric bit operations. 2013-09-06 22:22:26 +00:00
bit_twiddling_test.dart Esoteric bit operations. 2013-09-06 22:22:26 +00:00
bool_from_environment2_test.dart Implement fromEnvironment on bool, int and String 2013-10-31 05:46:57 +00:00
bool_from_environment_test.dart - Refactor the way X.fromEnvironment is implemented. 2014-09-08 18:23:05 +00:00
bool_hashcode_test.dart
collection_from_test.dart
collection_length_test.dart Adding isNotEmpty property to collection and string. 2013-05-28 17:30:37 +00:00
collection_removes_test.dart
collection_test.dart
collection_to_string_test.dart Reinstall previous behavior for Set and Queue toString. 2014-05-26 06:08:20 +00:00
compare_to2_test.dart
compare_to_test.dart
const_list_literal_test.dart
const_list_remove_range_test.dart
const_list_set_range_test.dart
core_runtime_types_test.dart Allow multi-codeunit padding in String.padLeft/padRight. 2014-02-20 07:17:11 +00:00
corelib.status dart2js cps: Add a pass for eliminating bounds checks. 2015-10-13 16:40:54 +02:00
data_resource_test.dart Add resource tests. 2015-08-11 10:07:10 +02: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 DateTime is Comparable. 2013-05-03 12:12:17 +00:00
date_time_parse_test.dart Fix bug in DateTime.parse. 2015-04-20 10:27:24 +00:00
date_time_test.dart Fix date_time_test to not assume a particular slowness of running code. 2014-12-03 07:19:49 +00:00
double_ceil2_test.dart
double_ceil_test.dart
double_ceil_to_double_test.dart
double_compare_test.dart
double_floor2_test.dart
double_floor_test.dart
double_floor_to_double_test.dart
double_parse_test.dart Split double_parse_test into more multitests. 2015-09-01 16:27:01 +02:00
double_round2_test.dart
double_round3_test.dart
double_round4_test.dart
double_round_test.dart
double_round_to_double2_test.dart
double_round_to_double3_test.dart
double_round_to_double_test.dart
double_truncate2_test.dart
double_truncate_test.dart
double_truncate_to_double_test.dart
duration2_test.dart All nsm error in duration test. 2015-02-10 17:35:36 +00:00
duration_big_num_test.dart Let operator* in Duration accept doubles. 2013-06-25 15:57:06 +00:00
duration_double_multiplication_test.dart Let operator* in Duration accept doubles. 2013-06-25 15:57:06 +00:00
duration_test.dart Adding Duration documentation, abs(), and isNegative() 2014-08-07 09:40:38 +00:00
error_stack_trace1_test.dart Fix the stack trace when there are C++ frames in between dart frames. 2013-08-13 00:16:16 +00:00
error_stack_trace2_test.dart Remove incorrect comment. 2013-07-04 11:44:55 +00:00
error_stack_trace_test.dart Add stackTrace to Error object. 2013-07-03 14:51:30 +00:00
errors_test.dart Make more use of ArgumentError.value in js_lib. 2015-05-13 22:16:50 +00:00
exception_implementation_test.dart
expando_test.dart Make VM Expando use identityHashCode instead of object's hashCode. 2013-09-25 10:47:35 +00:00
expression_test.dart
file_resource_test.dart Add resource tests. 2015-08-11 10:07:10 +02:00
for_in_test.dart Remove obsolete TODOs from tests. 2013-12-19 10:46:15 +00:00
format_exception_test.dart Change "FormatException.position" to be named "offset". 2014-07-18 09:25:48 +00:00
from_environment_const_type_test.dart Fix type of String.fromEnvironment() when the name is undefined. 2014-10-23 19:35:53 +00:00
from_environment_const_type_undefined_test.dart Fix type of String.fromEnvironment() when the name is undefined. 2014-10-23 19:35:53 +00:00
growable_list_test.dart Make List constructor give better error messages for non-int arguments 2015-08-17 13:01:13 +02:00
has_next_iterator_test.dart
hash_map2_test.dart Replace Linked{Identity,Custom}Hash{Map,Set} with compact implementation; remove old code and flag. 2015-03-06 15:13:01 +00:00
hash_map_test.dart Replace Linked{Identity,Custom}Hash{Map,Set} with compact implementation; remove old code and flag. 2015-03-06 15:13:01 +00:00
hash_set_test.dart Replace Linked{Identity,Custom}Hash{Map,Set} with compact implementation; remove old code and flag. 2015-03-06 15:13:01 +00:00
hash_set_type_check_test.dart Change test to detect checked mode. 2015-03-03 13:25:10 +00:00
hashcode_boxed_test.dart Make the implementations of InstanceMirror.hashCode use dart:core's identityHashCode. 2013-10-03 16:38:19 +00:00
hashcode_test.dart Add Object.hashCodeOf to get the default hashCode of an object. 2013-09-25 08:15:41 +00:00
hidden_library2_test.dart Fix hidden_library2_test. 2013-06-13 12:11:13 +00:00
http_resource_test.dart Add resource tests. 2015-08-11 10:07:10 +02:00
indexed_list_access_test.dart
int_ceil_test.dart
int_ceil_to_double_test.dart
int_floor_test.dart
int_floor_to_double_test.dart
int_from_environment2_test.dart Change int.fromEnvironment in VM to use same code as int.parse. 2013-10-31 13:45:39 +00:00
int_from_environment3_test.dart Implement fromEnvironment on bool, int and String 2013-10-31 05:46:57 +00:00
int_from_environment_test.dart Change int.fromEnvironment in VM to use same code as int.parse. 2013-10-31 13:45:39 +00:00
int_modulo_arith_test.dart Make int.gcd accept zero as an operand, including both operands being zero. 2015-07-07 09:51:13 +02:00
int_parse_radix_test.dart There was a weird dead expression that should have been used but was not, letting all upper case letters be 'accepted' for any radix over 10. The result was NaN values flowing into the program. 2015-03-06 21:34:02 +00:00
int_round_test.dart
int_round_to_double_test.dart
int_to_int_test.dart
int_truncate_test.dart
int_truncate_to_double_test.dart
integer_to_radix_string_test.dart Update toRadixString test so that it fails on d8 too. 2015-01-12 13:53:08 +00:00
integer_to_string_test.dart Add MapBase and UnmodifiableMapView classes to dart:collection. 2014-03-26 12:10:25 +00:00
is_operator_basic_types_test.dart
iterable_contains2_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
iterable_contains_test.dart
iterable_element_at_test.dart
iterable_empty_test.dart Add Iterable.empty constructor. 2015-05-22 10:39:58 +02:00
iterable_expand_test.dart
iterable_first_test.dart
iterable_first_where_test.dart
iterable_fold_test.dart Revert "Change ListIterator to only check for concurrent modification at each iteration" 2015-04-16 18:53:39 +00:00
iterable_generate_test.dart Syntax prohibits assignment in assert. 2014-03-21 10:14:12 +00:00
iterable_join_test.dart Optimize _GrowableArray._join and _StringBase._interpolate. 2014-09-30 08:28:00 +00:00
iterable_last_test.dart
iterable_last_where_test.dart
iterable_length_test.dart
iterable_mapping_test.dart
iterable_reduce_test.dart Revert "Change ListIterator to only check for concurrent modification at each iteration" 2015-04-16 18:53:39 +00:00
iterable_return_type_test.dart Optimize List.toList/.sublist and List.from on lists. 2014-08-27 08:00:48 +00:00
iterable_single_test.dart
iterable_single_where_test.dart
iterable_skip_test.dart State that skip/take does not accept negative arguments. 2013-06-20 15:45:38 +00:00
iterable_skip_while_test.dart
iterable_take_test.dart State that skip/take does not accept negative arguments. 2013-06-20 15:45:38 +00:00
iterable_take_while_test.dart
iterable_test.dart Fix some corelib tests. 2013-11-01 17:02:27 +00:00
iterable_to_list_test.dart Reapply "This change makes it easier to put type parameters on JavaScript Arrays." 2013-11-18 22:06:48 +00:00
iterable_to_set_test.dart
iterable_tostring_test.dart Change the toString method of IterableBase/IterableMixin to show some elements. 2013-10-11 10:56:17 +00:00
json_map_test.dart Revert "Change ListIterator to only check for concurrent modification at each iteration" 2015-04-16 18:53:39 +00:00
linked_hash_map_from_iterable_test.dart Change the field and constructor parameter types of NoSuchMethodError to Symbol. 2013-09-02 05:57:49 +00:00
linked_hash_map_from_iterables_test.dart Reapply "Make Map constructors return LinkedHashMap." 2013-08-27 08:43:46 +00:00
linked_hash_map_test.dart
list_as_map_test.dart
list_contains_argument_order_test.dart Test fixed 2013-06-26 10:57:30 +00:00
list_fill_range_test.dart - Remove arguments definition test from the VM. 2013-06-27 18:37:53 +00:00
list_filled_type_argument_test.dart Also deal with List.filled in the backend, not just the inferrer and list tracer. 2013-06-20 12:13:00 +00:00
list_first_test.dart
list_fixed_test.dart
list_for_each_test.dart Add tests for List.forEach. 2013-05-03 12:10:59 +00:00
list_get_range_test.dart
list_growable_test.dart
list_index_of2_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
list_index_of_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
list_insert_all_test.dart
list_insert_test.dart
list_iterators_test.dart
list_last_test.dart
list_literal_is_growable_test.dart
list_literal_test.dart
list_map_test.dart Fix some corelib tests. 2013-11-01 17:02:27 +00:00
list_remove_range_test.dart
list_removeat_test.dart
list_replace_range_test.dart
list_reversed_test.dart
list_set_all_test.dart
list_set_range_test.dart
list_sort_test.dart
list_sublist_test.dart
list_test.dart Update range errors to agree on the numbers. 2015-09-11 13:05:36 +02:00
list_to_string2_test.dart Move toString() to collection classes. 2013-07-11 12:59:12 +00:00
list_to_string_test.dart
list_unmodifiable_test.dart Add List.unmodifiable constructor. 2015-04-22 10:48:22 +00:00
main_test.dart - Add the ability to pass the command line options as an argument to main. 2013-10-17 21:59:46 +00:00
map_contains_key_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
map_contains_value_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
map_from_iterable_test.dart Change the field and constructor parameter types of NoSuchMethodError to Symbol. 2013-09-02 05:57:49 +00:00
map_from_iterables_test.dart Reapply "Make Map constructors return LinkedHashMap." 2013-08-27 08:43:46 +00:00
map_from_test.dart Reapply "Make Map constructors return LinkedHashMap." 2013-08-27 08:43:46 +00:00
map_index_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
map_keys2_test.dart Fix some corelib tests. 2013-11-01 17:02:27 +00:00
map_keys_test.dart
map_remove_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
map_test.dart Fix some cases where Map.containsValue did not accept Object as argument. 2015-09-23 11:26:55 +02:00
map_to_string_test.dart Move toString() to collection classes. 2013-07-11 12:59:12 +00:00
map_values2_test.dart Reapply "Make Map constructors return LinkedHashMap." 2013-08-27 08:43:46 +00:00
map_values3_test.dart Fix the generic type of Map.values for map literals. 2013-11-06 20:58:39 +00:00
map_values4_test.dart Fix the generic type of Map.values for map literals. 2013-11-06 20:58:39 +00:00
map_values_test.dart
maps_test.dart
nan_infinity_test.dart Fix 23563: double unary- operator unstable for NANs 2015-06-03 11:00:28 -07:00
null_nosuchmethod_test.dart
null_test.dart
num_clamp_test.dart
num_parse_test.dart Reduce running time of nan_parse_test. 2013-11-28 08:57:04 +00:00
num_sign_test.dart Add num.sign getter. 2013-12-13 12:10:23 +00:00
package_resource_test.dart Add resource tests. 2015-08-11 10:07:10 +02:00
print_test.dart Add test that makes sure print deals with broken toStrings. 2013-11-06 20:40:03 +00:00
queue_first_test.dart
queue_iterator_test.dart
queue_last_test.dart
queue_single_test.dart
queue_test.dart Fix DoubleLinkedQueue so that appending to entries also update the queue length. 2015-03-13 09:40:57 +00:00
range_error_test.dart Make RangeError.toString use the name field that it inherits from ArgumentError. 2015-01-28 09:39:05 +00:00
reg_exp1_test.dart
reg_exp4_test.dart
reg_exp5_test.dart
reg_exp_all_matches_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 Change the badly named RegExp.pattern to return the original source. 2014-04-24 12:33:26 +00:00
reg_exp_start_end_test.dart
reg_exp_string_match_test.dart
regress_11099_test.dart Manually enqueue compareTo, hashCode, ==, and toString in the Dart-to-Dart backend to avoid tree shaking these methods out. They may be invoked by the VM core libraries. 2013-09-26 05:12:33 +00:00
regress_r21715_test.dart Fix overflow check when shifting unboxed mints on 32-bit platforms, except on 2014-11-26 17:36:32 +00:00
safe_to_string_test.dart dart2js: put all type-test related properties on the prototype and not on the constructor. 2014-12-17 15:05:15 +00:00
set_contains_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_containsAll_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_intersection_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_iterator_test.dart
set_remove_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_removeAll_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_retainAll_test.dart Allow Object when doing lookups. 2013-06-24 12:45:10 +00:00
set_test.dart Fix typo in set_test.dart, makes analyzer complain. 2015-01-06 14:53:22 +00:00
set_to_string_test.dart Revert set_to_string_test too. 2013-10-11 16:03:30 +00:00
shuffle_test.dart Make List.shuffle take an optional Random object to use. 2013-10-07 12:07:30 +00:00
sort_helper.dart
sort_test.dart
splay_tree_from_iterable_test.dart Change SplayTreeMap test to not cause static type warnings, only runtime errors. 2014-11-10 11:53:34 +00:00
splay_tree_from_iterables_test.dart Add fromIterable(s) constructors in SplayTreeMap and LinkedHashMap. 2013-06-27 17:02:37 +00:00
splay_tree_test.dart Fix SplayTreeMap.from ignoring the compare and isValidKey arguments. 2015-05-06 08:18:56 +00:00
stacktrace_fromstring_test.dart Add StackTrace.fromString constructor. 2015-04-13 09:17:13 +00:00
stopwatch2_test.dart
stopwatch_test.dart
string_base_vm_test.dart
string_buffer_test.dart dart2js implementation of StringBuffer.writeAll that optimizes better. 2015-04-15 23:13:29 +00:00
string_case_test.dart Optimize one-byte string's toUpperCase. 2014-04-08 07:19:33 +00:00
string_codeunits_test.dart Fix some corelib tests. 2013-11-01 17:02:27 +00:00
string_from_environment2_test.dart Implement fromEnvironment on bool, int and String 2013-10-31 05:46:57 +00:00
string_from_environment3_test.dart Implement fromEnvironment on bool, int and String 2013-10-31 05:46:57 +00:00
string_from_environment_test.dart Implement fromEnvironment on bool, int and String 2013-10-31 05:46:57 +00:00
string_from_list_test.dart
string_fromcharcode_test.dart
string_fromcharcodes_test.dart Create string efficiently from Uint16List/View. 2015-01-28 12:44:44 +00:00
string_operations_with_null_test.dart We can only use JavaScript's String.split and String.+ if both inputs are Strings. 2013-09-17 10:28:55 +00:00
string_pattern_test.dart Add optional start index to Pattern.allMatches. 2014-08-12 07:13:01 +00:00
string_replace_all_test.dart
string_replace_dollar_test.dart Fix dart2js replace to escape all dollar characters in the replacement string. 2014-04-29 08:01:33 +00:00
string_replace_test.dart Add String.replaceRange and use it in replaceFirst{,Mapped}. 2015-02-25 12:17:27 +00:00
string_runes_test.dart
string_source_test.dart Fix test to not assume that JSON.decode returns dynamic. 2013-10-30 10:37:00 +00:00
string_split_test.dart Make dart2js String.split match the VM version. 2014-10-27 12:52:35 +00:00
string_substring_test.dart
string_test.dart Allow multi-codeunit padding in String.padLeft/padRight. 2014-02-20 07:17:11 +00:00
string_to_lower_case_test.dart Add optimized _OneByteString.toLowerCase. 2014-03-25 21:44:09 +00:00
string_trim2_test.dart Fix bug in trim introduced by rewrite. 2014-03-13 09:59:27 +00:00
string_trim_test.dart
string_trimlr_test.dart Add string.trimLeft/trimRight. 2014-03-13 07:16:51 +00:00
strings_test.dart
symbol_map_helper.dart
symbol_operator_test.dart Allow #[] and #[]= symbols. 2014-06-19 09:29:17 +00:00
symbol_reserved_word_test.dart Properly handle "#void" in analysis server. 2014-07-28 19:03:06 +00:00
symbol_test.dart
throw_half_surrogate_pair_test.dart Don't crash when generating error messages with malformed strings. 2014-10-01 00:49:36 +00:00
toInt_test.dart Faster JSNumber:toInt. 2013-10-24 08:44:32 +00:00
unicode2_test.dart Move unicode tests to utf package. 2013-11-19 12:58:09 +00:00
unicode_test.dart
uri_base_test.dart Add property base to the Uri class 2013-09-25 13:52:15 +00:00
uri_file_test.dart Fix typo in test, add check of error thrown. 2015-04-17 10:55:30 +00:00
uri_http_test.dart Try to retain original structure of URI. 2014-06-26 09:41:30 +00:00
uri_ipv4_test.dart Accept IPv6 addresses in Uri.http and Uri.https, and correctly nest IPv6 addresses in '[' and ']'. 2013-09-11 13:22:31 +00:00
uri_ipv6_test.dart New Uri.parse and validation. 2014-06-19 09:05:07 +00:00
uri_normalize_path_test.dart Do "path normalization" when creating a URI. 2015-07-17 17:08:36 +02:00
uri_normalize_test.dart Do "path normalization" when creating a URI. 2015-07-17 17:08:36 +02:00
uri_parse_test.dart Add start/end to Uri.parse, allowing you to parse a substring without creating a new String object. 2015-04-09 08:01:15 +00:00
uri_path_test.dart Return the correct port from Uri, when port is 0 and scheme is either http or https. 2013-09-12 13:27:59 +00:00
uri_query_test.dart Also fix uri_query_test. 2014-06-26 11:49:11 +00:00
uri_scheme_test.dart Fix scheme's toLowerCase detection. 2014-09-04 06:34:35 +00:00
uri_test.dart Fix bug in Uri.removeFragment. 2015-10-15 12:42:36 +02:00