dart-sdk/tests/lib/fix_data_tests/html.dart.expect
Nate Bosch 1948bd6109 Add fixes for HttpStatus constants
Add rename migrations for all the screaming snake case constants that
were renamed to lower camel case during the Dart 2 migraiton.

Rename the test from `file.dart` to `io.dart` so that we can test all
deprecations for the same import together. Add a test for the same
deprecations when imported through `dart:html`.

Change-Id: Iee91d88b1b11648e8c65cfcc8d2fcfabac3954ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203820
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2021-06-22 23:39:57 +00:00

51 lines
1.8 KiB
Text

// Copyright (c) 2021, 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:html';
void main() {
print(HttpStatus.continue_);
print(HttpStatus.switchingProtocols);
print(HttpStatus.ok);
print(HttpStatus.created);
print(HttpStatus.accepted);
print(HttpStatus.nonAuthoritativeInformation);
print(HttpStatus.noContent);
print(HttpStatus.resetContent);
print(HttpStatus.partialContent);
print(HttpStatus.multipleChoices);
print(HttpStatus.movedPermanently);
print(HttpStatus.found);
print(HttpStatus.movedTemporarily);
print(HttpStatus.seeOther);
print(HttpStatus.notModified);
print(HttpStatus.useProxy);
print(HttpStatus.temporaryRedirect);
print(HttpStatus.badRequest);
print(HttpStatus.unauthorized);
print(HttpStatus.paymentRequired);
print(HttpStatus.forbidden);
print(HttpStatus.notFound);
print(HttpStatus.methodNotAllowed);
print(HttpStatus.notAcceptable);
print(HttpStatus.proxyAuthenticationRequired);
print(HttpStatus.requestTimeout);
print(HttpStatus.conflict);
print(HttpStatus.gone);
print(HttpStatus.lengthRequired);
print(HttpStatus.preconditionFailed);
print(HttpStatus.requestEntityTooLarge);
print(HttpStatus.requestUriTooLong);
print(HttpStatus.unsupportedMediaType);
print(HttpStatus.requestedRangeNotSatisfiable);
print(HttpStatus.expectationFailed);
print(HttpStatus.upgradeRequired);
print(HttpStatus.internalServerError);
print(HttpStatus.notImplemented);
print(HttpStatus.badGateway);
print(HttpStatus.serviceUnavailable);
print(HttpStatus.gatewayTimeout);
print(HttpStatus.httpVersionNotSupported);
print(HttpStatus.networkConnectTimeoutError);
}