Searched refs:thriftFile (Results 1 – 3 of 3) sorted by relevance
85 for (File thriftFile : thriftFiles) { in compile()88 cl.addArguments(buildThriftCommand(thriftFile).toArray(new String[]{})); in compile()108 ImmutableList<String> buildThriftCommand(final File thriftFile) { in buildThriftCommand() argument119 command.add(thriftFile.toString()); in buildThriftCommand()177 public Builder addThriftFile(File thriftFile) { in addThriftFile() argument178 checkNotNull(thriftFile); in addThriftFile()179 checkArgument(thriftFile.isFile()); in addThriftFile()180 checkArgument(thriftFile.getName().endsWith(".thrift")); in addThriftFile()181 checkThriftFileIsInThriftPath(thriftFile); in addThriftFile()182 thriftFiles.add(thriftFile); in addThriftFile()[all …]
81 final File thriftFile = new File(idlDir, "shared.thrift"); in executeThriftCompile() local83 builder.addThriftFile(thriftFile); in executeThriftCompile()87 assertTrue("File not found: shared.thrift", thriftFile.exists()); in executeThriftCompile()125 final File thriftFile = new File(testRootDir, "missing.thrift"); in testBadCompile() local129 assertTrue(thriftFile.createNewFile()); in testBadCompile()130 builder.addThriftFile(thriftFile); in testBadCompile()131 assertTrue(thriftFile.delete()); in testBadCompile()135 assertTrue(!thriftFile.exists()); in testBadCompile()145 final File thriftFile = new File(testRootDir, "missing.thrift"); in testFileInPathPreCondition() local148 assertTrue(thriftFile.createNewFile()); in testFileInPathPreCondition()[all …]
42 def thriftFile = file("$thriftRoot/test/$thriftFileName")43 if (!thriftFile.exists()) {44 thriftFile = file("$projectDir/src/test/resources/$thriftFileName")45 assert thriftFile.exists(), "can't find $thriftFile"48 task.inputs.file thriftFile57 args thriftFile