Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,940 for voiced (0.04 seconds)

  1. src/test/java/jcifs/util/ByteEncodableTest.java

    class ByteEncodableTest {
    
        @Test
        void testConstructorAndSize() {
            // Test with a basic byte array
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
            assertEquals(3, encodable.size(), "Size should be equal to the specified length");
        }
    
        @Test
        void testEncodeBasic() {
            // Test basic encoding
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfAbsent_nullKeySupported() {
        getMap()
            .computeIfAbsent(
                null,
                k -> {
                  assertNull(k);
                  return v3();
                });
        expectAdded(entry(null, v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_functionThrows() {
        assertThrows(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

     * Test class for {@link NullResponseProcessor}.
     */
    public class NullResponseProcessorTest extends PlainTestCase {
    
        public void test_constructor() {
            // Test constructor
            NullResponseProcessor processor = new NullResponseProcessor();
            assertNotNull(processor);
        }
    
        public void test_implementsResponseProcessor() {
            // Test that NullResponseProcessor implements ResponseProcessor
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

          Iterator<? extends E> elements);
    
      public void testCreation_noArgs() {
        Set<String> set = of();
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCreation_oneElement() {
        Set<String> set = of("a");
        assertEquals(singleton("a"), set);
      }
    
      public void testCreation_twoElements() {
        Set<String> set = of("a", "b");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/transport/ResponseTest.java

    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top