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: uber/mockolo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.3.1
Choose a base ref
...
head repository: uber/mockolo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.4.0
Choose a head ref
  • 11 commits
  • 52 files changed
  • 2 contributors

Commits on Mar 13, 2025

  1. Use @fixture in VarTests (#291)

    * use @fixture in VarTests
    
    * fix for swift 5.10 compiler
    
    * run test on all supported swift version
    
    * fix for swift 5.10 compiler
    sidepelican authored Mar 13, 2025
    Configuration menu
    Copy the full SHA
    cc6dcc9 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2025

  1. Remove metadata from NominalModel, resulting correct Rx SubjectType…

    … in mock's init. (#292)
    
    * remove metadata from NominalModel and place it in context
    
    * handle module name option at model creation
    
    * remove usage of metadata in render process
    
    * Fix wrong fixture
    sidepelican authored Mar 24, 2025
    Configuration menu
    Copy the full SHA
    aa96917 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2025

  1. When associatedtype has constraints, mock class becomes generic (#294)

    * remove metadata from NominalModel and place it in context
    
    * handle module name option at model creation
    
    * remove usage of metadata in render process
    
    * Fix wrong fixture
    
    * Rewrite and fix tests with @fixture macro
    
    * Organize the tests
    
    * Add AssociatedTypeModel
    
    * type -> defaultType
    
    * Use TypeAliasModel when override metadata exists
    
    * Scan associatedtype structurally
    
    * generic mock class
    
    * consider some edge cases
    
    * Care extra space
    
    * Fix more edge case
    
    * rewrite type conditions solver
    
    * consider where conditions at base type
    
    * Add pattern of generic where clauses in protocol decl
    
    * beautify logic
    
    * set fail-fast: false
    
    * skip some tests because 5.10 compiler has bug for default associatedtype
    sidepelican authored Apr 10, 2025
    Configuration menu
    Copy the full SHA
    2fd3545 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. Use @Fixture in Rx Tests and remove use-mock-observable flag (#297)

    * Create new library `MockoloSupportRxSwift`
    Not to export dummy type about RxSwift to all users.
    
    * Create MockoloSupportRxSwift folder
    
    * Fix AssocitaedType of Observable. Delete Internal MockObservable.
    
    * Fix to use correct argument.
    
    * Use `@Fixture` macro in Tests.`
    
    * Remove useMockObservable flag from mockolo
    
    * Remove useMockObservable argument from Testing code.
    
    * Delete unecessary target made in development process.
    
    * Add Rx types for Testing
    
    * Delete RxTests around MockObservable
    
    * refactor test fixture name.
    
    * Update README
    
    * Revert "Update README"
    
    This reverts commit 1366aeb.
    
    * remove description about `use-mock-observable` from README.md
    
    * Delete unecessary import made in development process
    fummicc1 authored Apr 13, 2025
    Configuration menu
    Copy the full SHA
    c922963 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2025

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

Commits on Apr 25, 2025

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

Commits on May 4, 2025

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

Commits on May 12, 2025

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

Commits on May 18, 2025

  1. Better test verification (#304)

    * Show fixture differences and use source location
    
    * Add custom arguments to Fixture macro
    
    * Fix indent strategy
    
    * Fix failed tests
    
    * Add testableImport and use Fixture macro in TestableImportStatementsTests
    
    * Avoid compiler crash on swift 5.10.1
    
    * Drop SendableTests on swift 5.10
    
    cannot avoid compiler crash
    sidepelican authored May 18, 2025
    Configuration menu
    Copy the full SHA
    1d1bcdc View commit details
    Browse the repository at this point in the history

Commits on May 21, 2025

  1. Bump up version to 2.4.0 (#311)

    * Update swift-syntax
    
    * Bump up version to 2.4.0
    sidepelican authored May 21, 2025
    Configuration menu
    Copy the full SHA
    41e701f View commit details
    Browse the repository at this point in the history
Loading