Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for testOut (0.28 sec)

  1. src/cmd/asm/internal/asm/asm.go

    				return
    			}
    			p.labels[label] = prog
    		}
    		p.pendingLabels = p.pendingLabels[0:0]
    	}
    	prog.Pc = p.pc
    	if *flags.Debug {
    		fmt.Println(p.lineNum, prog)
    	}
    	if testOut != nil {
    		fmt.Fprintln(testOut, prog)
    	}
    }
    
    // validSymbol checks that addr represents a valid name for a pseudo-op.
    func (p *Parser) validSymbol(pseudo string, addr *obj.Addr, offsetOk bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    To use the TestKit, include the following in your plugin's build:
    
    .Declaring the TestKit dependency
    ====
    include::sample[dir="snippets/testKit/junitQuickstart/kotlin",files="build.gradle.kts[tags=declare-gradle-testkit-dependency]"]
    include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/syscall/js/js_test.go

    	if got := dummys.Get("someArray").Length(); got != 3 {
    		t.Errorf("got %#v, want %#v", got, 3)
    	}
    }
    
    func TestGet(t *testing.T) {
    	// positive cases get tested per type
    
    	expectValueError(t, func() {
    		dummys.Get("zero").Get("badField")
    	})
    }
    
    func TestSet(t *testing.T) {
    	// positive cases get tested per type
    
    	expectValueError(t, func() {
    		dummys.Get("zero").Set("badField", 42)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.kotlin.dsl.*
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pkg/controller/daemon/util/daemonset_util_test.go

    				featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, fg, f)
    				t.Run(fmt.Sprintf("%v (%t)", fg, f), tf)
    			}()
    		}
    	}
    }
    
    func TestGetTargetNodeName(t *testing.T) {
    	testFun := func(t *testing.T) {
    		tests := []struct {
    			pod         *v1.Pod
    			nodeName    string
    			expectedErr bool
    		}{
    			{
    				pod: &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "pod1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

    import org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler
    import org.gradle.test.fixtures.dsl.GradleDsl
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.internal.DefaultGradleRunner
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    import spock.lang.TempDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

    /**
     * A plugin for building java gradle plugins. Automatically generates plugin descriptors. Emits warnings for common error conditions. <p> Provides a direct integration with TestKit by declaring the
     * {@code gradleTestKit()} dependency for the test compile configuration and a dependency on the plugin classpath manifest generation task for the test runtime configuration. Default conventions can
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. subprojects/core/build.gradle.kts

        }
    
        integTestDistributionRuntimeOnly(project(":distributions-jvm")) {
            because("Some tests utilise the 'java-gradle-plugin' and with that TestKit, some also use the 'war' plugin")
        }
        crossVersionTestDistributionRuntimeOnly(project(":distributions-core"))
    
        annotationProcessor(project(":internal-instrumentation-processor"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    }
    
    func TestCreateWithKeyExist(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestCreateWithKeyExist(ctx, t, cacher)
    }
    
    func TestGet(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestGet(ctx, t, cacher)
    }
    
    func TestUnconditionalDelete(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          BigInteger halfEven = BigIntegerMath.sqrt(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0);
          assertEquals(BigIntegerMath.sqrt(x, floorWasOdd ? HALF_UP : HALF_DOWN), halfEven);
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZero() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top