Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forcefullyClearReferences (0.37 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

            when:
            def schema = addClass(cl, "@${Managed.name} $type ManagedType {}")
    
            then:
            store.cache.size() > 0
    
            when:
            forcefullyClearReferences(schema)
    
            then:
            ConcurrentTestUtil.poll(10) {
                System.gc()
                store.cleanUp()
                store.size() == 0
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

                }
            ''')
    
            when:
            extractor.extract(source)
    
            then:
            extractor.cache.size() == 1
    
            when:
            cl.clearCache()
            forcefullyClearReferences(source)
            source = null
    
            then:
            ConcurrentTestUtil.poll(10) {
                System.gc()
                extractor.cache.cleanUp()
                extractor.cache.size() == 0
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top