- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 4,822 for Void (0.03 seconds)
-
guava-tests/test/com/google/common/io/ByteStreamsTest.java
} private static void skipHelper(long n, int expect, InputStream in) throws IOException { ByteStreams.skipFully(in, n); assertEquals(expect, in.read()); in.close(); } private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; public void testNewDataInput_empty() { byte[] b = new byte[0];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
} public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<@Nullable Object> callback = new FutureCallback<@Nullable Object>() { @Override public void onSuccess(@Nullable Object result) {} @Override public void onFailure(Throwable t) {} };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
@Mock private FileNotifyInformation mockFileNotifyInfo; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Nested @DisplayName("Filter Flags Constants Tests") class FilterFlagsTests { @Test @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value") void testFileNotifyChangeFileName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
private static Path root() { return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception { tempDir = Files.createTempDirectory("MoreFilesTest"); } @Override protected void tearDown() throws Exception { if (tempDir != null) { // delete tempDir and its contents Files.walkFileTree( tempDir,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java
import org.junit.Test; public class HankakuKanaToZenkakuKanaTest { @Test public void test_constructor() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); assertNotNull(normalizer); } @Test public void test_basicKatakana() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
import org.junit.jupiter.api.Test; import org.lastaflute.core.message.UserMessages; import org.lastaflute.web.validation.VaMessenger; public class SsoMessageExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withMessageCodeMessageAndCause() { // Setup final String message = "Test SSO error message"; final Exception cause = new RuntimeException("Test cause");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testGoodEquals() throws Exception { tester.testEquals(GoodEquals.class); } public void testEquals_interface() { tester.testEquals(AnInterface.class); } public void testEquals_abstractClass() { tester.testEquals(AnAbstractClass.class); } public void testEquals_enum() { tester.testEquals(OneConstantEnum.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
void isUnknown_withNormalName_shouldReturnFalse() { Name name = new Name(mockConfig, "TestName", 0x20, null); assertFalse(name.isUnknown()); } @Test void isUnknown_withNonZeroHexCode_shouldReturnFalse() { Name name = new Name(mockConfig, "0.0.0.0", 0x20, null); name.scope = null; assertFalse(name.isUnknown()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
} @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() { return command; } @Override public void setCommand(int command) { this.command = command; } @Override public void setUid(int uid) { // No-op for testCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
private final long serverTimeZoneOffset = 3600000; // 1 hour in milliseconds @BeforeEach public void setUp() { response = new SmbComQueryInformationResponse(serverTimeZoneOffset); } /** * Test of constructor, of class SmbComQueryInformationResponse. */ @Test public void testConstructor() { // The constructor sets the command and serverTimeZoneOffset.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0)