Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,064 for EXPECTED (0.04 sec)

  1. cmd/bucket-encryption_test.go

    		_, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML)))
    		if tc.shouldPass && err != nil {
    			t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    			if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
    				t.Fatalf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 14 07:59:05 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                SMBProtocolDecodingException exception =
                        assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex));
                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 8, 16, 100, 255, 1024, 4096, 65535 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/org/codelibs/fess/job/CrawlJobTest.java

        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K 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/InterceptorTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .build()
        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must call proceed() exactly once",
          )
        }
      }
    
      @Test
      fun networkInterceptorsCannotCallProceedMultipleTimes() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top