Home
last modified time | relevance | path

Searched refs:sampleName (Results 1 – 8 of 8) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAbstractResolutionTest.java30 protected CompilationUnit parseSampleWithStandardExtension(String sampleName) { in parseSampleWithStandardExtension() argument
31 return parseSample(sampleName, "java"); in parseSampleWithStandardExtension()
34 protected CompilationUnit parseSample(String sampleName) { in parseSample() argument
35 return parseSample(sampleName, "java.txt"); in parseSample()
38 private CompilationUnit parseSample(String sampleName, String extension) { in parseSample() argument
39 …InputStream is = this.getClass().getClassLoader().getResourceAsStream(sampleName + "." + extension… in parseSample()
41 throw new RuntimeException("Unable to find sample " + sampleName); in parseSample()
DContextTest.java61 private CompilationUnit parseSample(String sampleName) { in parseSample() argument
62 … InputStream is = ContextTest.class.getClassLoader().getResourceAsStream(sampleName + ".java.txt"); in parseSample()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/
DTestUtils.java28 public static InputStream getSampleStream(String sampleName) { in getSampleStream() argument
30 + sampleName + ".java"); in getSampleStream()
32 … throw new RuntimeException("Example not found, check your test. Sample name: " + sampleName); in getSampleStream()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DCommentsInserterTest.java37 private String makeFilename(String sampleName) { in makeFilename() argument
38 return "com/github/javaparser/issue_samples/" + sampleName + ".java.txt"; in makeFilename()
41 private ParseResult<CompilationUnit> parseSample(String sampleName) throws IOException { in parseSample() argument
43 makeFilename(sampleName)); in parseSample()
DGeneratedJavaParserTokenManagerTest.java31 private String makeFilename(String sampleName) { in makeFilename() argument
32 return "com/github/javaparser/issue_samples/" + sampleName + ".java.txt"; in makeFilename()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp791 std::stringstream sampleName; in iterate() local
792 sampleName << "Sample " << sampleNdx << " image" << std::endl; in iterate()
795 << tcu::TestLog::Section(sampleName.str(), sampleName.str()) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp1403 const std::string sampleName ("samples_" + de::toString(sampleCount)); in initTests() local
1406 …::TestCaseGroup> sampleGroup(new tcu::TestCaseGroup(testCtx, sampleName.c_str(), sampleName.c_str(… in initTests()
1577 const std::string sampleName ("samples_" + de::toString(sampleCount)); in initTests() local
1580 …::TestCaseGroup> sampleGroup(new tcu::TestCaseGroup(testCtx, sampleName.c_str(), sampleName.c_str(… in initTests()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java72 public void givenTheClassWithEncoding(String sampleName, String encoding) { in givenTheClassWithEncoding() argument
77 TestUtils.getSampleStream(sampleName), in givenTheClassWithEncoding()