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

Unified Diff: tests/lib_strong/html/webgl_1_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/lib_strong/html/webgl_1_test.dart
diff --git a/tests/lib_strong/html/webgl_1_test.dart b/tests/lib_strong/html/webgl_1_test.dart
index ce296ee82f21e2eea29628b2b9c626b0c4a7c8c5..3813f3f4c70a06c6c4311714d4ecd4f752b88372 100644
--- a/tests/lib_strong/html/webgl_1_test.dart
+++ b/tests/lib_strong/html/webgl_1_test.dart
@@ -59,14 +59,14 @@ main() {
test('texImage2D', () {
var canvas = new CanvasElement();
var context = canvas.getContext3d();
- var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]);
+ var pixels = new Uint8List.fromList([0, 0, 3, 255, 0, 0, 0, 0, 0, 0]);
context.texImage2DUntyped(1, 1, 1, 1, 10, 10, 1, 1, pixels);
canvas = new CanvasElement();
document.body.children.add(canvas);
var context2 = canvas.getContext('2d');
- context.texImage2DData(1, 1, 1, 1, 10,
- context2.getImageData(10, 10, 10, 10));
+ context.texImage2DData(
+ 1, 1, 1, 1, 10, context2.getImageData(10, 10, 10, 10));
context.texImage2DImage(1, 1, 1, 1, 10, new ImageElement());
context.texImage2DCanvas(1, 1, 1, 1, 10, new CanvasElement());
@@ -76,14 +76,14 @@ main() {
test('texSubImage2D', () {
var canvas = new CanvasElement();
var context = canvas.getContext3d();
- var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]);
+ var pixels = new Uint8List.fromList([0, 0, 3, 255, 0, 0, 0, 0, 0, 0]);
context.texSubImage2DUntyped(1, 1, 1, 1, 10, 10, 1, 1, pixels);
canvas = new CanvasElement();
document.body.children.add(canvas);
var context2 = canvas.getContext('2d');
- context.texSubImage2DData(1, 1, 1, 1, 1, 10,
- context2.getImageData(10, 10, 10, 10));
+ context.texSubImage2DData(
+ 1, 1, 1, 1, 1, 10, context2.getImageData(10, 10, 10, 10));
context.texSubImage2DImage(1, 1, 1, 1, 1, 10, new ImageElement());
context.texSubImage2DCanvas(1, 1, 1, 1, 1, 10, new CanvasElement());

Powered by Google App Engine
This is Rietveld 408576698