Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for testmovk (0.25 sec)

  1. platforms/documentation/docs/src/snippets/testing/junitplatform-mix/groovy/src/test/java/org/gradle/junitplatform/JUnit3Test.java

    package org.gradle.junitplatform;
    
    import junit.framework.TestCase;
    
    public class JUnit3Test extends TestCase {
        public void testOk() {
            System.out.println("Hello from JUnit 3!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
  2. src/cmd/go/internal/par/work_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package par
    
    import (
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    func TestWork(t *testing.T) {
    	var w Work[int]
    
    	const N = 10000
    	n := int32(0)
    	w.Add(N)
    	w.Do(100, func(i int) {
    		atomic.AddInt32(&n, 1)
    		if i >= 2 {
    			w.Add(i - 1)
    			w.Add(i - 2)
    		}
    		w.Add(i >> 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            }, receivingFileLockContentionHandler)
            receivingSocket = receivingFileLockContentionHandler.communicator.socket
            receivingLock = fileLockManager.lock(file("locks/testlock"), DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), "testlock", "test holding lock", whenContended)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        public void test() {
        }
    }
    
    public class AJunit3TestClass extends TestCase {
        public void testOk() {
        }
    }
    
    public class BJunit3TestClass extends TestCase {
        public void testOk() {
        }
    }
    
    public class AJunit3TestThatRenamesItself extends TestCase {
        public void testOk() {
            setName('another test')
        }
    }
    
    public class ABrokenJunit3TestClass extends TestCase {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. test/typeparam/listimp2.dir/main.go

    		panic(fmt.Sprintf("e.value = %d, want 1", e.Value))
    	}
    	if e.Next() != nil {
    		panic(fmt.Sprintf("e.Next() != nil"))
    	}
    	if e.Prev() != nil {
    		panic(fmt.Sprintf("e.Prev() != nil"))
    	}
    }
    
    func TestMove() {
    	l := a.New[int]()
    	e1 := l.PushBack(1)
    	e2 := l.PushBack(2)
    	e3 := l.PushBack(3)
    	e4 := l.PushBack(4)
    
    	l.MoveAfter(e3, e3)
    	a.CheckListPointers(l, []*(a.Element[int]){e1, e2, e3, e4})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy

            compileOptions.bootstrapClasspath == null
            compileOptions.extensionDirs == null
    
            compileOptions.forkOptions != null
            compileOptions.debugOptions != null
        }
    
        def testFork() {
            compileOptions.fork = false
            assertNull(compileOptions.forkOptions.memoryMaximumSize)
    
            expect:
            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy

            assertNull(compileOptions.configurationScript)
            assertFalse(compileOptions.javaAnnotationProcessing)
            assertFalse(compileOptions.parameters)
        }
    
        @Test
        void testFork() {
            compileOptions.fork = false
            assertNull(compileOptions.forkOptions.memoryMaximumSize)
    
            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy

            file("src/test/java/FooTest.java") << """
                import junit.framework.*;
    
                public class FooTest extends TestCase {
                    public void testPass() {}
                    public void testOk() {}
                }
            """.stripIndent()
    
            when:
            succeeds("test", "--tests", "FooTest.testPass")
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 1 }, { it.parentId == null })
            1 * processor.started({ it.id == 2 && it.name == "testOk" && it.className == AJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(2, { it.resultType == null })
            1 * processor.started({ it.id == 3 && it.name == "testOk" && it.className == BJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(3, { it.resultType == null })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top