- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestSplit (0.09 sec)
-
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Then assertFalse(allowChain, "Cancel requests should not allow chaining"); } @Test @DisplayName("Test split returns null") void testSplit() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When CommonServerMessageBlockRequest splitRequest = request.split(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
assertSame(nextRequest, result); } @Test @DisplayName("split should remove next and clear related operations flag") void testSplit() { TestServerMessageBlock2Request nextRequest = new TestServerMessageBlock2Request(mockConfig); nextRequest.addFlags(SMB2_FLAGS_RELATED_OPERATIONS); testRequest.setNext(nextRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n")); } /** * @throws Exception */ @Test public void testSplit() throws Exception { final String[] array = StringUtil.split("aaa\nbbb", "\n"); assertEquals("1", 2, array.length); assertEquals("2", "aaa", array[0]); assertEquals("3", "bbb", array[1]);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"123", "", 17, []string{"1", "2", "3"}}, {"bT", "T", math.MaxInt / 4, []string{"b", ""}}, {"\xff-\xff", "", -1, []string{"\xff", "-", "\xff"}}, {"\xff-\xff", "-", -1, []string{"\xff", "\xff"}}, } func TestSplit(t *testing.T) { for _, tt := range splittests { a := SplitN([]byte(tt.s), []byte(tt.sep), tt.n) // Appending to the results should not change future results. var x []byte for _, v := range a {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)