Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: tests/lib/crypto/hmac_sha256_test.dart

Issue 11358203: Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/crypto/hmac_sha1_test.dart ('k') | tests/lib/crypto/sha1_long_test_vectors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/crypto/hmac_sha256_test.dart
===================================================================
--- tests/lib/crypto/hmac_sha256_test.dart (revision 14804)
+++ tests/lib/crypto/hmac_sha256_test.dart (working copy)
@@ -3,11 +3,11 @@
// BSD-style license that can be found in the LICENSE file.
// Library tag to allow the test to run on Dartium.
-#library('hmac_sha256_test');
+library hmac_sha256_test;
-#import("dart:crypto");
+import 'dart:crypto';
-#source('hmac_sha256_test_vectors.dart');
+part 'hmac_sha256_test_vectors.dart';
void testStandardVectors(inputs, keys, macs) {
for (var i = 0; i < inputs.length; i++) {
« no previous file with comments | « tests/lib/crypto/hmac_sha1_test.dart ('k') | tests/lib/crypto/sha1_long_test_vectors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698