- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 894 for actual (0.12 seconds)
-
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertThat(new FreshValueGenerator().generateFresh(type)).isNull(); } private static void assertValueAndTypeEquals(Object expected, Object actual) { assertEquals(expected, actual); assertEquals(expected.getClass(), actual.getClass()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt4(contextStartOffsetFromHeader, base, offsetFieldPos); SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4); // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet // Return just the base; caller is responsible for placing ctx at the correct absolute offset.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
public Integer apply(String from) { return Integer.valueOf(from); } }); List<Integer> actual = newArrayList(result); List<Integer> expected = asList(1, 2, 3); assertEquals(expected, actual); assertCanIterateAgain(result); assertThat(result.toString()).isEqualTo("[1, 2, 3]"); } public void testTransform_forEach() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
* .method("GET") * .url("https://example.com") * .weight(1.0f) * .build(); * </pre> * * <p>The builder is implemented using an inner class {@link RequestDataContext} that handles * the actual construction of the RequestData object.</p> * */ public final class RequestDataBuilder { private RequestDataBuilder() { } /**
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
import com.google.common.eventbus.EventBus; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Abstract base class for tests that EventBus finds the correct subscribers. * * <p>The actual tests are distributed among the other classes in this package based on whether they * are annotated or abstract in the superclass. * * <p>This test must be outside the c.g.c.eventbus package to test correctly. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
internal/http/request-recorder.go
func (r *RequestRecorder) Size() int { return r.bytesRead } // Data returns the bytes that were recorded. func (r *RequestRecorder) Data() []byte { // If body logging is enabled then we return the actual body if r.LogBody { return r.buf.Bytes() } // ... otherwise we return <BLOB> placeholder return blobBody
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 12 21:37:19 GMT 2023 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
assertThat(body.byteString()).isEqualTo(ByteString.EMPTY) } @Test fun byteStringSeesBom() { val body = body("efbbbf68656c6c6f") val actual = body.byteString() val expected: ByteString = "efbbbf68656c6c6f".decodeHex() assertThat(actual).isEqualTo(expected) } @Test fun byteStringClosesUnderlyingSource() { val closed = AtomicBoolean() val body: ResponseBody =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); assertNotNull(authenticator); // The constant should be accessible and properly named // We can't easily test the actual configuration without full DI setup, // but we verify the class structure is correct assertTrue(true); } @Test public void test_securitySettings_allowUnsecureBasic() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT); // Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface // These tests should be removed or replaced with actual constants } /** * Test individual FLAGS2 constants. */ @Test @DisplayName("FLAGS2 individual constants are correct") void flags2ConstantsTest() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0)