Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,989 for Shouldn (0.08 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            // 1. Class should be final (or have private constructor)
            Constructor<?>[] constructors = SystemUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 2. All methods should be static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            // Verify the object was created successfully
            assertNotNull(msg, "Message should not be null");
            // The command should still be SMB_COM_LOGOFF_ANDX regardless of andx command
            assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX");
        }
    
        @Test
        @DisplayName("constructor with null andx does not throw exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top