- Sort Score
- Num 10 results
- Language All
Results 1271 - 1280 of 1,612 for EXPECTED (0.17 seconds)
-
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
String result = pingSearchEngineJob.execute(); // Job should handle exception gracefully assertNotNull(result); } catch (Exception e) { // Exception is expected to be caught within the job assertTrue(e.getMessage().contains("Connection failed")); } } // Helper method to create mock ClusterHealthResponse
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/archive/tar/writer.go
if err := tw.writeRawFile(name, data, flag, FormatPAX); err != nil || isGlobal { return err // Global headers return here } } // Pack the main header. var f formatter // Ignore errors since they are expected fmtStr := func(b []byte, s string) { f.formatString(b, toASCII(s)) } blk := tw.templateV7Plus(hdr, fmtStr, f.formatOctal) blk.setFormat(FormatPAX) if err := tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag); err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /** * Test class with valid equals and hashCode methods. Testers created with instances of this class * should always pass. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
if (log.isDebugEnabled()) { log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted)); log.debug(String.format("Expected MIC %s != %s", Hexdump.toHexString(trunc), Hexdump.toHexString(verify))); } throw new CIFSException("Invalid MIC"); } } /** * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
/** * Manages a dictionary file for stemmer overrides. * This class handles reading, parsing, and updating files that contain * stemmer override rules, where each rule maps an input word to an * output stem. The file format is expected to be `input => output`. * * The class provides methods for retrieving, adding, updating, and * deleting stemmer override items, as well as reloading the dictionary * from its source file. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
// May not throw exception but return unexpected result assertNotNull(result); } catch (Exception e) { assertTrue(true); // Expected exception } } @Test public void test_getJarFile_exists() throws IOException { // Create a mock jar file Path jarPath = tempDir.resolve("test-theme.jar");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
@Suppress("UNCHECKED_CAST") this.tlsVersions = tlsVersions.copyOf() as Array<String> // Defensive copy. } @Deprecated( "since OkHttp 3.13 all TLS-connections are expected to support TLS extensions.\n" + "In a future release setting this to true will be unnecessary and setting it to false\n" + "will have no effect.", )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 13.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
// java.net.MalformedURLException: unknown protocol: mailto platform.assumeNotAndroid() // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto // option to the native-image command. platform.assumeNotGraalVMImage() val javaNetUrl = URL("mailto:******@****.***")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎 /// The dependencies will keep working as expected, and the **best part** is that the **type information will be preserved**, which means that your editor will be able to keep providing you with **autocompletion**, **inline errors**, etc. The same for other tools like `mypy`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
assertThat(beanDesc.hasMethodDesc("getAaa"), is(true)); assertThat(beanDesc.hasMethodDesc("getaaa"), is(not(true))); } /** * @throws Exception */ @Test(expected = MethodNotFoundRuntimeException.class) public void testGetMethodDesc() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0)