Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,294 for Unexpected (1.85 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
         */
        @ParameterizedTest(name = "Filter: {0}, File: {1}, Expected: {2}")
        @CsvSource({
                // Positive cases (should be accepted)
                "1, 1, true", // ATTR_READONLY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

        }
    
        @Test
        public void testReadParameterWordsWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComDelete.readParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testReadBytesWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComDelete.readBytesWireFormat(new byte[0], 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
        Iterator<List<T>> permutations = permutationSet.iterator();
        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause)));
        assertThat(expected).hasCauseThat().isEqualTo(failureCause);
      }
    
      public void testCancelled() throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/BufferCacheTest.java

            assertNotNull(buffer2, "Second buffer should not be null");
            assertEquals(1024, buffer1.length, "Buffer should have expected size");
            assertEquals(1024, buffer2.length, "Buffer should have expected size");
            assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            int paramBytes = transaction.writeParametersWireFormat(buffer, 0);
            assertEquals(20, paramBytes, "writeParametersWireFormat should return expected bytes");
    
            int dataBytes = transaction.writeDataWireFormat(buffer, 0);
            assertEquals(50, dataBytes, "writeDataWireFormat should return expected bytes");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. docs/distributed/decom-compressed-sse-s3.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected versioning enabled after decommission"
    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        assertFailsWith<IOException> {
          sslSession.handshake()
        }.also { expected ->
          assertThat(expected).hasMessage("cipherSuite == SSL_NULL_WITH_NULL_NULL")
        }
      }
    
      @Test
      fun tlsWithNullNullNull() {
        val sslSession =
          FakeSSLSession(
            "TLSv1.3",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top