Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for checkcast (0.16 sec)

  1. platforms/documentation/docs/src/samples/java/modules-multi-project/tests/testTask.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: checkTask.out
        allow-additional-output: true
        allow-disordered-output: true
    },{
        executable: gradle
        args: run
        expected-output-file: runTask.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 310 bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentBinariesIntegrationTest.groovy

            buildFile << '''
    model {
        tasks {
            verify(Task) {
                doLast {
                    def binaries = $.components.mylib.binaries
                    assert binaries.main.checkTask != null
                    assert binaries.test.checkTask != null
                }
            }
        }
    }
    '''
    
            expect:
            succeeds "verify"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/java/modules-multi-project-with-integration-tests/tests/testTask.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: checkTask.out
        allow-additional-output: true
        allow-disordered-output: true
    },{
        executable: gradle
        args: run
        expected-output-file: runTask.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 310 bytes
    - Viewed (0)
  4. platforms/software/test-suites-base/src/main/java/org/gradle/testing/base/plugins/TestingModelBasePlugin.java

            void attachBinariesCheckTasksToCheckLifecycle(@Path("tasks.check") Task checkTask, @Path("binaries") ModelMap<BinarySpec> binaries) {
                for (BinarySpec binary : binaries) {
                    if (binary.isBuildable()) {
                        Task binaryCheckTask = binary.getCheckTask();
                        if (binaryCheckTask != null) {
                            checkTask.dependsOn(binaryCheckTask);
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/testdata/harness.go

    	} else {
    		got := fmt.Sprintf("%v", err)
    		checkWant("meta data", got)
    	}
    
    	// Now try to emit counter data file to a bad dir.
    	if err := coverage.WriteCountersDir(mangled); err == nil {
    		log.Fatal("expected error emitting counter data to bad dir")
    	} else {
    		got := fmt.Sprintf("%v", err)
    		checkWant("counter data", got)
    	}
    }
    
    func emitToUnwritableDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/ComponentModelBasePlugin.java

                for (BinarySpec binary : binaries) {
                    Task checkTask = binary.getCheckTask();
                    if (checkTask != null) {
                        ((TaskContainerInternal)tasks).addInternal(checkTask);
                    }
                }
            }
    
            @Defaults
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Optimization (provides speedup with no functional changes)
    - [ ] Breaking change (fix or feature that would cause existing functionality to change)
    
    ## Checklist:
    - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here)
    - [ ] Unit tests added/updated
    - [ ] Internal documentation updated
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 14 17:29:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/bug_report.yaml

          multiple: true
          options:
            - Android
            - GWT
            - Java 8
            - Java 11
            - Java 17
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 27 19:53:41 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. .github/PULL_REQUEST_TEMPLATE.md

    <!--- The issue this PR addresses -->
    <!-- Fixes #? -->
    
    ### Context
    <!--- Why do you believe many users will benefit from this change? -->
    <!--- Link to relevant issues or forum discussions here -->
    
    ### Contributor Checklist
    - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top