Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,132 for Expected (0.05 sec)

  1. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isAbstract(), is(not(true)));
            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
        public void testFoo_InvokeStatic() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

              return@submit sslSocket.session.handshake()
            }
          }
        }
      }
    
      private fun assertPrivateKeysEquals(
        expected: PrivateKey,
        actual: PrivateKey,
      ) {
        assertThat(actual.encoded.toByteString()).isEqualTo(expected.encoded.toByteString())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosErrorTest.java

        }
    
        @ParameterizedTest
        @MethodSource("knownMappings")
        @DisplayName("Happy path: known DOS codes map to expected NTSTATUS")
        void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) {
            // Act
            int actual = findNtStatusOrMinusOne(dosCode);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that {@link AbstractFutureState} uses the expected {@code AtomicHelper} implementation.
     *
     * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link
     * AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 13:08:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. cmd/endpoint_contrib_test.go

    	}
    
    	for _, testCase := range ipv4TestCases {
    		globalDomainIPs = nil
    
    		updateDomainIPs(testCase.endPoints)
    
    		if !testCase.expectedResult.Equals(globalDomainIPs) {
    			t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            .eventListenerFactory(loggingEventListenerFactory)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
        } catch (expected: UnknownHostException) {
        }
        logRecorder
          .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}"""))
          .assertLogMatch(Regex("""proxySelectStart: $url"""))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

            Request
              .Builder()
              .url(server!!.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isIn("timeout", "Read timed out")
        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

        @DisplayName("Should handle various delimiter types")
        @MethodSource("provideDelimiters")
        void testJoinWithVariousDelimiters(String delimiter, String expected) {
            String result = StringUtil.join(delimiter, "A", "B", "C");
            assertEquals(expected, result);
        }
    
        private static Stream<Arguments> provideDelimiters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertNotNull(queryParseException);
            assertNull(queryParseException.getCause());
            // getMessage() may return null when constructed with null
            // This is expected behavior for exceptions with null cause
        }
    
        public void test_nestedCause() {
            // Test with nested exceptions
            RuntimeException rootCause = new RuntimeException("Root cause");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            } catch (final NoSuchMethodException e) {
                fail("processWebInfLib method should exist");
            }
        }
    
        public void test_packageStructure() {
            // Verify the class is in the expected package structure
            final Package pkg = FessWebResourceRoot.class.getPackage();
            assertNotNull("Package should not be null", pkg);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top