From 094bfae8f169750d8f6188e6c145f1e103796b60 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Tue, 17 Jul 2018 13:00:56 +0200 Subject: [PATCH] test: added performance tracking for java indexer tests --- src/test/CxxIndexSampleProjectsTestSuite.h | 126 ++++---- src/test/JavaIndexSampleProjectsTestSuite.h | 310 +++++++++++--------- 2 files changed, 235 insertions(+), 201 deletions(-) diff --git a/src/test/CxxIndexSampleProjectsTestSuite.h b/src/test/CxxIndexSampleProjectsTestSuite.h index 973239b0..5088bfd5 100644 --- a/src/test/CxxIndexSampleProjectsTestSuite.h +++ b/src/test/CxxIndexSampleProjectsTestSuite.h @@ -22,54 +22,57 @@ public: { #ifdef _WIN32 #ifdef NDEBUG - processSourceFiles(L"Box2D", { - FilePath("Box2D/Collision/b2BroadPhase.cpp"), - FilePath("Box2D/Collision/b2CollideCircle.cpp"), - FilePath("Box2D/Collision/b2CollideEdge.cpp"), - FilePath("Box2D/Collision/b2CollidePolygon.cpp"), - FilePath("Box2D/Collision/b2Collision.cpp"), - FilePath("Box2D/Collision/b2Distance.cpp"), - FilePath("Box2D/Collision/b2DynamicTree.cpp"), - FilePath("Box2D/Collision/b2TimeOfImpact.cpp"), - FilePath("Box2D/Collision/Shapes/b2ChainShape.cpp"), - FilePath("Box2D/Collision/Shapes/b2CircleShape.cpp"), - FilePath("Box2D/Collision/Shapes/b2EdgeShape.cpp"), - FilePath("Box2D/Collision/Shapes/b2PolygonShape.cpp"), - FilePath("Box2D/Common/b2BlockAllocator.cpp"), - FilePath("Box2D/Common/b2Draw.cpp"), - FilePath("Box2D/Common/b2Math.cpp"), - FilePath("Box2D/Common/b2Settings.cpp"), - FilePath("Box2D/Common/b2StackAllocator.cpp"), - FilePath("Box2D/Common/b2Timer.cpp"), - FilePath("Box2D/Dynamics/b2Body.cpp"), - FilePath("Box2D/Dynamics/b2ContactManager.cpp"), - FilePath("Box2D/Dynamics/b2Fixture.cpp"), - FilePath("Box2D/Dynamics/b2Island.cpp"), - FilePath("Box2D/Dynamics/b2World.cpp"), - FilePath("Box2D/Dynamics/b2WorldCallbacks.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2ChainAndCircleContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2CircleContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2Contact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2ContactSolver.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp"), - FilePath("Box2D/Dynamics/Contacts/b2PolygonContact.cpp"), - FilePath("Box2D/Dynamics/Joints/b2DistanceJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2FrictionJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2GearJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2Joint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2MotorJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2MouseJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2PrismaticJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2PulleyJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2RevoluteJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2RopeJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2WeldJoint.cpp"), - FilePath("Box2D/Dynamics/Joints/b2WheelJoint.cpp"), - FilePath("Box2D/Rope/b2Rope.cpp") - }); + processSourceFiles( + L"Box2D", + { + FilePath("Box2D/Collision/b2BroadPhase.cpp"), + FilePath("Box2D/Collision/b2CollideCircle.cpp"), + FilePath("Box2D/Collision/b2CollideEdge.cpp"), + FilePath("Box2D/Collision/b2CollidePolygon.cpp"), + FilePath("Box2D/Collision/b2Collision.cpp"), + FilePath("Box2D/Collision/b2Distance.cpp"), + FilePath("Box2D/Collision/b2DynamicTree.cpp"), + FilePath("Box2D/Collision/b2TimeOfImpact.cpp"), + FilePath("Box2D/Collision/Shapes/b2ChainShape.cpp"), + FilePath("Box2D/Collision/Shapes/b2CircleShape.cpp"), + FilePath("Box2D/Collision/Shapes/b2EdgeShape.cpp"), + FilePath("Box2D/Collision/Shapes/b2PolygonShape.cpp"), + FilePath("Box2D/Common/b2BlockAllocator.cpp"), + FilePath("Box2D/Common/b2Draw.cpp"), + FilePath("Box2D/Common/b2Math.cpp"), + FilePath("Box2D/Common/b2Settings.cpp"), + FilePath("Box2D/Common/b2StackAllocator.cpp"), + FilePath("Box2D/Common/b2Timer.cpp"), + FilePath("Box2D/Dynamics/b2Body.cpp"), + FilePath("Box2D/Dynamics/b2ContactManager.cpp"), + FilePath("Box2D/Dynamics/b2Fixture.cpp"), + FilePath("Box2D/Dynamics/b2Island.cpp"), + FilePath("Box2D/Dynamics/b2World.cpp"), + FilePath("Box2D/Dynamics/b2WorldCallbacks.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2ChainAndCircleContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2CircleContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2Contact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2ContactSolver.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp"), + FilePath("Box2D/Dynamics/Contacts/b2PolygonContact.cpp"), + FilePath("Box2D/Dynamics/Joints/b2DistanceJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2FrictionJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2GearJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2Joint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2MotorJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2MouseJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2PrismaticJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2PulleyJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2RevoluteJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2RopeJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2WeldJoint.cpp"), + FilePath("Box2D/Dynamics/Joints/b2WheelJoint.cpp"), + FilePath("Box2D/Rope/b2Rope.cpp") + } + ); #endif // NDEBUG #endif // _WIN32 } @@ -78,18 +81,21 @@ public: { #ifdef _WIN32 #ifdef NDEBUG - processSourceFiles(L"Bullet3", { - FilePath("Bullet3Collision/BroadPhaseCollision/b3DynamicBvh.cpp"), - FilePath("Bullet3Collision/BroadPhaseCollision/b3DynamicBvhBroadphase.cpp"), - FilePath("Bullet3Collision/BroadPhaseCollision/b3OverlappingPairCache.cpp"), - FilePath("Bullet3Collision/NarrowPhaseCollision/b3ConvexUtility.cpp"), - FilePath("Bullet3Collision/NarrowPhaseCollision/b3CpuNarrowPhase.cpp"), - FilePath("Bullet3Common/b3AlignedAllocator.cpp"), - FilePath("Bullet3Common/b3Logging.cpp"), - FilePath("Bullet3Common/b3Vector3.cpp"), - FilePath("Bullet3Geometry/b3ConvexHullComputer.cpp"), - FilePath("Bullet3Geometry/b3GeometryUtil.cpp") - }); + processSourceFiles( + L"Bullet3", + { + FilePath("Bullet3Collision/BroadPhaseCollision/b3DynamicBvh.cpp"), + FilePath("Bullet3Collision/BroadPhaseCollision/b3DynamicBvhBroadphase.cpp"), + FilePath("Bullet3Collision/BroadPhaseCollision/b3OverlappingPairCache.cpp"), + FilePath("Bullet3Collision/NarrowPhaseCollision/b3ConvexUtility.cpp"), + FilePath("Bullet3Collision/NarrowPhaseCollision/b3CpuNarrowPhase.cpp"), + FilePath("Bullet3Common/b3AlignedAllocator.cpp"), + FilePath("Bullet3Common/b3Logging.cpp"), + FilePath("Bullet3Common/b3Vector3.cpp"), + FilePath("Bullet3Geometry/b3ConvexHullComputer.cpp"), + FilePath("Bullet3Geometry/b3GeometryUtil.cpp") + } + ); #endif // NDEBUG #endif // _WIN32 } diff --git a/src/test/JavaIndexSampleProjectsTestSuite.h b/src/test/JavaIndexSampleProjectsTestSuite.h index 89d9110c..5849a90d 100644 --- a/src/test/JavaIndexSampleProjectsTestSuite.h +++ b/src/test/JavaIndexSampleProjectsTestSuite.h @@ -3,7 +3,6 @@ #include #include - #include "data/indexer/IndexerCommandJava.h" #include "data/parser/java/JavaEnvironmentFactory.h" #include "data/parser/java/JavaParser.h" @@ -19,6 +18,9 @@ class JavaIndexSampleProjectsTestSuite : public CxxTest::TestSuite { public: + static const bool s_updateExpectedOutput = false; + static const bool s_trackTime = true; + void test_java_parser_can_setup_environment_factory() { std::vector javaPaths = utility::getJavaRuntimePathDetector()->getPaths(); @@ -35,9 +37,7 @@ public: void test_index_javasymbolsolver_0_6_0_project() { - const bool updateExpectedOutput = false; - - const std::vector& classpath = { + const std::vector& classpath = { FilePath(L"data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/guava-21.0.jar").makeAbsolute(), FilePath(L"data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaparser-core-3.3.0.jar").makeAbsolute(), FilePath(L"data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaslang-2.0.3.jar").makeAbsolute(), @@ -47,141 +47,147 @@ public: FilePath(L"data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/src/java-symbol-solver-model").makeAbsolute() }; - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/SourceFileInfoExtractor.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/Context.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/ContextHelper.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/MethodDeclarationCommonLogic.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/Navigator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/package-info.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/DefaultVisitorAdapter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFactory.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/LambdaArgumentTypePlaceholder.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/package-info.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/UnsolvedSymbolException.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AbstractJavaParserContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AbstractMethodLikeDeclarationContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AnonymousClassDeclarationContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/CatchClauseContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ClassOrInterfaceDeclarationContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/CompilationUnitContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ConstructorContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ContextHelper.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/EnumDeclarationContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/FieldAccessContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ForechStatementContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ForStatementContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/JavaParserTypeDeclarationAdapter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/LambdaExprContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodCallExprContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/StatementContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/SwitchEntryContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/TryWithResourceContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/DefaultConstructorDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/Helper.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnnotationDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnonymousClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserConstructorDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumConstantDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserFieldDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserInterfaceDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserMethodDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserParameterDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserSymbolDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeAdapter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeParameter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeVariableDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/AbstractSymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/FieldSymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/NoSymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/ParameterSymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/VariableSymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistConstructorDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistEnumDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistFactory.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistFieldDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistInterfaceDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistMethodDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistParameterDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeDeclarationAdapter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeParameter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistUtils.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/package-info.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/LazyType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/ReferenceTypeImpl.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/MyObjectProvider.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/package-info.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassAdapter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionConstructorDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionEnumDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionFactory.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionFieldDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionInterfaceDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionMethodDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionMethodResolutionLogic.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionParameterDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionTypeParameter.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/ClassComparator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/MethodComparator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/ParameterComparator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/ConstructorResolutionLogic.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/MethodResolutionLogic.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/SymbolDeclarator.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/CombinedTypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/JarTypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/JavaParserTypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/MemoryTypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/ReflectionTypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/AbstractClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/AbstractTypeDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/ConfilictingGenericTypesException.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/FunctionalInterfaceLogic.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/InferenceContext.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/InferenceVariableType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/ObjectProvider.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/AccessLevel.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/AnnotationDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ClassDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ConstructorDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/Declaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/EnumDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/FieldDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/HasAccessLevel.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/InterfaceDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodAmbiguityException.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodLikeDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ParameterDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ReferenceTypeDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeParameterDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeParametrizable.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ValueDeclaration.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/methods/MethodUsage.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/TypeSolver.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/UnsolvedSymbolException.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/Value.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ArrayType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/LambdaConstraintType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/NullType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/PrimitiveType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ReferenceType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/Type.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/TypeTransformer.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/TypeVariable.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/VoidType.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/Wildcard.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParametersMap.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParameterValueProvider.java"), classpath, updateExpectedOutput); - processSourceFile("JavaSymbolSolver060", FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParametrized.java"), classpath, updateExpectedOutput); + processSourceFiles( + "JavaSymbolSolver060", + { + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/SourceFileInfoExtractor.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/Context.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/ContextHelper.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/MethodDeclarationCommonLogic.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/Navigator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/package-info.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/DefaultVisitorAdapter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFactory.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/LambdaArgumentTypePlaceholder.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/package-info.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/UnsolvedSymbolException.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AbstractJavaParserContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AbstractMethodLikeDeclarationContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AnonymousClassDeclarationContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/CatchClauseContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ClassOrInterfaceDeclarationContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/CompilationUnitContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ConstructorContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ContextHelper.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/EnumDeclarationContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/FieldAccessContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ForechStatementContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ForStatementContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/JavaParserTypeDeclarationAdapter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/LambdaExprContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodCallExprContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/StatementContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/SwitchEntryContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/TryWithResourceContext.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/DefaultConstructorDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/Helper.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnnotationDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnonymousClassDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserClassDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserConstructorDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumConstantDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserFieldDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserInterfaceDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserMethodDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserParameterDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserSymbolDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeAdapter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeParameter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeVariableDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/AbstractSymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/FieldSymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/NoSymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/ParameterSymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/VariableSymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistClassDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistConstructorDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistEnumDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistFactory.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistFieldDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistInterfaceDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistMethodDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistParameterDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeDeclarationAdapter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeParameter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/JavassistUtils.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/package-info.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/LazyType.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/ReferenceTypeImpl.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/MyObjectProvider.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/package-info.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassAdapter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionConstructorDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionEnumDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionFactory.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionFieldDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionInterfaceDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionMethodDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionMethodResolutionLogic.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionParameterDeclaration.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionTypeParameter.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/ClassComparator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/MethodComparator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/ParameterComparator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/ConstructorResolutionLogic.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/MethodResolutionLogic.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/SymbolDeclarator.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/CombinedTypeSolver.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/JarTypeSolver.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/JavaParserTypeSolver.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/MemoryTypeSolver.java"), + FilePath(L"java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/ReflectionTypeSolver.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/AbstractClassDeclaration.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/AbstractTypeDeclaration.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/ConfilictingGenericTypesException.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/FunctionalInterfaceLogic.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/InferenceContext.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/InferenceVariableType.java"), + FilePath(L"java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/ObjectProvider.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/AccessLevel.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/AnnotationDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ClassDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ConstructorDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/Declaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/EnumDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/FieldDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/HasAccessLevel.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/InterfaceDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodAmbiguityException.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/MethodLikeDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ParameterDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ReferenceTypeDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeParameterDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/TypeParametrizable.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ValueDeclaration.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/methods/MethodUsage.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/TypeSolver.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/UnsolvedSymbolException.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/Value.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ArrayType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/LambdaConstraintType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/NullType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/PrimitiveType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ReferenceType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/Type.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/TypeTransformer.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/TypeVariable.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/VoidType.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/Wildcard.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParametersMap.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParameterValueProvider.java"), + FilePath(L"java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/TypeParametrized.java") + }, + classpath + ); } private: @@ -215,7 +221,25 @@ private: } } - void processSourceFile(const std::string& projectName, const FilePath& sourceFilePath, const std::vector& classpath, const bool updateExpectedOutput) + void processSourceFiles(const std::string& projectName, const std::vector& sourceFilePaths, const std::vector& classpath) + { + m_duration = 0; + for (const FilePath& filePath : sourceFilePaths) + { + processSourceFile(projectName, filePath, classpath); + } + if (s_trackTime) + { + const FilePath projectDataRoot = FilePath("data/JavaIndexSampleProjectsTestSuite/" + projectName).makeAbsolute(); + + std::ofstream outfile; + outfile.open(FilePath(projectDataRoot.str() + "/" + projectName + ".timing").str(), std::ios_base::app); + outfile << TimeStamp::now().toString() << " - " << m_duration << " ms\n"; + outfile.close(); + } + } + + void processSourceFile(const std::string& projectName, const FilePath& sourceFilePath, const std::vector& classpath) { const FilePath projectDataRoot = FilePath("data/JavaIndexSampleProjectsTestSuite/" + projectName); const FilePath projectDataSrcRoot = projectDataRoot.getConcatenated(L"src"); @@ -224,7 +248,7 @@ private: std::shared_ptr output = parseCode(projectDataSrcRoot.getConcatenated(sourceFilePath), projectDataSrcRoot, classpath); const FilePath expectedOutputFilePath = projectDataExpectedOutputRoot.getConcatenated(utility::replace(sourceFilePath.withoutExtension().wstr() + L".txt", L"/", L"_")); - if (updateExpectedOutput || !expectedOutputFilePath.exists()) + if (s_updateExpectedOutput || !expectedOutputFilePath.exists()) { std::ofstream expectedOutputFile; expectedOutputFile.open(expectedOutputFilePath.str()); @@ -252,8 +276,12 @@ private: JavaParser parser(parserClient); std::shared_ptr command = std::make_shared(sourceFilePath, "8", classpath); + TimeStamp startTime = TimeStamp::now(); parser.buildIndex(command); + m_duration += TimeStamp::now().deltaMS(startTime); return TextAccess::createFromString(utility::encodeToUtf8(parserClient->m_lines)); } + + size_t m_duration; };