Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 3,933 for avoid (0.02 sec)

  1. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        @BeforeEach
        public void setUp() {
            compressionService = new DefaultCompressionService();
    
            // Create test data with patterns that should compress well
            testData = generateTestData(1024);
            largeTestData = generateTestData(8192);
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        }
      }
    
      public void testByteArrayHashtable() {
        hashtableTestHelper(ImmutableList.of(2, 89));
      }
    
      public void testShortArrayHashtable() {
        hashtableTestHelper(ImmutableList.of(90, 22937));
      }
    
      public void testIntArrayHashtable() {
        hashtableTestHelper(ImmutableList.of(22938));
      }
    
      // Non-creation tests
    
      public void testNullGet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameServicePacketTest.java

                return 6; // NbtAddress is 6 bytes
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            packet = new TestNameServicePacket(mockConfig);
            packet.questionName = mockQuestionName;
            packet.recordName = mockRecordName;
        }
    
        @Test
        void testWriteInt2() {
            byte[] dst = new byte[2];
            NameServicePacket.writeInt2(0x1234, dst, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

    public class SmbComReadAndXResponseTest {
    
        private SmbComReadAndXResponse response;
    
        @BeforeEach
        public void setUp() {
            response = new SmbComReadAndXResponse();
        }
    
        @Test
        public void testConstructor() {
            assertNotNull(response);
        }
    
        @Test
        public void testConstructorWithParameters() {
            byte[] b = new byte[0];
            response = new SmbComReadAndXResponse(b, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testHandleFailure() {
            IOException error = new IOException("Connection failed");
    
            failover.handleFailure(failedChannel, error);
    
            assertEquals(ChannelState.FAILED, failedChannel.getState());
            verify(mockChannelManager).removeChannel(failedChannel);
        }
    
        @Test
        void testFailoverStateCreation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DataStoreTest extends UnitFessTestCase {
    
        private DataStore dataStore;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        public void test_store_basic() {
            // Create a simple DataStore implementation for testing
            final AtomicBoolean storeCalled = new AtomicBoolean(false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

        }
    
        @Test
        void testConstructor() throws SmbException {
            assertNotNull(smbRandomAccessFile);
            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testGetFilePointer() throws SmbException {
            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeek() throws SmbException {
            long newPosition = 100L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top