- Sort Score
- Num 10 results
- Language All
Results 1421 - 1430 of 2,277 for Tests (0.02 seconds)
-
src/test/java/jcifs/SmbFileHandleTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the {@link SmbFileHandle} interface. */ @ExtendWith(MockitoExtension.class) class SmbFileHandleTest { @Mock private SmbFileHandle smbFileHandle; @Mock private SmbTreeHandle smbTreeHandle;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/group_by_test.go
package tests_test import ( "testing" . "gorm.io/gorm/utils/tests" ) func TestGroupBy(t *testing.T) { users := []User{{ Name: "groupby", Age: 10, Birthday: Now(), Active: true, }, { Name: "groupby", Age: 20, Birthday: Now(), }, { Name: "groupby", Age: 30, Birthday: Now(), Active: true, }, { Name: "groupby1", Age: 110,
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
import java.lang.reflect.Field; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbComTransactionResponse}. * * <p>The class is abstract, so a concrete stub implementation is * provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} andCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/386.s
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Apr 09 18:57:21 GMT 2019 - 2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
import jcifs.CIFSException; import jcifs.ResourceNameFilter; import jcifs.SmbResource; @ExtendWith(MockitoExtension.class) class DirFileEntryEnumIteratorBaseTest { // Simple FileEntry implementation used for tests private static FileEntry entry(String name) { return new FileEntry() { @Override public String getName() { return name; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link CacheLoader}. * * @author Charles Fry */ @NullUnmarked public class CacheLoaderTest extends TestCase { private static class QueuingExecutor implements Executor {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
import java.util.List; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet * implementation. */ @GwtIncompatible public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertThat(result).contains("Custom thread name"); task.cancel(true); exitLatch.await(); } @J2ktIncompatible @GwtIncompatible // used only in GwtIncompatible tests private void awaitUnchecked(CyclicBarrier barrier) { try { barrier.await(); } catch (Exception e) { throw new RuntimeException(e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest { @Mock UniAddress addr; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)