- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 56 for TestData (0.27 sec)
-
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception { final Field field = getClass().getField("intField"); final int testData = 1234567890;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
}, }, { file: "testdata/pax-nil-sparse-data.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg, Name: "sparse.db", Size: 1000, SparseHoles: []sparseEntry{{Offset: 1000, Length: 0}}, }, nil}, testWrite{strings.Repeat("0123456789", 100), 1000, nil}, testClose{}, }, }, { file: "testdata/pax-nil-sparse-hole.tar",
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
"testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
// of NUL-terminated C-strings. file: "testdata/pax-nul-path.tar", err: ErrHeader, }, { file: "testdata/neg-size.tar", err: ErrHeader, }, { file: "testdata/issue10968.tar", err: ErrHeader, }, { file: "testdata/issue11169.tar", err: ErrHeader, }, { file: "testdata/issue12435.tar", err: ErrHeader, }, {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12); System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
cmd/server-main_test.go
hash string }{ { config: "testdata/config/1.yaml", expectedErr: false, hash: "hash:02bf70285dc71f76", }, { config: "testdata/config/2.yaml", expectedErr: false, hash: "hash:676d2da00f71f205", }, { config: "testdata/config/invalid.yaml", expectedErr: true, }, { config: "testdata/config/invalid-types.yaml", expectedErr: true, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K 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/storage-rest_test.go
{"foo", "newline\n", testData, false, true}, {"foo", "newline\t", testData, false, true}, {"foo", "newline \n", testData, false, true}, {"foo", "newline$$$\n", testData, false, true}, {"foo", "newline%%%\n", testData, false, true}, {"foo", "newline \t % $ & * ^ # @ \n", testData, false, true}, {"foo", "\n\tnewline \t % $ & * ^ # @ \n", testData, false, true}, } for i, testCase := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 11.4K 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) -
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)