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

Unified Diff: compiler/javatests/com/google/dart/compiler/backend/js/ClosureJsCodingConventionTest.java

Issue 8845002: Function type checking: Part Deux (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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: compiler/javatests/com/google/dart/compiler/backend/js/ClosureJsCodingConventionTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/backend/js/ClosureJsCodingConventionTest.java b/compiler/javatests/com/google/dart/compiler/backend/js/ClosureJsCodingConventionTest.java
deleted file mode 100644
index 30dd1f469b23682341f763948180ffcb19f6a443..0000000000000000000000000000000000000000
--- a/compiler/javatests/com/google/dart/compiler/backend/js/ClosureJsCodingConventionTest.java
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2011, 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.
-
-package com.google.dart.compiler.backend.js;
-
-import com.google.javascript.jscomp.CodingConvention.Bind;
-import com.google.javascript.rhino.Node;
-import com.google.javascript.rhino.Token;
-
-import junit.framework.TestCase;
-
-/**
- * @author johnlenz@google.com (John Lenz)
- */
-public class ClosureJsCodingConventionTest extends TestCase {
mmendez 2011/12/07 20:03:00 Nit: it might be worth while to leave this in but
codefu 2011/12/07 21:44:54 This test was failing bellow after we removed the
- public void testBind() {
- ClosureJsCodingConvention convention = new ClosureJsCodingConvention();
-
- // don't recognize a non-bind call.
- Node expr = new Node(Token.CALL, Node.newString(Token.NAME, "foo"));
- assertNull(convention.describeFunctionBind(expr));
-
- // don't recognize a bind call.
- expr = new Node(Token.CALL,
- Node.newString(Token.NAME, "$bind"), new Node(Token.THIS));
- Bind bind = convention.describeFunctionBind(expr);
- assertNotNull(bind);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698