Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,963 for void (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_supportedPresent() {
        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAddAtIndex_unsupportedPresent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.search.SearchHit;
    
    public class SearchEngineUtilTest extends UnitFessTestCase {
    
        public void test_getXContentBuilderOutputStream_success() {
            XContentBuilderCallback callback = (builder, params) -> {
                builder.startObject();
                builder.field("test", "value");
                builder.endObject();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        @Test
        @DisplayName("Should test interface with anonymous implementation")
        void testAnonymousImplementation() {
            // Given
            byte[] capturedFileId = new byte[1];
            RequestWithFileId anonymousImpl = new RequestWithFileId() {
                private byte[] fileId;
    
                @Override
                public void setFileId(byte[] fileId) {
                    this.fileId = fileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.openMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(setupAndX);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command);
            assertEquals(mockSession, setupAndX.session);
            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        private Smb2QueryDirectoryResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config and expectInfoClass")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @DisplayName("toString contains key identifiers")
        void testToString() {
            SmbSessionImpl session = newSession();
            String s = session.toString();
            assertTrue(s.contains("targetHost=server.example"));
            assertTrue(s.contains("targetDomain=EXAMPLE"));
        }
    
        @Test
        @DisplayName("getExpiration: null when unset, value when positive")
        void testGetExpiration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         */
        public void addCookieNameMapping(final String cookieName, final String roleName) {
            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        /**
         * Sets the cached cipher.
         * @param cipher The cached cipher.
         */
        public void setCipher(final CachedCipher cipher) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            void list_withNullRoot_throwsNpe() {
                // Intent: null root is invalid input
                assertThrows(NullPointerException.class, () -> SmbEnumerationUtil.list(null, "*", 0, null, null));
            }
    
            @Test
            @DisplayName("listFiles with null root throws NullPointerException")
            void listFiles_withNullRoot_throwsNpe() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top