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

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: Pass template files explicitly to Robolectric template processor. 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..e0e49df7b6a076e68303960f688bd05e138c0184
--- /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 {
+
+ Path mOutputFile;
jbudorick 2016/08/03 22:24:03 private
+ Path mTemplateFile;
jbudorick 2016/08/03 22:24:03 private
mikecase (-- gone --) 2016/08/03 22:29:55 made private
+
+ public TemplateFileInfo(Path templateFile, Path outputFile) {
+ mOutputFile = outputFile;
+ mTemplateFile = templateFile;
+ }
+
+ public Path getTemplateFile() {
+ return mTemplateFile;
+ }
+
+ public Path getOutputFile() {
+ return mOutputFile;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698