- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,672 for testname (0.05 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
final InstanceInfo info = new InstanceInfo(); info.instanceId = "node1@host1"; info.hostname = "host1"; info.name = "node1"; info.lastSeen = 1000L; assertEquals("node1@host1", info.instanceId); assertEquals("host1", info.hostname); assertEquals("node1", info.name); assertEquals(1000L, info.lastSeen); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CountTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@code Count}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class CountTest extends TestCase { public void testGet() { assertEquals(20, new Count(20).get()); } public void testGetAndAdd() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
import java.util.Collection; import junit.framework.Test; import junit.framework.TestCase; /** * Unit test for {@link MinimalCollection}. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders public class MinimalCollectionTest extends TestCase { public static Test suite() { return CollectionTestSuiteBuilder.using(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> { String n = f.getName(); return n != null && !n.isEmpty() && n.endsWith(".txt"); }; when(smbFile.getName()).thenReturn(name); // Act boolean result = filter.accept(smbFile); // Assert assertEquals(expected, result); verify(smbFile, times(1)).getName(); verifyNoMoreInteractions(smbFile); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn("user1"); NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("user1", request.getRemoteUser()); assertSame(mockPrincipal, request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); verify(mockPrincipal, times(1)).getName(); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0) -
callbacks/helper_test.go
}, }, } for _, tc := range testCase { t.Run(tc.name, func(t *testing.T) { actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input) if !reflect.DeepEqual(actual, tc.expect) { t.Errorf("expect %v got %v", tc.expect, actual) } }) } } func TestConvertSliceOfMapToValuesForCreate(t *testing.T) { testCase := []struct { name string input []map[string]interface{}Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
* @param localPort the local port to bind to * @param hostName the server host name * @param exclusive * whether to acquire an unshared connection * @return a transport connection to the target */ SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName, boolean exclusive); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (this.state == 5 || this.state == 6) { // don't reuse disconnecting/disconnected transports return false; } if (hostName == null) { hostName = addr.getHostName(); } return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && addr.equals(this.address)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.text.ParseException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0)