Home
last modified time | relevance | path

Searched refs:adaptPath (Results 1 – 25 of 43) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaParserAPIIntegrationTest.java35 Path src = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core"); in setup()
39 …combinedTypeSolverNewCode.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javapar… in setup()
50 Path f = adaptPath("src/test/resources/Annotations.java.txt"); in annotationDeclarationResolve()
59 Path f = adaptPath("src/test/resources/Annotations.java.txt"); in annotationMemberDeclarationResolve()
71 …Path f = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javapar… in classDeclarationResolve()
79 Path f = adaptPath("src/test/resources/MethodTypeParams.java.txt"); in interfaceDeclarationResolve()
95 …Path f = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javapar… in constructorDeclarationResolve()
103 …Path f = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javapar… in enumDeclarationResolve()
112 …Path f = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javapar… in enumConstantDeclarationResolve()
123 …Path f = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javapar… in fieldDeclarationResolve()
[all …]
DAbstractSymbolResolutionTest.java27 protected static Path adaptPath(Path path) { in adaptPath() method in AbstractSymbolResolutionTest
39 protected static Path adaptPath(String path) { in adaptPath() method in AbstractSymbolResolutionTest
40 return adaptPath(Paths.get(path)); in adaptPath()
DIssue113Test.java29 …CombinedTypeSolver(new ReflectionTypeSolver(), new JavaParserTypeSolver(adaptPath("src/test/resour… in setup()
34 Path pathToSourceFile = adaptPath("src/test/resources/issue113/com/foo/Widget.java"); in issue113providedCodeDoesNotCrash()
45 Path pathToSourceFile = adaptPath("src/test/resources/issue113/com/foo/Widget.java"); in issue113superClassIsResolvedCorrectly()
DIssue185Test.java25 Path src = adaptPath("src/test/resources/recursion-issue"); in testIssue()
29 … CompilationUnit agendaCu = parse(adaptPath("src/test/resources/recursion-issue/Usage.java")); in testIssue()
DIssue1485Test.java25 Path dir = adaptPath("src/test/resources/issue1485"); in issue1485withoutSpecifyingJARs()
26 Path file = adaptPath("src/test/resources/issue1485/Complex.java"); in issue1485withoutSpecifyingJARs()
DIssue276Test.java26 CompilationUnit cu = parse(adaptPath("src/test/resources/issue276/foo/C.java")); in testSolveStaticallyImportedMemberType()
30 …new JavaParserTypeSolver(adaptPath("src/test/resources/issue276"), new LeanParserConfiguration())); in testSolveStaticallyImportedMemberType()
DIssue300Test.java45 Path pathToSourceFile = adaptPath("src/test/resources/issue300/Issue300.java"); in fieldAccessIssue()
53 …new JavaParserTypeSolver(adaptPath("src/test/resources/issue300"), new LeanParserConfiguration())); in fieldAccessIssue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJarTypeSolverTest.java37 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in initial()
49 Path pathToJar1 = adaptPath("src/test/resources/jar1.jar"); in dependenciesBetweenJarsNotTriggeringReferences()
53 Path pathToJar2 = adaptPath("src/test/resources/jar2.jar"); in dependenciesBetweenJarsNotTriggeringReferences()
63 Path pathToJar2 = adaptPath("src/test/resources/jar2.jar"); in dependenciesBetweenJarsTriggeringReferencesThatCannotBeResolved()
73 Path pathToJar1 = adaptPath("src/test/resources/jar1.jar"); in dependenciesBetweenJarsTriggeringReferencesThatCanBeResolved()
76 Path pathToJar2 = adaptPath("src/test/resources/jar2.jar"); in dependenciesBetweenJarsTriggeringReferencesThatCanBeResolved()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DTypeResolutionWithSameNameTest.java30 Path srcRootPath = adaptPath("src/test/resources/TypeResolutionWithSameNameTest/src1"); in testTypesWithSameNameInPackageAndNested_directExtends()
31 …Path extendsTypePath = adaptPath("src/test/resources/TypeResolutionWithSameNameTest/src1/extends_d… in testTypesWithSameNameInPackageAndNested_directExtends()
61 Path srcRootPath = adaptPath("src/test/resources/TypeResolutionWithSameNameTest/src2"); in testTypesWithSameNameInPackageAndNested_directImplements()
62 …Path implementingTypePath = adaptPath("src/test/resources/TypeResolutionWithSameNameTest/src2/impl… in testTypesWithSameNameInPackageAndNested_directImplements()
DContextTest.java214 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveReferenceToMethod()
233 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveCascadeOfReferencesToMethod()
249 Path src = adaptPath("src/test/resources"); in resolveReferenceToMethodCalledOnArrayAccess()
322 Path pathToJar = adaptPath("src/test/resources/javaparser-core-2.1.0.jar"); in resolveGenericReturnTypeOfMethodInJar()
339 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveCompoundGenericReturnTypeOfMethodInJar()
354 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveNestedGenericReturnTypeOfMethodInJar()
369 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveSimpleGenericReturnTypeOfMethodInJar()
384 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveGenericReturnTypeFromInputParam()
399 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveComplexGenericReturnType()
414 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in resolveDoubleNestedClassType()
[all …]
DSymbolSolverTest.java46 Path srcNewCode = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core"); in setup()
50 …combinedTypeSolverNewCode.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javapar… in setup()
DSymbolSolverWithJavassistInterfaceTest.java30 …final Path pathToMainJar = adaptPath("src/test/resources/javassist_symbols/main_jar/main_jar.jar"); in setup()
31 …final Path pathToIncludedJar = adaptPath("src/test/resources/javassist_symbols/included_jar/includ… in setup()
DAnalyseNewJavaParserHelpersTest.java42 …private static final Path src = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-…
50 …combinedTypeSolver.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javaparser_new… in typeSolver()
DSymbolSolverWithJavassistEnumTest.java30 …final Path pathToMainJar = adaptPath("src/test/resources/javassist_symbols/main_jar/main_jar.jar"); in setup()
31 …final Path pathToIncludedJar = adaptPath("src/test/resources/javassist_symbols/included_jar/includ… in setup()
DSymbolSolverWithJavassistClassTest.java49 …final Path pathToMainJar = adaptPath("src/test/resources/javassist_symbols/main_jar/main_jar.jar"); in setup()
50 …final Path pathToIncludedJar = adaptPath("src/test/resources/javassist_symbols/included_jar/includ… in setup()
DAnalyseJavaSymbolSolver060Test.java43 private static final Path root = adaptPath("src/test/test_sourcecode/javasymbolsolver_0_6_0");
93 …String path = adaptPath(expectedOutput) + "/" + projectName + "/" + fileName.replaceAll("/", "_") … in parse()
97 …String path9 = adaptPath(expectedOutput) + "/" + projectName + "/" + fileName.replaceAll("/", "_")… in parse()
DMethodsResolutionLogicTest.java42 Path srcNewCode = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core"); in setup()
46 …combinedTypeSolverNewCode.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javapar… in setup()
DAnalyseJavaParserTest.java39 private static final Path root = adaptPath("src/test/test_sourcecode/javaparser_src");
72 Path dstFile = adaptPath(root.resolve(path)); in parse()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DCompilationUnitContextResolutionTest.java100 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveSymbolReferringToStaticallyImportedValue()
115 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue()
140 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveSymbolAsValueReferringToStaticallyImportedValue()
153 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveSymbolAsValueReferringToStaticallyImportedUsingAsteriskValue()
188 …Context context = new CompilationUnitContext(cu, new JarTypeSolver(adaptPath("src/test/resources/j… in solveTypeImported()
198 …Context context = new CompilationUnitContext(cu, new JarTypeSolver(adaptPath("src/test/resources/j… in solveTypeNotImported()
210 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveMethodStaticallyImportedWithAsterisk()
228 typeSolver.add(new JarTypeSolver(adaptPath("src/test/resources/junit-4.8.1.jar"))); in solveMethodStaticallyImportedWithoutAsterisk()
DLambdaExprContextResolutionTest.java85 … combinedTypeSolver.add(new JavaParserTypeSolver(adaptPath(src), new LeanParserConfiguration())); in solveParameterOfLambdaInFieldDecl()
103 Path src = adaptPath("src/test/resources"); in solveParameterOfLambdaInVarDecl()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DIssue257Test.java27 Path pathToJar = adaptPath("src/test/resources/issue257/issue257.jar"); in setup()
38 Path pathToSourceFile = adaptPath("src/test/resources/issue257/A.java.txt"); in issue257()
DJavassistTypeParameterDeclarationTest.java40 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup()
66 Path pathToJar = adaptPath("src/test/resources/javassist_generics/generics.jar"); in testGetComplexBounds()
DJavassistInterfaceDeclarationTest.java42 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup()
45 Path anotherPathToJar = adaptPath("src/test/resources/test-artifact-1.0.0.jar"); in setup()
DJavassistEnumDeclarationTest.java43 Path pathToJar = adaptPath("src/test/resources/javaparser-core-3.0.0-alpha.2.jar"); in setup()
46 Path anotherPathToJar = adaptPath("src/test/resources/test-artifact-1.0.0.jar"); in setup()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java64 Path src = adaptPath("src/test/test_sourcecode/javaparser_src/proper_source"); in setup()
68 …combinedTypeSolver.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javaparser_src… in setup()
71 Path srcNewCode = adaptPath("src/test/test_sourcecode/javaparser_new_src/javaparser-core"); in setup()
75 …combinedTypeSolverNewCode.add(new JavaParserTypeSolver(adaptPath("src/test/test_sourcecode/javapar… in setup()
495 CompilationUnit cu = parse(adaptPath("src/test/resources/GenericFields.java.txt")); in testGetAllGenericFields()
852 CompilationUnit cu = parse(adaptPath("src/test/resources/Annotations.java.txt")); in testHasDirectlyAnnotation()
873 CompilationUnit cu = parse(adaptPath("src/test/resources/Annotations.java.txt")); in testHasAnnotation()

12