Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for rctest (0.11 sec)

  1. testing/architecture-test/src/test/java/org/gradle/architecture/test/ForExternalUseTest.java

    import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.codeUnits;
    import static org.gradle.architecture.test.ArchUnitFixture.annotatedMaybeInSupertypeWith;
    import static org.gradle.architecture.test.ArchUnitFixture.gradlePublicApi;
    
    @AnalyzeClasses(packages = "org.gradle")
    public class ForExternalUseTest {
    
        @ArchTest
        public static final ArchRule members_for_external_use_are_public_api =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/context/x_test.go

    				cancel()
    				return ctx
    			},
    			err:   nil,
    			cause: nil,
    		},
    	} {
    		test := test
    		t.Run(test.name, func(t *testing.T) {
    			t.Parallel()
    			ctx := test.ctx()
    			if got, want := ctx.Err(), test.err; want != got {
    				t.Errorf("ctx.Err() = %v want %v", got, want)
    			}
    			if got, want := Cause(ctx), test.cause; want != got {
    				t.Errorf("Cause(ctx) = %v want %v", got, want)
    			}
    		})
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderImplementationTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.architecture.test;
    
    import com.tngtech.archunit.junit.AnalyzeClasses;
    import com.tngtech.archunit.junit.ArchTest;
    import com.tngtech.archunit.lang.ArchRule;
    import org.gradle.api.internal.provider.AbstractMinimalProvider;
    import org.gradle.api.provider.Provider;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/BuildOperationsApiTest.java

     * limitations under the License.
     */
    
    package org.gradle.architecture.test;
    
    import com.tngtech.archunit.junit.AnalyzeClasses;
    import com.tngtech.archunit.junit.ArchTest;
    import com.tngtech.archunit.lang.ArchRule;
    import org.gradle.api.NonNullApi;
    
    import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.classes;
    import static org.gradle.architecture.test.ArchUnitFixture.beAnnotatedOrInPackageAnnotatedWith;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/DiTest.java

    import java.util.Set;
    
    import org.apache.maven.di.Injector;
    import org.apache.maven.di.impl.Types;
    import org.apache.maven.internal.impl.ExtensibleEnumRegistries;
    import org.junit.jupiter.api.Test;
    
    class DiTest {
    
        @Test
        void testGenerics() {
            Set<Type> types = Types.getAllSuperTypes(ExtensibleEnumRegistries.DefaultPathScopeRegistry.class);
    
            Injector injector = Injector.create();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/TryTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    class TryTest extends Specification {
    
        def "successful is successful"() {
            expect:
            Try.successful(10).successful
        }
    
        def "failure is mot successful"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/runtime/gc_test.go

    	"runtime/debug"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestGcSys(t *testing.T) {
    	t.Skip("skipping known-flaky test; golang.org/issue/37331")
    	if os.Getenv("GOGC") == "off" {
    		t.Skip("skipping test; GOGC=off in environment")
    	}
    	got := runTestProg(t, "testprog", "GCSys")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    //
    // Utilities for testing Google Test itself and code that uses Google Test
    // (e.g. frameworks built on top of Google Test).
    
    #ifndef GTEST_INCLUDE_GTEST_GTEST_SPI_H_
    #define GTEST_INCLUDE_GTEST_GTEST_SPI_H_
    
    #include "gtest/gtest.h"
    
    namespace testing {
    
    // This helper class can be used to mock out Google Test failure reporting
    // so that we can test Google Test or code that builds on Google Test.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    //
    // The Google C++ Testing Framework (Google Test)
    //
    // This header file declares the String class and functions used internally by
    // Google Test.  They are subject to change without notice. They should not used
    // by code external to Google Test.
    //
    // This header file is #included by <gtest/internal/gtest-internal.h>.
    // It should not be #included by other files.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top