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

Unified Diff: tests/html/canvas_using_html_test.dart

Issue 10984055: Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing to latest. Created 8 years, 3 months 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/html/canvas_test.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/canvas_using_html_test.dart
diff --git a/tests/html/canvas_using_html_test.dart b/tests/html/canvas_using_html_test.dart
index 11cc3c7ac387fa0e03608bb8842a0a997134d828..bec6bf3c416ea50ed6947d1fa03a2dd9c5685a94 100644
--- a/tests/html/canvas_using_html_test.dart
+++ b/tests/html/canvas_using_html_test.dart
@@ -23,21 +23,6 @@ main() {
// TODO(vsm): Verify the result once we have the ability to read pixels.
});
- test('SetFillColor', () {
- // With floats.
- context.setFillColor(10, 10, 10, 10);
- context.fillRect(10, 10, 20, 20);
-
- // With rationals.
- context.setFillColor(10.0, 10.0, 10.0, 10.0);
- context.fillRect(20, 20, 30, 30);
-
- // With ints.
- context.setFillColor(10, 10, 10, 10);
- context.fillRect(30, 30, 40, 40);
-
- // TODO(vsm): Verify the result once we have the ability to read pixels.
- });
test('StrokeStyle', () {
context.strokeStyle = "blue";
context.strokeRect(30, 30, 10, 20);
« no previous file with comments | « tests/html/canvas_test.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698