Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TestSomething (0.3 sec)

  1. src/internal/coverage/cfile/testdata/issue56006/repro_test.go

    package main
    
    import "testing"
    
    func TestSomething(t *testing.T) {
    	go infloop()
    	println(blah(1) + blah(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 111 bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testdata/issue59563/repro_test.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package repro
    
    import "testing"
    
    func TestSomething(t *testing.T) {
    	small()
    	for i := 0; i < 1001; i++ {
    		large(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 282 bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeaturePublishingIntegrationTest.groovy

                    }
                }
            """
    
            file("src/integTest/java/MyTest.java") << """
                public class MyTest {
                    @org.junit.jupiter.api.Test
                    public void testSomething() {
                        assert MyFixture.answer() == 42;
                    }
                }
            """
    
            file("src/integTestFixtures/java/MyFixture.java") << """
                public class MyFixture {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. internal/logger/target/testlogger/testlogger.go

    // for individual tests.
    // This package should only be included by test files.
    // To enable logging for a test, use:
    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    // This cannot be used for parallel tests.
    package testlogger
    
    import (
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"sync/atomic"
    	"testing"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                import org.junit.jupiter.api.Assertions;
                import org.junit.jupiter.api.Test;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
                        Assertions.assertEquals(1, MyFixture.calculateSomething());
                    }
                }
            """
            file("util/src/testFixtures/java/org/test/MyFixture.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

                import org.junit.jupiter.api.Assertions;
                import org.junit.jupiter.api.Test;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
                        Assertions.assertEquals(1, MyFixture.calculateSomething());
                    }
                }
            """
            file("util/src/testFixtures/java/org/test/MyFixture.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top