Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for testGet (0.14 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
            map.put("bbb", 2);
            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSContextTest.java

                mockContext.withCredentials(mock(Credentials.class));
                mockContext.renewCredentials("hint", new Exception());
            });
        }
    
        @Test
        @DisplayName("Should get SmbResource")
        void testGet() throws CIFSException {
            // Given
            String url = "smb://server/share/file";
            SmbResource mockResource = mock(SmbResource.class);
            when(mockContext.get(url)).thenReturn(mockResource);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("One", "11"), is("1"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.get(0), is("1"));
            assertThat(list.get(1), is("2"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
            assertThat(map.getAt(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/valid1/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid2/", "TestBot"));
            assertTrue(robotsTxt.allows("/valid3/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid4/", "TestBot"));
        }
    
        public void testParse_emptyValues() {
            String robotsTxtContent = "User-agent: TestBot\n" + "Disallow:\n" + "Allow:\n" + "Crawl-delay:\n";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. docs/pt-BR/README.md

        $ mvn dbflute:freegen
        $ mvn license:format
    
    ### Testes de Integração
    
    Inicie o servidor Fess e execute o seguinte comando:
    
        $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    
    Para executar um único caso de teste, você pode usar:
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Nov 11 22:42:32 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private LeaseV1CreateContextRequest leaseContext;
        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

    package org.codelibs.fess.crawler.client.smb1;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbAuthenticationHolderTest extends PlainTestCase {
    
        public void test_get() {
            final SmbAuthenticationHolder smbAuthenticationHolder = new SmbAuthenticationHolder();
            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top