Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,508 for should (0.1 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
                // Verify that AllocInfo extends FileSystemInformation
                assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
            @DisplayName("Should implement Decodable interface through FileSystemInformation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    		if !DB.Migrator().HasColumn(&EngadgetPost{}, name) {
    			t.Errorf("should has prefixed column %v", name)
    		}
    	}
    
    	stmt := gorm.Statement{DB: DB}
    	if err := stmt.Parse(&EngadgetPost{}); err != nil {
    		t.Fatalf("failed to parse embedded struct")
    	} else if len(stmt.Schema.PrimaryFields) != 1 {
    		t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields))
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertNotNull(str, "toString should not return null");
                assertTrue(str.contains("SmbComTreeConnectAndXResponse"), "Should contain class name");
                assertTrue(str.contains("supportSearchBits=true"), "Should contain search bits flag");
                assertTrue(str.contains("shareIsInDfs=true"), "Should contain DFS flag");
                assertTrue(str.contains("service=IPC"), "Should contain service");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top