- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 3,060 for SHOULD (0.16 sec)
-
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
try { SearchEngineUtil.class.getDeclaredConstructor().newInstance(); fail("Should not be able to instantiate utility class"); } catch (Exception e) { // Expected - utility classes should have private constructors assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessExceptionRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
// Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /** * Test method for {@link jcifs.pac.PacSidAttributes#getId()}. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
int attrs = SmbConstants.ATTR_NORMAL; // Act SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead); // Assert assertSame(handle, result, "Should return handle from dest.openUnshared"); ArgumentCaptor<Integer> accessCaptor = ArgumentCaptor.forClass(Integer.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
byte[] buf = new byte[offset + 8]; // extra space for safety // Act int written = req.writeBytesWireFormat(buf, offset); // Assert: should write exactly 4 bytes assertEquals(4, written, "Should report 4 bytes written"); // StructureSize (2 bytes, LE) == 4 assertEquals(4, SMBUtil.readInt2(buf, offset)); // Reserved (2 bytes, LE) == 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
if (field.getType().equals(HtmlNext.class)) { Object value = field.get(null); assertNotNull("Field " + field.getName() + " should not be null", value); assertTrue("Field " + field.getName() + " should be HtmlNext instance", value instanceof HtmlNext); } } } } public void test_pathValues() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
FessUserNotFoundException exception1 = new FessUserNotFoundException("user1"); FessUserNotFoundException exception2 = new FessUserNotFoundException("user2"); // Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } public void test_stackTrace() { // Test that the exception has a proper stack trace
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Verify customData part (should be truncated) byte[] expectedCustomData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(expectedCustomData, actualCustomData); // Verify machineId part (should be truncated) byte[] expectedMachineId = new byte[32];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)