Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,060 for _shouldn (0.04 sec)

  1. tests/named_polymorphic_test.go

    		t.Errorf("Hamster's preferred toy count should be 1")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy count should be 1")
    	}
    
    	// Query
    	hamsterToy := Toy{}
    	DB.Model(&hamster).Association("PreferredToy").Find(&hamsterToy)
    	if hamsterToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	hamsterToy = Toy{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
            assertFalse(port139Failover, "Should delegate port 139 failover setting");
            assertTrue(dfsStrictView, "Should delegate DFS strict view setting");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K 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/ntlmssp/av/AvPairTest.java

            assertNull(avPair3.getRaw(), "Raw data should be null if constructor argument was null.");
        }
    
        @Test
        void testConstants() {
            assertEquals(0x0, AvPair.MsvAvEOL, "MsvAvEOL constant should be 0x0.");
            assertEquals(0x6, AvPair.MsvAvFlags, "MsvAvFlags constant should be 0x6.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should return the credentials provided in the constructor")
        void testGetCredentials() {
            assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
            // When
            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EmptyIteratorTest.java

        void testHasNextAlwaysReturnsFalse() {
            // When & Then
            assertFalse(emptyIterator.hasNext(), "hasNext should return false");
            assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
            assertFalse(emptyIterator.hasNext(), "hasNext should always return false on repeated calls");
        }
    
        @Test
        @DisplayName("next should return null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertEquals(2, authorizations.size(), "The authorizations list should contain two elements.");
            assertTrue(authorizations.contains(mockAuthData1), "The list should contain the first mocked auth data.");
            assertTrue(authorizations.contains(mockAuthData2), "The list should contain the second mocked auth data.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top