Continued deletion of frog.

Review URL: https://chromiumcodereview.appspot.com//10860071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11098 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
dgrove@google.com 2012-08-21 21:09:52 +00:00
parent 3790edb5e1
commit bacdd20e96
11 changed files with 15 additions and 55 deletions

View file

@ -33,7 +33,6 @@ dart\: = .
dart\:builtin = builtin/builtin_runtime.dart
dart\:core = core/core_runtime.dart
dart\:coreimpl = coreimpl/coreimpl_runtime.dart
# dom/dom_frog.dart is a placeholder for dartium dom
dart\:dom_deprecated = dom/dom_dart2js.dart
dart\:html = html/html_dartium.dart
dart\:io = io/io_runtime.dart

View file

@ -33,8 +33,6 @@
# in the dart-sdk
dart\: = .
dart\:core = core/core_frog.dart
dart\:coreimpl = coreimpl/coreimpl_frog.dart
dart\:dom_deprecated = dom/dom_dart2js.dart
dart\:html = html/html_dart2js.dart
dart\:isolate = isolate/isolate_leg.dart

View file

@ -33,7 +33,6 @@ dart\: = .
dart\:builtin = builtin/builtin_runtime.dart
dart\:core = core/core_runtime.dart
dart\:coreimpl = coreimpl/coreimpl_runtime.dart
# dom/dom_frog.dart is a placeholder for dartium dom
dart\:dom_deprecated = dom/dom_dart2js.dart
dart\:html = html/html_dartium.dart
dart\:nativewrappers = html/nativewrappers.dart

View file

@ -62,7 +62,7 @@ String decodeUtf16(List<int> bytes, [int offset = 0, int length,
Utf16BytesToCodeUnitsDecoder decoder = new Utf16BytesToCodeUnitsDecoder(bytes,
offset, length, replacementCodepoint);
List<int> codeunits = decoder.decodeRest();
// TODO is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
@ -85,7 +85,7 @@ String decodeUtf16be(List<int> bytes, [int offset = 0, int length,
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) {
List<int> codeunits = (new Utf16beBytesToCodeUnitsDecoder(bytes, offset,
length, stripBom, replacementCodepoint)).decodeRest();
// TODO is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
@ -108,7 +108,7 @@ String decodeUtf16le(List<int> bytes, [int offset = 0, int length,
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) {
List<int> codeunits = (new Utf16leBytesToCodeUnitsDecoder(bytes, offset,
length, stripBom, replacementCodepoint)).decodeRest();
// TODO is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
@ -198,7 +198,7 @@ bool hasUtf16leBom(List<int> utf16EncodedBytes, [int offset = 0, int length]) {
}
List<int> _stringToUtf16CodeUnits(String str) {
// TODO is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {

View file

@ -7,7 +7,7 @@
*/
List<int> stringToCodepoints(String str) {
List<int> codepoints;
// TODO _is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO _is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
@ -22,7 +22,7 @@ List<int> stringToCodepoints(String str) {
* Generate a string from the provided Unicode codepoints.
*/
String codepointsToString(List<int> codepoints) {
// TODO _is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO _is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
@ -38,7 +38,7 @@ String codepointsToString(List<int> codepoints) {
* Dart compiled to JS.
*/
bool _test16BitCodeUnit = null;
// TODO _is16BitCodeUnit() is used to work around a bug with frog/dartc
// TODO _is16BitCodeUnit() is used to work around a bug with dart2js
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
bool _is16BitCodeUnit() {

View file

@ -22,17 +22,15 @@ main() {
parser.addOption('compiler', abbr: 'c', defaultsTo: 'none',
help: 'Specify any compilation step (if needed).',
allowed: ['none', 'dart2js', 'dartc', 'frog'],
allowed: ['none', 'dart2js', 'dartc'],
allowedHelp: {
'none': 'Do not compile the Dart code (run native Dart code on the'
' VM).\n(only valid with the following runtimes: vm, drt)',
'dart2js': 'Compile dart code to JavaScript by running dart2js (leg).\n'
'(only valid with the following runtimes: same as frog)',
'dart2js': 'Compile dart code to JavaScript by running dart2js.\n'
'(only valid with the following runtimes: d8, drt, chrome\n'
'safari, ie, firefox, opera, none (compile only))'
'dartc': 'Perform static analysis on Dart code by running dartc.\n'
'(only valid with the following runtimes: none)',
'frog': '(DEPRECATED) Compile dart code to JavaScript by running the\n'
'frog compiler. (only valid with the following runtimes: d8,\n'
'drt, chrome, safari, ie, firefox, opera, none (compile only))'
});
parser.addOption('runtime', abbr: 'r', defaultsTo: 'vm',
@ -117,11 +115,9 @@ is 'dart file.dart' and you specify special command
help: 'Print timing information after running tests',
defaultsTo: false);
parser.addOption('frog', help: 'Path to frog script or executable');
parser.addOption('dart', help: 'Path to dart executable');
parser.addOption('drt', help: 'Path to DumpRenderTree executable');
parser.addOption('dartium', help: 'Path to Dartium Chrome executable');
parser.addOption('froglib', help: 'Path to frog library');
parser.addFlag('batch', abbr: 'b',
help: 'Run browser tests in batch mode',

View file

@ -23,7 +23,7 @@ cc/Dart2JSCompileAll: Skip
dart/import_map_test: Skip
dart/isolate_mirror_local_test: Skip
[ $compiler == dart2js || $compiler == frog || $compiler == dartc ]
[ $compiler == dart2js || $compiler == dartc ]
dart/import_map_test: Skip # compilers not aware of import maps.
dart/isolate_mirror*: Skip # compilers not aware of dart:mirrors
dart/byte_array_test: Skip # compilers not aware of byte arrays

View file

@ -8,7 +8,7 @@
#import("dart:html");
/**
* This is a sample no-op benchmark to ensure that frog has not dramatically
* This is a sample no-op benchmark to ensure that dart2js has not dramatically
* broken Firefox.
*/
class Smoketest extends BenchmarkBase {

View file

@ -67,7 +67,7 @@ class ConstListLiteralTest {
Expect.equals(2, list[1]);
Expect.equals(3, list[2]);
// Note: the next check is a regression test for frog. The immutable list
// Note: the next check is a regression test for dart2js. The immutable list
// overrides the 'length' property of List, but relies on using the native
// 'forEach' construct in Array. This test ensures that our strategy works
// correctly.

View file

@ -11,35 +11,6 @@ compare_to2_test: Fail # Bug 4018
[ $compiler == dartc ]
*vm_test: Skip
[ $compiler == frog ]
# VM or DartC specific tests not to be run by Frog. See language.status.
*vm_test: Skip
*vm_negative_test: Skip
*dartc_test: Skip
*dartc_negative_test: Skip
# Note: Correctly skips 4 VMTests that rely on VM internals
compare_to2_test: Fail, Ok # Requires bigint support.
const_list_*: Fail # 'const' is not currently checked.
core_runtime_types_test: Fail
for_in_test: Fail
list_test: Fail
maps_test: Fail
math_parse_double_test: Fail
reg_exp_all_matches_test: Fail
reg_exp4_test: Fail # New test added on 10/28.
stopwatch_test: Pass,Fail # Issue 2398
string_pattern_test: Fail
string_substring_test: Fail
string_test: Fail # Needs index out of range checks.
string_replace_dollar_test: Fail
# New methods (timeZoneName and timeZoneOffset) were not ported to frog.
date_time7_test: Skip
[ $compiler == frog && $runtime == none ]
*: Skip
[ $runtime == ff || $runtime == ie ]
unicode_test: Fail

View file

@ -2,10 +2,7 @@
# 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.
[ $compiler == frog ]
crypto/*: Skip
[ $compiler == dart2js || $compiler == dartc || $compiler == frog ]
[ $compiler == dart2js || $compiler == dartc ]
math/*: Skip
mirrors/*: Skip