Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make tests framework agnostic #69

Draft
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

swissiety
Copy link
Member

@swissiety swissiety commented Dec 17, 2024

  • remove soot dependencies from main code
  • disabled/commented sparsification as it only worked on soot objects directly (not using domain objects)
  • restructure test cases to use framework agnostic domain objects
  • currently: fill domain objects with information provided by soot

future work on that matter is noted in #42

TODO:

  • before merge: lets run a code style over it so that is done finally

@swissiety swissiety changed the title sootup support refactor refactor: make tests framework agnostic Dec 17, 2024
@schlichtig schlichtig requested a review from smeyer198 December 17, 2024 12:58
# Conflicts:
#	SparseBoomerangCorrectness/pom.xml
#	SynchronizedPDS/pom.xml
#	SynchronizedPDS/src/main/java/sync/pds/solver/OneWeightFunctions.java
#	SynchronizedPDS/src/main/java/sync/pds/solver/SyncPDSSolver.java
#	WPDS/pom.xml
#	WPDS/src/main/java/wpds/impl/WeightedPAutomaton.java
#	WPDS/src/main/java/wpds/impl/WeightedPushdownSystem.java
#	boomerangPDS/pom.xml
#	boomerangPDS/src/main/java/boomerang/WeightedBoomerang.java
#	boomerangPDS/src/main/java/boomerang/WeightedForwardQuery.java
#	boomerangPDS/src/main/java/boomerang/callgraph/BoomerangResolver.java
#	boomerangPDS/src/main/java/boomerang/debugger/ConsoleDebugger.java
#	boomerangPDS/src/test/java/test/cases/fields/ReadPOITest.java
#	boomerangPDS/src/test/java/test/cases/fields/WritePOITest.java
#	boomerangScope-Soot/src/main/java/boomerang/framework/soot/jimple/JimpleDeclaredMethod.java
#	boomerangScope-Soot/src/main/java/boomerang/framework/soot/jimple/JimpleMethod.java
#	boomerangScope-Soot/src/main/java/boomerang/framework/soot/jimple/JimpleStaticFieldVal.java
#	boomerangScope-WALA/pom.xml
#	boomerangScope-WALA/src/main/java/boomerang/framework/wala/WALADeclaredMethod.java
#	boomerangScope-WALA/src/main/java/boomerang/framework/wala/WALAMethod.java
#	boomerangScope/pom.xml
#	idealPDS/pom.xml
#	idealPDS/src/main/java/typestate/TransitionFunction.java
#	idealPDS/src/main/java/typestate/impl/statemachines/OutputStreamStateMachine.java
#	idealPDS/src/test/java/typestate/test/helper/File.java
#	pom.xml
#	testCore/pom.xml
@swissiety
Copy link
Member Author

  • investigate performance drop: previous builds took ~4 min vs. ~ 11 min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants