Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDefine (0.26 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/DebugOptionsTest.groovy

    class DebugOptionsTest {
        DebugOptions debugOptions = TestUtil.newInstance(DebugOptions)
    
        @Test
        void testDebugOptions() {
            assert debugOptions.debugLevel == null
        }
    
        @Test
        void testDefine() {
            debugOptions.debugLevel = null
            debugOptions.define(debugLevel: "extreme")
            assert debugOptions.debugLevel == "extreme"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyForkOptionsTest.groovy

        void testCompileOptions() {
            assertNull(forkOptions.memoryInitialSize)
            assertNull(forkOptions.memoryMaximumSize)
            assertTrue(forkOptions.jvmArgs.empty)
        }
    
        @Test
        void testDefine() {
            forkOptions.define(PROPS.keySet().inject([:]) { Map map, String prop ->
                map[prop] = "${prop}Value" as String
                map
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy

            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
            assertEquals(compileOptions.forkOptions.memoryMaximumSize, '1g')
        }
    
        @Test
        void testDefine() {
            compileOptions.verbose = false
            compileOptions.encoding = 'xxxx'
            compileOptions.fork = false
            compileOptions.parameters = true
            compileOptions.define( encoding: 'encoding')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top