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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src-framework/com/google/dart/ui/test/driver/ReadyOperation.java

Issue 18548007: UI tests for 'Rename' and 'Extract Local Variable' refactorings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments Created 7 years, 5 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: editor/tools/plugins/com.google.dart.tools.ui_test/src-framework/com/google/dart/ui/test/driver/ReadyOperation.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/html/scanner/StringScannerTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src-framework/com/google/dart/ui/test/driver/ReadyOperation.java
similarity index 69%
copy from editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/html/scanner/StringScannerTest.java
copy to editor/tools/plugins/com.google.dart.tools.ui_test/src-framework/com/google/dart/ui/test/driver/ReadyOperation.java
index 047c502f46fcabf11f925c1d6d7a62420902c94e..7153db4095836a1fca8024d86631ee84f5ff6346 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/html/scanner/StringScannerTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src-framework/com/google/dart/ui/test/driver/ReadyOperation.java
@@ -11,12 +11,16 @@
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
-package com.google.dart.engine.html.scanner;
+package com.google.dart.ui.test.driver;
-public class StringScannerTest extends AbstractScannerTest {
+import com.google.dart.ui.test.util.UiContext;
+/**
+ * The {@link Operation} which is always ready.
+ */
+public abstract class ReadyOperation extends Operation {
@Override
- protected AbstractScanner newScanner(String input) {
- return new StringScanner(null, input);
+ public boolean isReady(UiContext context) throws Exception {
+ return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698