aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2015-04-24 15:42:57 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-04-27 18:46:50 +0000
commitce4717a9e720e75b70fb000b040547d7dc3b0216 (patch)
treeaac352a707ded5178b8738862dcf72d02e91528c /src/test
parent7b621651b8ce06669fbeab52659ff1336bc99245 (diff)
Inline FoundationTestCase.deleteFile and one variant of scratchFile.
-- MOS_MIGRATED_REVID=91985334
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/google/devtools/build/lib/testutil/FoundationTestCase.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/testutil/FoundationTestCase.java b/src/test/java/com/google/devtools/build/lib/testutil/FoundationTestCase.java
index c5e423b9f4..230a01e1e6 100644
--- a/src/test/java/com/google/devtools/build/lib/testutil/FoundationTestCase.java
+++ b/src/test/java/com/google/devtools/build/lib/testutil/FoundationTestCase.java
@@ -157,25 +157,6 @@ public abstract class FoundationTestCase extends TestCase {
return scratch.overwriteFile(pathName, lines);
}
- /**
- * Create a scratch file in the given filesystem, with the given pathName,
- * consisting of a set of lines. The method returns a Path instance for the
- * scratch file.
- */
- protected Path scratchFile(String pathName, byte[] content)
- throws IOException {
- return scratch.file(pathName, content);
- }
-
- /**
- * Create a scratch file in the scratch filesystem, with the given pathName,
- * consisting of a set of lines. The method returns a Path instance for the
- * scratch file.
- */
- protected void deleteFile(String pathName) throws IOException {
- scratch.deleteFile(pathName);
- }
-
// Mix-in assertions:
protected void assertNoEvents() {