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

Unified Diff: third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/TemplateFileInfo.java

Issue 2200413004: Pass template files explicitly to Robolectric template processor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jbudoricks commnets Created 4 years, 4 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: third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/TemplateFileInfo.java
diff --git a/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/TemplateFileInfo.java b/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/TemplateFileInfo.java
new file mode 100644
index 0000000000000000000000000000000000000000..4fc5b003a5f9be4538b6da4a7b3afcc7e63144fa
--- /dev/null
+++ b/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/TemplateFileInfo.java
@@ -0,0 +1,29 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.testing.robolectric.template;
+
+import java.nio.file.Path;
+
+/**
+ * Simple container class for path info about template files.
+ */
+public class TemplateFileInfo {
+
+ private Path mOutputFile;
+ private Path mTemplateFile;
+
+ public TemplateFileInfo(Path templateFile, Path outputFile) {
+ mOutputFile = outputFile;
+ mTemplateFile = templateFile;
+ }
+
+ public Path getTemplateFile() {
+ return mTemplateFile;
+ }
+
+ public Path getOutputFile() {
+ return mOutputFile;
+ }
+}
« no previous file with comments | « third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessTemplateArgParser.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698