Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,153 for EXPECTED (0.07 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
                // expected
            }
        }
    
        @Test
        public void test_startNoArg_callsLaunchNowWithoutParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Constructor should initialize the object without throwing exceptions
            assertNotNull(querySecurityDesc);
    
            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
    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)
  3. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // This is a compile-time check that the code structure is correct
            assertTrue(true);
        }
    
        @Test
        public void test_constantsExist() {
            // Verify all expected configuration constants are defined
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
    
            // These constants should be accessible (would fail at compile time if not)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
                String result = fileFsFullSizeInfo.toString();
    
                // Then
                String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]";
                assertEquals(expected, result);
            }
    
            @Test
            @DisplayName("Should handle negative values in toString")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import java.io.IOException;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableSortedMultiset.orderedBy(comparator).add(array).build();
        Multiset<String[]> expected = HashMultiset.create();
        expected.add(array);
        assertEquals(expected, multiset);
      }
    
      public void testCreation_arrayContainingOnlyNull() {
        String[] array = new String[] {null};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            assertTrue(actual.endsWith(expectedEnd), "toString should end with ',addrEntry=]' when addrEntry is null");
            assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix");
        }
    
        @Test
        void toString_shouldReturnExpectedFormat_withNonNullAddrEntry() throws NoSuchFieldException, IllegalAccessException {
            // Set 'addrEntry' with some NbtAddress objects
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                keyCopy = Arrays.copyOf(key, key.length);
    
                // Validate key length matches expected cipher requirements
                if (keyCopy.length != keyLength) {
                    throw new IllegalArgumentException("Key length mismatch: expected " + keyLength + ", got " + keyCopy.length);
                }
    
                // Create cipher with the copy - algorithm is just "AES" for SecretKeySpec
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

      protected final F factory;
      protected final T data;
      protected final T expected;
    
      private final String suiteName;
      private final String caseDesc;
    
      SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) {
        super(method.getName());
        this.factory = checkNotNull(factory);
        this.data = checkNotNull(data);
        this.expected = checkNotNull(factory.getExpected(data));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top