- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,990 for SHOULD (0.04 sec)
-
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) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
/** * Test for the writeParameterWordsWireFormat method. * It should always return 0. */ @Test void testWriteParameterWordsWireFormat() { assertEquals(0, response.writeParameterWordsWireFormat(buffer, 0), "writeParameterWordsWireFormat should return 0"); } /** * Test for the writeBytesWireFormat method. * It should always return 0. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
tests/upsert_test.go
} if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil { t.Errorf("no error should happen when find languages with code, but got %v", err) } else if len(langs) != 1 { t.Errorf("should only find only 1 languages, but got %+v", langs) } else if langs[0].Name != "upsert-new" { t.Errorf("should update name on conflict, but got name %+v", langs[0].Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K 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) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
BiMap<V, K> inv = getMap().inverse(); assertFalse( "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed)); assertFalse( "Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse( "Inverse should not contain value " + reversed.getValue(), inv.containsValue(reversed.getValue())); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
byte[] dst = new byte[1024]; int result = setupAndX.writeParameterWordsWireFormat(dst, 0); // Verify that data was written (should write 22 bytes based on implementation) assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes"); } @Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
callbacks/helper_test.go
t.Fatalf("loaded should be false") } if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); !loaded { t.Fatalf("loaded should be true") } // t1 already exist but t2 not if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf([]*testM{&t1, &t2, &t3})); loaded { t.Fatalf("loaded should be false") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0)