Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 3,060 for SHOULD (0.06 sec)

  1. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            assertTrue(builder instanceof MatchPhrasePrefixQueryBuilder);
    
            MatchPhrasePrefixQueryBuilder mpqb = (MatchPhrasePrefixQueryBuilder) builder;
            assertEquals("test", mpqb.value()); // Should be lowercase
        }
    
        public void test_convertPrefixQuery_withUppercasePrefix_lowercaseDisabled() throws Exception {
            queryCommand.setLowercaseWildcard(false);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
            // All time methods should return the same converted time
            long expectedTime = testTime + serverTimeZoneOffset;
            assertEquals(expectedTime, response.getCreateTime());
            assertEquals(expectedTime, response.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            Configuration cfg = Mockito.mock(Configuration.class);
    
            // Act
            Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg);
    
            // Assert
            assertNotNull(resp, "Response instance should be created");
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat")
        class WriteBytesWireFormat {
    
            @ParameterizedTest
            @ValueSource(ints = { -10, -1, 0, 1, 42 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
                assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            // Then
            assertNotNull(request, "The request object should not be null.");
            assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly.");
            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            assertNotNull(capturedInfo.get("test-key"));
        }
    
        public void test_writeTimeToSessionInfo_withNullHelper() {
            // Should not throw exception
            try {
                crawler.writeTimeToSessionInfo(null, "test-key");
            } catch (Exception e) {
                fail("Should not throw exception with null helper");
            }
        }
    
        // Test sendMail method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         */
        @Nonnull
        Optional<String> directory();
    
        /**
         * Should use inference when upgrading (remove redundant information).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
        Optional<Boolean> infer();
    
        /**
         * Should fix Maven 4 compatibility issues in POMs.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. tests/connection_test.go

    			return err
    		}
    		return nil
    	})
    	if err != nil {
    		t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err))
    	}
    
    	if actualName != expectedName {
    		t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName)
    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Should be instance of RuntimeException
            assertTrue(exception instanceof RuntimeException);
    
            // Should be instance of Exception
            assertTrue(exception instanceof Exception);
    
            // Should be instance of Throwable
            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_supportedNotPresent() {
        assertTrue("offer(notPresent) should return true", getQueue().offer(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top