Index: dart/compiler/javatests/com/google/dart/compiler/SourceTest.java |
diff --git a/dart/compiler/javatests/com/google/dart/compiler/SourceTest.java b/dart/compiler/javatests/com/google/dart/compiler/SourceTest.java |
deleted file mode 100644 |
index cc20251159edbe747fe6513e380188f7735ff010..0000000000000000000000000000000000000000 |
--- a/dart/compiler/javatests/com/google/dart/compiler/SourceTest.java |
+++ /dev/null |
@@ -1,44 +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; |
- |
-import java.net.URI; |
- |
-/** |
- * Testing implementation of {@link Source}. |
- */ |
-public abstract class SourceTest implements Source { |
- |
- private final String name; |
- |
- public SourceTest(String name) { |
- this.name = name; |
- } |
- |
- @Override |
- public boolean exists() { |
- return true; |
- } |
- |
- @Override |
- public long getLastModified() { |
- return 0; |
- } |
- |
- @Override |
- public String getName() { |
- return name; |
- } |
- |
- @Override |
- public String getUniqueIdentifier() { |
- return URI.create(getName()).normalize().toString(); |
- } |
- |
- @Override |
- public URI getUri() { |
- return URI.create(getName()).normalize(); |
- } |
-} |