Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 6,205 for new1 (0.03 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] buffer = new byte[100];
    
            int result = querySecurityDesc.readParametersWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns zero")
        void testReadDataWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final AtomicBoolean heartbeatCalled = new AtomicBoolean(false);
            final AtomicBoolean fetchCalled = new AtomicBoolean(false);
            final AtomicBoolean cleanupCalled = new AtomicBoolean(false);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
                public void sendHeartbeat() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            BeanUtil.copyBeanToBean(src, dest, converter(new DateConverter("yyyy/MM/dd")));
            System.out.println(dest.aaa);
            assertThat(dest.aaa, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_beanToMap() throws Exception {
            final MyBean src = new MyBean();
            src.aaa = "aaa";
            final BeanMap dest = new BeanMap();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test creating multiple exceptions with different status codes
            WebApiException exception1 = new WebApiException(400, "Bad Request");
            WebApiException exception2 = new WebApiException(401, "Unauthorized");
            WebApiException exception3 = new WebApiException(500, "Internal Error");
    
            assertEquals(400, exception1.getStatusCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            assertNotNull(policy);
        }
    
        @Test
        public void test_rewrite_with_null_logger_name() {
            String[] loggerNames = { "test.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            LogEvent event =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testEquals() {
            SmbTree tree1 = new SmbTree(session, "testShare", "testService");
            SmbTree tree2 = new SmbTree(session, "testShare", "testService");
            SmbTree tree3 = new SmbTree(session, "otherShare", "testService");
            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[4];
            int offset = 0;
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                }
            }
    
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
            final int[] sizes = new int[threadCount];
            final boolean[][] containsResults = new boolean[threadCount][10];
    
            // Multiple threads read from deleteUrlList
            for (int i = 0; i < threadCount; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final List<Map<String, String>> capturedLogs = new ArrayList<>();
            final ActivityHelper spyActivityHelper = createSpyActivityHelper(capturedLogs);
    
            final TestActionRuntime testRuntime = new TestActionRuntime("/admin/user/");
            final FessAdminAction action =
                    createGodHandAction(spyActivityHelper, OptionalThing.of(new FessUserBean(new TestUser("admin", new String[0]))), true);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
Back to Top