Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,466 for assertEquals (0.24 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
            assertEquals("tp://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            urlConvertHelper.add("^tp:", "http:");
    
            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            assertEquals("/admin/wizard/admin_wizard.jsp", FessHtmlPath.path_AdminWizard_AdminWizardJsp.getRoutingPath());
            assertEquals("/index.jsp", FessHtmlPath.path_IndexJsp.getRoutingPath());
            assertEquals("/search.jsp", FessHtmlPath.path_SearchJsp.getRoutingPath());
            assertEquals("/error/error.jsp", FessHtmlPath.path_Error_ErrorJsp.getRoutingPath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Verify all ACB constants
                assertEquals(1, samr.ACB_DISABLED);
                assertEquals(2, samr.ACB_HOMDIRREQ);
                assertEquals(4, samr.ACB_PWNOTREQ);
                assertEquals(8, samr.ACB_TEMPDUP);
                assertEquals(16, samr.ACB_NORMAL);
                assertEquals(32, samr.ACB_MNS);
                assertEquals(64, samr.ACB_DOMTRUST);
                assertEquals(128, samr.ACB_WSTRUST);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should handle different buffer positions")
            void testWriteBytesWireFormatDifferentPositions() {
                byte[] buffer = new byte[1024];
    
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0));
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 100));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // When
            int bytesWritten = smbComClose.writeParameterWordsWireFormat(dst, 0);
    
            // Then
            assertEquals(6, bytesWritten);
            assertEquals(fid, SMBUtil.readInt2(dst, 0));
            // lastWriteTime is not written if digest is null, so the remaining bytes should be zero
            assertEquals(0, SMBUtil.readInt4(dst, 2));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("b = " + artifact.getScope());
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        void testConstructorWithZeroCode() {
            SmbException ex = new SmbException(0, false);
            assertEquals("NT_STATUS_SUCCESS", ex.getMessage());
            assertEquals(0, ex.getNtStatus());
            assertNull(ex.getRootCause(), "root cause should be null for this ctor");
            assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(secured);
            String[] roles = secured.value();
            assertEquals(4, roles.length);
            assertEquals("ROLE_USER-ADMIN", roles[0]);
            assertEquals("ROLE_USER.VIEWER", roles[1]);
            assertEquals("ROLE_USER_EDITOR", roles[2]);
            assertEquals("ROLE$SPECIAL", roles[3]);
        }
    
        // Test both class and method annotations
        @Secured({ "CLASS_ROLE" })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            byte[] dst = new byte[4];
            assertEquals(0, cmd.writeSetupWireFormat(dst, 0));
        }
    
        @Test
        void readMethodsReturnZero() {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(0, 0);
            byte[] buf = new byte[10];
            assertEquals(0, cmd.readSetupWireFormat(buf, 0, buf.length));
            assertEquals(0, cmd.readParametersWireFormat(buf, 0, buf.length));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            assertEquals(8, bytesDecoded1); // Should still return 8
            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
    
            FileInternalInfo info2 = new FileInternalInfo();
            int bytesDecoded2 = info2.decode(buffer, 0, 15); // More than needed
            assertEquals(8, bytesDecoded2); // Should still return 8
            assertEquals(expectedIndexNumber, info2.getIndexNumber());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top