- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 4,096 for Avoid (0.09 sec)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
/** * @throws Exception */ @Test public void testGetFirstEntry() throws Exception { assertThat(list.getFirstEntry(), is(nullValue())); list.addFirst("1"); assertThat(list.getFirstEntry().getElement(), is("1")); } /** * @throws Exception */ @Test public void testGetFirst() throws Exception { try { list.getFirst();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
} /** {@inheritDoc} */ @Override public void setVersionRange(VersionRange newRange) { artifact.setVersionRange(newRange); } /** {@inheritDoc} */ @Override public void selectVersion(String version) { artifact.selectVersion(version); } /** {@inheritDoc} */ @Override public void setGroupId(String groupId) { artifact.setGroupId(groupId);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
@DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test")); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test")); } @Test @DisplayName("Test SMB2 buffer size validation") void testSmb2BufferSize() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor_validValue() { // Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123); assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input."); } @Test void testConstructor_maxValue() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
TEST_BIG_INTEGERS = testBigIntegersBuilder.build(); } public void testAsUnsignedAndLongValueAreInverses() { for (long value : TEST_LONGS) { assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).longValue()) .isEqualTo(value); } } public void testAsUnsignedBigIntegerValue() { for (long value : TEST_LONGS) { BigInteger expected =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/mail/EsStatusPostcard.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
public class ContentOutputStreamTest { @Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
public class SmbComWriteAndXResponseTest { private Configuration config; @BeforeEach public void setUp() throws CIFSException { config = new PropertyConfiguration(new Properties()); } /** * Test of readParameterWordsWireFormat method */ @Test public void testReadParameterWordsWireFormat() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
class ConstantValues { @Test void successIsZero() { assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0"); } @Test void accessDeniedIsFive() { assertEquals(5, WinError.ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED should be 5"); } @Test void knownErrorCodes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0)