- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 549 for testDate (0.04 sec)
-
guava-tests/test/com/google/common/io/ResourcesTest.java
public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
cmd/endpoint_contrib_test.go
} for _, testCase := range ipv4TestCases { globalDomainIPs = nil updateDomainIPs(testCase.endPoints) if !testCase.expectedResult.Equals(globalDomainIPs) { t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 30 15:50:39 UTC 2021 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
} private Artifact createTestPomArtifact(String directory) throws IOException { File testData = getTestFile(directory); FileUtils.deleteDirectory(testData); testData.mkdirs(); Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0"); artifact.setFile(new File(testData, "test-1.0.pom")); assertFalse(artifact.getFile().exists()); return artifact; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
SMBUtil.writeInt4(0, buffer, bodyStart + 12); // Write test data at the specified offset byte[] testData = new byte[dataLength]; for (int i = 0; i < dataLength; i++) { testData[i] = (byte) (i & 0xFF); } System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength); // Use reflection to set headerStart
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
cmd/postpolicyform_test.go
success: true, }, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { _, err := parsePostPolicyForm(strings.NewReader(testCase.policy)) if testCase.success && err != nil { t.Errorf("Expected success but failed with %s", err) } if !testCase.success && err == nil { t.Errorf("Expected failed but succeeded") } }) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/xxx/DummyTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io.xxx; import junit.framework.TestCase; /** * @author higa * */ public class DummyTest extends TestCase { /** * */ public void test() { }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 816 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
{ 0, 0 }, // Empty buffer { 100, 100 } // Large values }; for (int[] testCase : testCases) { // Arrange byte[] buffer = new byte[200]; int bufferIndex = testCase[0]; int len = testCase[1]; // Act int result = response.readSetupWireFormat(buffer, bufferIndex, len); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
import static org.junit.Assert.assertTrue; import java.io.File; import java.net.JarURLConnection; import java.net.URL; import java.util.zip.ZipInputStream; import junit.framework.TestCase; import org.codelibs.core.jar.JarFileUtil; import org.codelibs.core.lang.ClassUtil; import org.junit.Before; import org.junit.Test; /** * @author taedium */ public class ClassTraversalTest {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingBlockingQueueTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingBlockingQueue} */ @NullUnmarked public class ForwardingBlockingQueueTest extends TestCase { public void testForwarding() { ForwardingObjectTester.testForwardingObject(ForwardingBlockingQueue.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 973 bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingFutureTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingFuture} */ @NullUnmarked public class ForwardingFutureTest extends TestCase { public void testForwarding() { ForwardingObjectTester.testForwardingObject(ForwardingFuture.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 952 bytes - Viewed (0)