Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,060 for _shouldn (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should construct with config only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
            @Test
            @DisplayName("Should construct with config and command")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. tests/delete_test.go

    		t.Errorf("should returns record not found error, but got %v", err)
    	}
    
    	for _, user := range []User{users[0], users[2]} {
    		result = User{}
    		if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil {
    			t.Errorf("no error should returns when query %v, but got %v", user.ID, err)
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNotNull(uniBytes, "UNI bytes should not be null");
                assertNotNull(asciiBytes, "ASCII bytes should not be null");
                assertNotNull(oemBytes, "OEM bytes should not be null");
                assertEquals(0, uniBytes.length, "UNI bytes should be empty");
                assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig);
                assertNotNull(request);
                assertEquals(mockConfig, request.getConfig());
            }
    
            @Test
            @DisplayName("Should create request with configuration and command")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java

            assertNotNull(provider, "Auto provider selection should return a provider");
            assertTrue(provider.isAvailable(), "Returned provider should be available");
        }
    
        @Test
        public void testCreateProviderTcp() {
            RdmaProvider provider = RdmaProviderFactory.createProvider("tcp");
            assertNotNull(provider, "TCP provider should always be available");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            SessionServicePacket.writeInt2(0xABCD, dst, 4);
    
            assertEquals((byte) 0xFF, dst[2]); // Should be unchanged
            assertEquals((byte) 0xFF, dst[3]); // Should be unchanged
            assertEquals((byte) 0xAB, dst[4]);
            assertEquals((byte) 0xCD, dst[5]);
        }
    
        @Test
        @DisplayName("writeInt4 should correctly write 32-bit integer")
        void testWriteInt4() {
            byte[] dst = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
            assertNotNull(dfsRootEnum.info, "The info struct should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            // Arrange & Act
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            // Assert
            assertNotNull(resp, "Instance should not be null");
        }
    
        /**
         * All wire‑format methods should return zero regardless of inputs.
         */
        @Nested
        @DisplayName("Wire format method behaviour")
        class WireFormatMethods {
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                themeHelper.getJarFile(artifact);
                fail("Should throw ThemeException");
            } catch (Exception e) {
                // Should throw ThemeException or other exception related to file not found
                assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top