Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,114 for EXPECTED (0.03 sec)

  1. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props]";
            assertEquals(expected, options.toString());
        }
    
        // Test initializeProbes
        public void test_initializeProbes() {
            try {
                SuggestCreator.initializeProbes();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    	if s1.Checksum != s2.Checksum {
    		return fmt.Errorf("Expected MinIO binary checksum: %s, seen: %s", s1.Checksum, s2.Checksum)
    	}
    
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    			return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            } catch (NumberFormatException e) {
                // Expected
            }
    
            // Test with invalid format
            System.setProperty("java.version", "invalid");
            try {
                JvmUtil.getJavaVersion();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected
            }
    
            // Test with single number
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
            // Expected size: 24 (fixed) + 2 * number of dialects
            int expectedSize = 24 + 2 * defaultDialects.length;
            assertEquals(expectedSize, request.size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      public void testReadLine() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        UnsupportedOperationException expected =
            assertThrows(UnsupportedOperationException.class, () -> in.readLine());
        assertThat(expected).hasMessageThat().isEqualTo("readLine is not supported");
      }
    
      public void testReadLittleEndian() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. cmd/handler-utils_test.go

    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    		_, actualCode := parseLocationConstraint(testCase.request)
    		if testCase.expectedCode != actualCode {
    			t.Errorf("Test %d: Expected the APIErrCode to be %d, but instead found %d", i+1, testCase.expectedCode, actualCode)
    		}
    	}
    }
    
    // Tests validate metadata extraction from http headers.
    func TestExtractMetadataHeaders(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            // so this should throw a NullPointerException
            try {
                ltrQueryRescorer.evaluate(null);
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior - StoredLtrQueryBuilder requires non-null params
                assertNotNull(e);
            }
        }
    
        public void test_evaluate_withDifferentWindowSizes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        source1.close() // Not exhausted!
        assertThat(relay1.isClosed).isTrue()
        assertFailsWith<IOException> {
          read(file)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("unreadable cache file")
        }
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
      fun redundantCallsToCloseAreIgnored() {
        val upstream = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top