- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,952 for method (0.07 seconds)
-
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
} /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} . */ @Test public void testAssertState() { exception.expect(ClIllegalStateException.class); exception.expectMessage(is("hogeだからです。")); assertState(false, "hogeだからです。"); } /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java
DynamicProperties systemProperties = ComponentUtil.getSystemProperties(); systemProperties.remove("saml.sp.base.url"); // Use reflection to access protected method Method buildDefaultUrlMethod = SamlAuthenticator.class.getDeclaredMethod("buildDefaultUrl", String.class); buildDefaultUrlMethod.setAccessible(true);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 18.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/base/NullnessCasts.java
* without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
this.interfaceType = interfaceType; } @Override protected @Nullable Object handleInvocation( Object proxy, Method method, @Nullable Object[] args) { Invokable<?, ?> invokable = interfaceType.method(method); ImmutableList<Parameter> params = invokable.getParameters(); for (int i = 0; i < args.length; i++) { Parameter param = params.get(i);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
} // Test evaluate method with empty template @Test public void test_evaluate_withEmptyTemplate() { String template = ""; Map<String, Object> paramMap = new HashMap<>(); paramMap.put("key", "value"); Object result = scriptEngine.evaluate(template, paramMap); assertEquals("", result); } // Test evaluate method with null template @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ListMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ListMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Test with zero length result = response.readDataWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test @DisplayName("Test toString method") void testToString() { // Test the toString method String result = response.toString(); assertNotNull(result); assertTrue(result.contains("Trans2SetFileInformationResponse"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Then assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand()); // Private fields are not directly accessible, but we can check their effect in other methods. } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)}. */ @Test public void testWriteParameterWordsWireFormat() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0)