- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,497 for Unit (0.03 seconds)
-
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for IteratorTester. * * @author Mick Killianey */ @GwtCompatible @SuppressWarnings("serial") // No serialization is used in this test public class IteratorTesterTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
import com.google.common.testing.ClassSanityTester; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link HashCode}. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeTest extends TestCase { // note: asInt(), asLong() are in little endianCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
* Current strategy is based on failure count. In the future, this could be enhanced to consider: * - Recent event frequency (successful notifications) * - Time since last successful notification * - Events per unit time for more adaptive behavior * * @param handle notification handle * @return polling interval in milliseconds */ private long determinePollInterval(ChangeNotificationHandle handle) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
README.md
9. Open a Pull Request ### Code Style - Use Eclipse formatter configuration (`src/config/eclipse/formatter/java.xml`) - Follow existing naming conventions - Add comprehensive JavaDoc for public APIs - Write unit and integration tests ## License
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Aug 31 03:31:14 GMT 2025 - 12.1K bytes - Click Count (1) -
guava-tests/test/com/google/common/base/StringsTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link Strings}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class StringsTest extends TestCase { public void testNullToEmpty() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link AbstractExecutionThreadService}. * * @author Jesse Wilson */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractExecutionThreadServiceTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
import jcifs.internal.fscc.FileInformation; import jcifs.internal.fscc.FileInternalInfo; import jcifs.internal.fscc.FileStandardInfo; import jcifs.internal.smb1.trans.SmbComTransaction; /** * Unit tests for Trans2QueryPathInformationResponse class */ class Trans2QueryPathInformationResponseTest { @Mock private Configuration mockConfig; private Trans2QueryPathInformationResponse response;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.putLong(524288L); // Caller available allocation units (512K) buffer.putLong(524288L); // Actual free allocation units (512K) buffer.putInt(8); // Sectors per allocation unit buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
import java.util.Collection; import java.util.Iterator; import java.util.Set; import junit.framework.Test; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link ImmutableSet}. * * @author Kevin Bourrillion * @author Jared Levy * @author Nick Kralevich */ @GwtCompatible @NullMarked public class ImmutableSetTest extends AbstractImmutableSetTest {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
import java.util.stream.Collector; import junit.framework.Test; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link ImmutableSet}. * * @author Kevin Bourrillion * @author Jared Levy * @author Nick Kralevich */ @GwtCompatible @NullMarked public class ImmutableSetTest extends AbstractImmutableSetTest {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.2K bytes - Click Count (0)