Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 683 for failures (0.55 seconds)

  1. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

                String arg = AstUtil.getNodeText(call.getArguments(), getSourceCode());
                addViolation(call, "Should use outputContains(" + arg + ") or failure.assertHasCause(" + arg + ") instead");
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtStatusTest.java

            // Should be an error status (0xC prefix)
            assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L);
        }
    
        @Test
        @DisplayName("Should handle authentication failure status")
        void testAuthenticationFailureStatus() {
            // Given
            int status = NtStatus.NT_STATUS_LOGON_FAILURE;
    
            // When/Then
            assertEquals((int) 0xC000006DL, status);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          }
          completionLatch.countDown();
        }
    
        @Override
        public synchronized void failed(State from, Throwable failure) {
          assertEquals(from, Iterables.getLast(stateHistory));
          stateHistory.add(State.FAILED);
          assertEquals(State.FAILED, service.state());
          assertEquals(failure, service.failureCause());
          if (from == State.STARTING) {
            try {
              service.awaitRunning();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          }
          completionLatch.countDown();
        }
    
        @Override
        public synchronized void failed(State from, Throwable failure) {
          assertEquals(from, Iterables.getLast(stateHistory));
          stateHistory.add(State.FAILED);
          assertEquals(State.FAILED, service.state());
          assertEquals(failure, service.failureCause());
          if (from == State.STARTING) {
            try {
              service.awaitRunning();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. .github/workflows/deploy-docs.yml

              accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
              command: pages deploy ./site --project-name=${{ env.PROJECT_NAME }} --branch=${{ env.BRANCH }}
          - name: Deploy Docs Status Error
            if: failure()
            run: uv run ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
              RUN_ID: ${{ github.run_id }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 03 00:12:02 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertTrue(result);
                assertFalse(response.isVerifyFailed());
            }
    
            @Test
            @DisplayName("Should handle signature verification failure")
            void testVerifySignatureFailure() {
                byte[] buffer = new byte[100];
                response.setDigest(mockDigest);
                when(mockDigest.verify(buffer, 0, 100, 0, response)).thenReturn(true);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. internal/hash/reader_test.go

    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    				"d41d8cd98f00b204e9800998ecf8427f",
    				"e2fc714c4727ee9395f324cd2e7f331f",
    			},
    		},
    		{
    			desc:       "Failure sha256 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        }
    
        @Test
        public void test_throwAndCatchException() {
            // Test throwing and catching the exception
            String expectedMessage = "Storage failure";
    
            try {
                throw new StorageException(expectedMessage);
            } catch (StorageException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     * before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to query the
     * details of the failure.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class ModelBuildingException extends Exception {
    
        private final ModelBuildingResult result;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top