- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 3,008 for SHOULD (0.06 sec)
-
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act & Assert assertTrue(itr.hasNext(), "Should have first element ready"); SmbResource r1 = itr.next(); assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
* `allow_origins` - A list of origins that should be permitted to make cross-origin requests. E.g. `['https://example.org', 'https://www.example.org']`. You can use `['*']` to allow any origin. * `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@BeforeEach void setUp() { // Common setup for all tests } @Nested @DisplayName("GetSmbTransport Methods") class GetSmbTransportTests { @Test @DisplayName("Should get transport by name with default parameters") void testGetSmbTransportByName() throws UnknownHostException, IOException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns"); } } } @Test @DisplayName("Should have resource types with power-of-2 values") void testResourceTypeBitPatterns() { // Resource types should be powers of 2 for bit flag usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Verifies that isStale returns true for a stale handle. */ @Test public void testIsStale_ReturnsTrueWhenStale() { when(smbPipeHandle.isStale()).thenReturn(true); assertTrue(smbPipeHandle.isStale(), "isStale() should return true for a stale handle."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@Test @DisplayName("Should calculate size for null hash algorithms and salt") void testSizeWithNullHashAlgosAndSalt() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty arrays")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.1K bytes - Viewed (0) -
doc/README.md
glob "*stdlib/*minor" are treated specially. They should be in subdirectories corresponding to standard library package paths, and headings for those package paths will be generated automatically. Files in this repo's `api/next` directory must have corresponding files in `doc/next/*stdlib/*minor`. The files should be in the subdirectory for the package with the new API, and should be named after the issue number of the API proposal.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 3.1K bytes - Viewed (0) -
tests/generics_test.go
if len(result.Pets) != len(u.Pets) { t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets) } if len(result.Friends) != len(u.Friends) { t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets) } } else if len(result.Pets) != 5 || len(result.Friends) == 0 { t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0)