Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,990 for Shouldn (0.08 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(
              e, obj + " must not be Object#equals to an arbitrary object of another class");
          return;
        }
        fail("Should get equal to incompatible class error");
      }
    
      /** Test proper handling where an object is not equal to one the user has said should be equal */
      public void testInvalidNotEqualsEqualObject() {
        equalsTester.addEqualityGroup(reference, notEqualObject1);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            // Given
            DfsReferral referral = new DfsReferral();
    
            // When / Then
            assertNotNull(referral, "The DfsReferral object should not be null.");
            assertEquals(referral, referral.next, "The 'next' property should point to the object itself.");
        }
    
        /**
         * Tests the append method of the DfsReferral class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // First invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // Second invocation - should also work without issues
            curtainFinallyHook.hook(assistantDirector);
    
            // Third invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // All invocations should complete successfully
            assertTrue(true);
        }
    
        // Test with null assistant director (edge case)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. tests/prepared_stmt_test.go

    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	user2 := *GetUser("prepared_stmt2", Config{})
    	if err := txCtx.Create(&user2).Error; err == nil {
    		t.Fatalf("should failed to create with timeout context")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. tests/non_std_test.go

    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    	animal = Animal{From: "somewhere"}              // No name fields, should be filled with the default value (galeone)
    	DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
            assertEquals("Empty file should have no records", 0, result.getAllRecordCount());
            assertEquals("Empty file should have no pages", 0, result.getAllPageCount());
        }
    
        // Test selectList method with valid data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
            }
    
            // The byte at position 28 should be unchanged
            assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged");
        }
    
        @Test
        @DisplayName("Test maxParameterCount and maxDataCount values")
        void testMaxCountValues() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            SmbPipeOutputStream out = newStream();
            when(handle.isOpen()).thenReturn(state);
    
            // Act
            boolean result = out.isOpen();
    
            // Assert
            assertEquals(state, result, "isOpen should reflect handle state");
            verify(handle, times(1)).isOpen();
        }
    
        @Test
        @DisplayName("ensureTreeConnected delegates and returns the tree handle")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top