Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Saloed/UTBotJava
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: UnitTestBot/UTBotJava
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 302 files changed
  • 14 contributors

Commits on Dec 8, 2023

  1. USVM to UtBot adapters without contest hacks (UnitTestBot#2710)

    * Introduce `Tool.USVM` in `ContestEstimator`, implement `runUsvmGeneration` (UnitTestBot#2666)
    
    * Add `Tool.USVM` in `ContestEstimator`, implement `runUsvmGeneration`
    
    * Remove redundant TODO
    
    * Bump UtBot dependencies version to match USVM dependencies
    
    * Use `UTestExecutionResult.trace` instead of `JcCoverage`
    
    * Bump ksmt version to `0.5.13`
    
    * Hacks similar to contest 2023 ones (UnitTestBot#2676)
    
    * Initial implementations of the adapter from JcExecution to UtExecution (UnitTestBot#2677)
    
    * Some awful attempts
    
    * Initially implemented a converter of UTestInst to UtModel
    
    * Refactor JcToUtModelConverter basing on UTestInst2UtModel converter
    
    * Some steps to implement JcToUtExecutionConverter
    
    * Implement minimalistic jc to ut execution conversion, enable codegen
    
    * Some improvements
    
    * DeepMapper for models is used
    
    * Corrections
    
    * Some improvements to JcToUtModelConverter
    
    * Further improvements to JcToUtModelConverter
    
    * Another converter little improvement
    
    * Improve `UtExecutionFailure` creation
    
    * Finish implementing `JcToUtModelConverter`
    
    * Refactor nullability in `JcToUtModelConverter` and `JcToUtExecutionConverter`
    
    * First version of JC to UT converters without overusing `Descriptor2ValueConverter`
    
    * Processed forgotten call method expression
    
    * Make conversion more class-friendly (do not fail if one method cause failure)
    
    * Make it possible to use samples in ContestEstimator
    
    * Tested on all primitives
    
    * contrflow tests added
    
    * More test classes added
    
    * Add `build/output/test/samples` to `utbot-junit-contest` test projects
    
    * Steps to avoid duplicating statements
    
    * Make it working correct on IntExamples.max
    
    * Remove OptimizeImportsProcessor (seems it was not called, but a source of bugs)
    
    * Process UTestStaticMethodCall
    
    * Comment out includes for IDE related projects in `settings.gradle.kts`
    
    * Avoid using burningwave to export modules on Java 8
    
    * Fix review comments
    
    * Fix review comments
    
    ---------
    
    Co-authored-by: IlyaMuravjov <[email protected]>
    
    * Supporting arrays classId in Contests (UnitTestBot#2680)
    
    * Try to get classId from arrays with JacoDb
    
    * Fix a bug
    
    * Add primitive arrays to a list
    
    * Very simple UtAssembleModel improver (UnitTestBot#2678)
    
    * Very simple UtAssembleModel improver
    
    * Use `IdentityHashMap`-based cache when mapping `UtModel`s
    
    * Improve checks for `UtAssembleModel`s created with `createInstance` method
    
    ---------
    
    Co-authored-by: IlyaMuravjov <[email protected]>
    
    * Fix class name argument in the setField method (UnitTestBot#2681)
    
    Fix setField class name argument
    
    * Fix test generation for nested classes (UnitTestBot#2684)
    
    * Improver `UTestRunner` initialization and shutdown (UnitTestBot#2683)
    
    * Add summarization for usvm-sbft (UnitTestBot#2682)
    
    * Add summarization for usvm-sbft
    
    * Add summary setting to the setOption method and do small refactoring
    
    * Use usvm samples instead of UtBot ones (UnitTestBot#2685)
    
    * Fix fieldId creation for UtCompositeModel (UnitTestBot#2686)
    
    * A tempopary hack for void TypeName processing
    
    * A proper solution for void TypeName processing
    
    * Add all arrays as test classes for converters
    
    * Add samples from types
    
    * Add samples from ternary
    
    * Add processing of usvmExistingButNullString (UnitTestBot#2689)
    
    add processing of existingButNullString
    
    * Fix classloader problem and correct class lists (exclude missing classes & classes compiled with Java 17)
    
    * Include usvm via GitHub packages (UnitTestBot#2687)
    
    * Include usvm via GitHub packages
    
    * Improve gradle script for utbot-junit-contest
    
    * Upgrade usvm version
    
    * Add invokes into samples
    
    * Add several new classes to samples - Yuri said that it is enough
    
    * Fix enum converter and add sample from enums
    
    * Remove non-relevant TODO
    
    * Improve `UTestValueDescriptor` to `UtModel` conversion and state change asserts generation (UnitTestBot#2691)
    
    * Fix compilation after USVM update (jvm-instrumentation-persistent-descriptors)
    
    * Make `JcToUtModelConverter` construct `UtCompositeModel.origin` and assign same id to `stateBefore` and `stateAfter` models that describe same object
    
    * Adapt `ExecutionStateAnalyzer` to deal with absence of `refId` in USVM descriptors for classes, enums, and throwables
    
    * Adapt `ExecutionStateAnalyzer` to deal with `UtAssembleModel`s with `origin`
    
    * Replace `UtAssembleModel`s that only use reflection with `UtCompositeModel`s, improve `constModel` for `UtArrayModel`
    
    * Update usvm version
    
    * Fix `constructConstArrayModelMapper` for empty arrays
    
    * Remove non-relevant TODO
    
    * Use jacodb with `classpathWithApproximations`
    
    * Reduce concrete execution timeout to 1 second
    
    * Remove redundant TODO
    
    * Replace generics with bounds when converting to ut models
    
    * Correct JacoDb classpath
    
    * Correct JacoDb classpath
    
    * Update jacodb (UnitTestBot#2694)
    
    * Update approximations version
    
    * Update usvm version
    
    * Make JcMachine's budget distributing strategy and refactor (UnitTestBot#2695)
    
    * SBFT'24 An attempt to support UTestGlobalMock in converters (UnitTestBot#2690)
    
    * An attempt to support UTestGlobalMock in converters
    
    * Apply review fixes
    
    * Corrected valueModels for global constructors mocks
    
    * Introduce and use `JcMachine.analyzeAsync` in `ContestUsvm` (UnitTestBot#2696)
    
    * Make USVM descriptor to UtModel cache consider state kind (initial or final) (UnitTestBot#2697)
    
    * Update gradle script to run tests properly
    
    * Update usvm version
    
    * Remove strange hack to discuss later
    
    * Add support for correct generation of inner tests
    
    * Update usvm version
    
    * Avoid set fields not present in `UTest` (for `UtCompositeModel`) (UnitTestBot#2698)
    
    * Use classpathWithApproximations
    
    * Fix bug in `assertEquals` for `String` in codegen
    
    * Add timeout execution conversion
    
    * Improve logging time spent on concrete and conversion
    
    * Make logger group repeated exceptions (e.g. "(x100) message")
    
    * Better log `JcType.classId` fails
    
    * Add notice about `usvmVersion` being outdated
    
    * Actualise `JcTestExecutor`
    
    * Update usvm version
    
    * Fix invalid `UTestCyclicReferenceDescriptor`
    
    * Automatically remove uncompilable test methods (UnitTestBot#2699)
    
    * Update path selector strategy
    
    * Add a copy of UnitTestBot#2627 into competitions branch
    
    * Update approximations version
    
    * Use symbolic result instead of concrete if it is better (UnitTestBot#2700)
    
    * Avoid class initialization when we evaluate ClassId
    
    * Revert "Avoid class initialization when we evaluate ClassId"
    
    This reverts commit 62f25ad.
    
    * Avoid class initialization when we evaluate ClassId
    
    * Create mocks in output values (UnitTestBot#2701)
    
    * Update `JcTestExecutor` to resolve mocks
    
    * Remove approximations specific methods filter
    
    * Update versions
    
    * Update usvm version
    
    * Workaround to deal with `UTestMethodCall` where `instance` is a mock
    
    * Solver type changed
    
    * Handle `UTestSetFieldStatement` where `instance` is a mock
    
    * Hack for Random mocks (UnitTestBot#2702)
    
    * Add cast when `mock()` is called on anonymous class (e.g. `(CaseFormat) mock(Class.forName("com.google.common.base.CaseFormat$3"))`)
    
    * Improve logging for `JcField.fieldId` failures
    
    * Update approximations version
    
    * jc-test-resolver: better handling of strings and classes, class constants
    
    * Update lists as in benchmark
    
    * Fallback to symbolic result when `runner.executeAsync()` throws exception
    
    * Fix the list
    
    * Fallback to symbolic result when `jcToUtExecutionConverter.convert` throws exception due to incomplete concrete result
    
    * Fix codegen for `String(char[])` calls (use string literals when possible)
    
    * Ignore static fields in `UTestObjectDescriptor`
    
    * Usvm competitions 2024: jacodb persistence (UnitTestBot#2703)
    
    * Use jacodb persistence
    
    * Update usvm version
    
    * Usvm distribution for the contest (UnitTestBot#2704)
    
    * Add types sorting
    
    * Drop crashed executions (UnitTestBot#2705)
    
    * Fix classpath (UnitTestBot#2706)
    
    * Avoid `<clinit>` call in `JcField.fieldId`
    
    * Add timeout for all test with exceptions
    
    * Removed Soot initialization (UnitTestBot#2707)
    
    * Disabled Soot initialization for usvm competition
    
    * Changed logging messages for jacodb initialization
    
    * Update usvm version
    
    * Remove irrelevant require
    
    * Initialize JacoDB and stat executor before starting contest, stop caching machine (UnitTestBot#2708)
    
    * Count "ensure JacoDB is initialized and executor is started" in force termination timeout
    
    * Initialize JacoDB and stat executor before starting contest, stop caching machine
    
    * Updated usvm version
    
    * Add `maxUnknownCoverageExecutionsPerMethodPerResultType` to `settings.properties`
    
    * Update Z3 native files paths to work with ksmt 0.5.13
    
    * Update RD in all projects
    
    * Update Run IDEA task to use :utbot-intellij-main
    
    * Complete most `usvm-sbft-merge` TODOs
    
    * Uncomment `include`s for `intellij` projects in `settings.gradle.kts`
    
    * Add `addTestMethodMarkers` ut setting
    
    * Revert contest hacks
    
    * Make contest use `Tool.UtBot` by default
    
    * Update tool settings for summary
    
    * Update gradle properties in yml scripts
    
    * Temporary creds
    
    * Revert temporary creds
    
    * Some todos in TestFrameworkManager
    
    * bissquit: configure debug env
    
    * add pers token
    
    * add secret
    
    * add token to all gradle runs
    
    * replace ro_token by github_token
    
    * add permissions
    
    * change to write permissions
    
    * return PACKAGES_RO_TOKEN var
    
    * remove debug
    
    * Further update of yml scripts
    
    * Correct usvm version to fix compilation
    
    * Disable four tests
    
    ---------
    
    Co-authored-by: Egor Kulikov <[email protected]>
    Co-authored-by: Kirill Shishin <[email protected]>
    Co-authored-by: Kirill Shishin <[email protected]>
    Co-authored-by: Yury Kamenev <[email protected]>
    Co-authored-by: Valentyn Sobol <[email protected]>
    Co-authored-by: Sergey Pospelov <[email protected]>
    Co-authored-by: Egor Vasiliev 00665613 <[email protected]>
    8 people authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    deedfc7 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    9fd7984 View commit details
    Browse the repository at this point in the history
  2. Pycharm plugin publishing (UnitTestBot#2679)

    Co-authored-by: Vassiliy.Kudryashov <[email protected]>
    tamarinvs19 and Vassiliy.Kudryashov authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c5a1926 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    928d1b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9726de View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    e66620d View commit details
    Browse the repository at this point in the history
  2. Fix problem with Pycharm plugin UnitTestBot#2720 (UnitTestBot#2721)

    * Create new module for Pycharm plugin
    
    * Change github script publish-plugin-from-branch.yml
    tamarinvs19 authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    7f46841 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Added one more seata related jar to utbot-junit-contest (UnitTestBo…

    …t#2724)
    
    Added one more jar to contest project
    EgorkaKulikov authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    ae31017 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    c0235d4 View commit details
    Browse the repository at this point in the history
  2. Add saving Spring related settings selected by User on action dialog U…

    …nitTestBot#2643 (UnitTestBot#2731)
    
    * Add saving Spring related settings selected by User on action dialog
    
    * Refactoring
    
    * Little code cleanup
    
    ---------
    
    Co-authored-by: Egor Kulikov <[email protected]>
    tepa46 and EgorkaKulikov authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    fb60ec0 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    c7f2ac4 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Move of module utbot-python-types into a separate repository (UnitT…

    …estBot#2734)
    
    * Made the move
    
    * Updated docs
    
    * fix in module utbot-intellij-python
    
    * pr fixes
    
    * Updated scheme for local utbot_mypy_runner
    tochilinak authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    7f10da6 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    2b37f07 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    228072f View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Configuration menu
    Copy the full SHA
    d06fb76 View commit details
    Browse the repository at this point in the history
  2. add dependbot and modify the github token permission (UnitTestBot#2747)

    * Create dependabot.yml
    
    * modify token permission
    China-zoupanpan authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    73bd2b2 View commit details
    Browse the repository at this point in the history
Loading