codeflash/tests
Mohamed Ashraf 8d42ed93dd test(05-02): add concurrency-aware assertion removal tests
- 14 new tests in TestConcurrencyPatterns class
- synchronized blocks/methods preserved after transformation
- volatile field reads, AtomicInteger ops preserved
- ConcurrentHashMap, Thread.sleep, wait/notify patterns preserved
- ReentrantLock, CountDownLatch patterns preserved
- Real-world TokenBucket and CircularBuffer patterns validated
- AssertJ assertion on synchronized method call validated
- Total: 71 tests (57 existing + 14 new), all passing
2026-02-06 13:27:41 +00:00
..
benchmarks format and lint all 2026-01-29 01:39:48 -08:00
code_utils fix: update tests to expect build output dirs to be skipped 2026-02-03 07:16:38 -05:00
languages/javascript fix test 2026-01-31 04:37:46 +05:30
scripts format and lint all 2026-01-29 01:39:48 -08:00
test_languages Merge branch 'main' into omni-java 2026-02-04 03:22:37 -05:00
test_setup fix: prefer src/ over build output dirs in JS module detection 2026-02-02 19:53:36 -05:00
__init__.py Move aiservice to django/aiservice 2024-01-02 16:55:24 -08:00
conftest.py format and lint all 2026-01-29 01:39:48 -08:00
mymodule.py format and lint all 2026-01-29 01:39:48 -08:00
test_add_needed_imports_from_module.py format and lint all 2026-01-29 01:39:48 -08:00
test_add_runtime_comments.py format and lint all 2026-01-29 01:39:48 -08:00
test_async_concurrency_decorator.py format and lint all 2026-01-29 01:39:48 -08:00
test_async_function_discovery.py format and lint all 2026-01-29 01:39:48 -08:00
test_async_run_and_parse_tests.py format and lint all 2026-01-29 01:39:48 -08:00
test_async_wrapper_sqlite_validation.py format and lint all 2026-01-29 01:39:48 -08:00
test_cleanup_instrumented_files.py fix: handle numbered suffixes in Java instrumented test files 2026-02-03 23:44:17 +00:00
test_cmd_init.py remove test_framework from pyproject.toml (#955) 2025-12-09 02:53:08 -08:00
test_code_context_extractor.py format and lint all 2026-01-29 01:39:48 -08:00
test_code_deduplication.py deduplicate optimizations better 2025-09-13 16:03:52 -07:00
test_code_extractor_none_aliases_exact.py format and lint all 2026-01-29 01:39:48 -08:00
test_code_replacement.py format and lint all 2026-01-29 01:39:48 -08:00
test_code_utils.py format and lint all 2026-01-29 01:39:48 -08:00
test_codeflash_capture.py format and lint all 2026-01-29 01:39:48 -08:00
test_codeflash_checkpoint.py format and lint all 2026-01-29 01:39:48 -08:00
test_codeflash_trace_decorator.py format and lint all 2026-01-29 01:39:48 -08:00
test_comparator.py format and lint all 2026-01-29 01:39:48 -08:00
test_critic.py format and lint all 2026-01-29 01:39:48 -08:00
test_existing_tests_source_for.py format and lint all 2026-01-29 01:39:48 -08:00
test_file_to_no_of_tests.py format and lint all 2026-01-29 01:39:48 -08:00
test_formatter.py format and lint all 2026-01-29 01:39:48 -08:00
test_function_dependencies.py update assertions 2026-01-29 05:33:16 -05:00
test_function_discovery.py add tests for src directory equals test dir 2026-02-01 17:11:41 +05:30
test_function_ranker.py format and lint all 2026-01-29 01:39:48 -08:00
test_get_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_get_helper_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_get_read_only_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_get_read_writable_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_get_testgen_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_git_utils.py Add tests for handling detached HEAD state in Git operations 2025-12-18 14:05:04 +02:00
test_humanize_time.py format and lint all 2026-01-29 01:39:48 -08:00
test_init_javascript.py add tests 2026-02-02 23:22:10 +05:30
test_inject_profiling_used_frameworks.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrument_all_and_run.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrument_async_tests.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrument_codeflash_capture.py reinsert 2025-07-29 23:49:22 -07:00
test_instrument_codeflash_trace.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrument_line_profiler.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrument_tests.py format and lint all 2026-01-29 01:39:48 -08:00
test_instrumentation_run_results_aiservice.py format and lint all 2026-01-29 01:39:48 -08:00
test_is_numerical_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_java_assertion_removal.py test(05-02): add concurrency-aware assertion removal tests 2026-02-06 13:27:41 +00:00
test_java_test_discovery.py better unit test discovery java 2026-02-05 23:57:13 -08:00
test_java_test_filter_validation.py fix: prevent Maven running all tests + fix TestFile type annotation 2026-02-04 00:48:05 +00:00
test_java_tests_project_rootdir.py fix: set tests_project_rootdir to tests_root for Java projects 2026-02-04 00:04:23 +00:00
test_javascript_assertion_removal.py refactor: use FunctionToOptimize dataclass instead of raw strings in JS optimization 2026-02-02 01:53:02 -08:00
test_javascript_function_discovery.py fix 2026-01-30 20:11:09 -08:00
test_lru_cache_clear.py few manual fixes 2025-02-28 20:24:35 -08:00
test_merge_test_results.py organized imports 2025-03-28 15:26:27 -07:00
test_merge_tests.py update the test-key format 2024-01-22 16:26:32 -08:00
test_multi_file_code_replacement.py fix: prevent optimized code from one file being applied to another file 2026-02-03 14:45:51 -08:00
test_parse_pytest_test_failures.py format and lint all 2026-01-29 01:39:48 -08:00
test_pickle_patcher.py format and lint all 2026-01-29 01:39:48 -08:00
test_pytest_plugin_deterministic_patches.py update tests 2025-10-28 23:05:26 -07:00
test_remove_functions_from_generated_tests.py format and lint all 2026-01-29 01:39:48 -08:00
test_remove_unused_definitions.py format and lint all 2026-01-29 01:39:48 -08:00
test_shell_utils.py format and lint all 2026-01-29 01:39:48 -08:00
test_static_analysis.py move things around & more efficient passes 2025-06-07 11:30:29 -07:00
test_test_runner.py format and lint all 2026-01-29 01:39:48 -08:00
test_trace_benchmarks.py format and lint all 2026-01-29 01:39:48 -08:00
test_tracer.py format and lint all 2026-01-29 01:39:48 -08:00
test_unit_test_discovery.py format and lint all 2026-01-29 01:39:48 -08:00
test_unused_helper_revert.py format and lint all 2026-01-29 01:39:48 -08:00
test_validate_python_code.py format and lint all 2026-01-29 01:39:48 -08:00
test_version_check.py format and lint all 2026-01-29 01:39:48 -08:00
test_worktree.py format and lint all 2026-01-29 01:39:48 -08:00