use of com.google.copybara.testing.DummyEndpoint in project copybara by google.
the class FeedbackTest method setup.
@Before
public void setup() throws Exception {
workdir = Files.createTempDirectory("workdir");
Files.createDirectories(workdir);
console = new TestingConsole();
options = new OptionsBuilder();
dummyEndpoint = new DummyEndpoint();
options.setConsole(console);
options.testingOptions.feedbackEndpoint = dummyEndpoint;
skylark = new SkylarkParser(ImmutableSet.of(Core.class, TestingModule.class));
}
Aggregations