Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 881 for Fail (0.02 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                protected SmbResource adapt(FileEntry e) throws MalformedURLException {
                    throw new MalformedURLException("Always fails");
                }
            };
    
            // When all entries fail, iterator should be empty
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
        }
    
        @Test
        @DisplayName("Adapter returning null on all entries")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testUnlockFlag() {
                assertEquals(0x4, Smb2Lock.SMB2_LOCKFLAG_UNLOCK);
            }
    
            @Test
            @DisplayName("Should have correct fail immediately flag value")
            void testFailImmediatelyFlag() {
                assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. cmd/erasure-heal_test.go

    		closeBitrotWriters(staleWriters)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but it failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    				if staleWriters[i] == nil {
    					continue
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

       * @return the number of exceptions that were suppressed on the expected thrown exception
       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"a.b", true},
    		{"ab.a.bc", true},
    		// cases for which test should fail.
    		// passing invalid bucket names.
    		{"------", false},
    		{"my..bucket", false},
    		{"192.168.1.1", false},
    		{"$this-is-not-valid-too", false},
    		{"contains-$-dollar", false},
    		{"contains-^-caret", false},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

                    mustNot.setEndTime_Exists();
                });
            });
            if (!list.isEmpty()) {
                list.forEach(jobLog -> {
                    jobLog.setJobStatus(Constants.FAIL);
                    jobLog.setScriptResult("No response from Job.");
                    jobLog.setEndTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
                });
                jobLogBhv.batchUpdate(list);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. maven-tests/mvnw.cmd

    try {
      Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null
    } catch {
      if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) {
        Write-Error "fail to move MAVEN_HOME"
      }
    } finally {
      try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
      catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            try {
                // Create a test instance that extends FessLabels
                TestFessLabels labels = new TestFessLabels();
                labels.testAssertPropertyNotNull(null);
                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("The argument 'property' for message should not be null.", e.getMessage());
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
        // This is a bit of a hack but lets us do quicker per-character checks in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
          // Attempt to set the task as done so that further attempts to interrupt will fail.
          if (!compareAndSet(currentThread, DONE)) {
            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top