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

Unified Diff: dart/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java

Issue 20722006: Removed compiler/ directory from repository (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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: dart/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
diff --git a/dart/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java b/dart/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
deleted file mode 100644
index 88d1ba0b2e5d86835e1c6ac79c00a42368ebc56e..0000000000000000000000000000000000000000
--- a/dart/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
+++ /dev/null
@@ -1,74 +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.parser;
-
-import com.google.dart.compiler.CompilerTestCase;
-import com.google.dart.compiler.ast.DartToSourceVisitor;
-import com.google.dart.compiler.ast.DartUnit;
-
-/**
- * Tests, for each of the parser test examples, that {@link DartToSourceVisitor} produces
- * something parseable. It's an imperfect test, as it doesn't account for semantic changes,
- * but it catches a lot of common problems.
- */
-public class ParserRoundTripTest extends CompilerTestCase {
-
- public void testClasses() {
- roundTrip("ClassesInterfaces.dart");
- }
-
- public void testMethodSignatures() {
- roundTrip("MethodSignatures.dart");
- }
-
- public void testFunctionTypes() {
- roundTrip("FunctionTypes.dart");
- }
-
- public void testFormalParameters() {
- roundTrip("FormalParameters.dart");
- }
-
- public void testSuperCalls() {
- roundTrip("SuperCalls.dart");
- }
-
- public void testGenericTypes() {
- roundTrip("GenericTypes.dart");
- }
-
- public void testShifting() {
- roundTrip("Shifting.dart");
- }
-
- public void testFunctionInterfaces() {
- roundTrip("FunctionInterfaces.dart");
- }
-
- public void testStringBuffer() {
- roundTrip("StringBuffer.dart");
- }
-
- public void testListObjectLiterals() {
- roundTrip("ListObjectLiterals.dart");
- }
-
- public void testCatchFinally() {
- roundTrip("CatchFinally.dart");
- }
-
- public void testStrings() {
- roundTrip("Strings.dart");
- }
-
- /**
- * Ensures that a unit can be parsed, re-serialized, and re-parsed without error.
- */
- private void roundTrip(String path) {
- DartUnit unit = parseUnit(path);
- String src = unit.toSource();
- parseUnit(path, src);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698