Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,009 for verify (0.06 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.any;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    class SourcesTest {
        @TempDir
        Path tempDir;
    
        @Test
        void testFromPath() {
            Path path = Paths.get("/tmp");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros_internal.h

    #ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    
    #ifdef __cplusplus
    #include "tensorflow/core/platform/status.h"
    
    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test that exception is serializable
            String message = "Serialization test";
            LdapOperationException exception = new LdapOperationException(message);
    
            // Verify the exception can be created (serialVersionUID is present)
            assertNotNull(exception);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            ThemeException exception = new ThemeException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that this test method appears in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if ("test_stackTrace".equals(element.getMethodName())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
                circuitBreaker.executeWithCircuitBreaker(() -> {
                    // Verify we're in HALF_OPEN
                    assertEquals(State.HALF_OPEN, circuitBreaker.getState());
                    throw new RuntimeException("Failure in half-open");
                });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        @Override
        protected Iterator<T> newTargetIterator() {
          // make copy from master to verify later
          targetList = Lists.newArrayList(master);
          Iterator<T> iterator = targetList.iterator();
          return Iterators.peekingIterator(iterator);
        }
    
        @Override
        protected void verify(List<T> elements) {
          // verify same objects were removed from reference and target
          assertEquals(elements, targetList);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(24, SMBUtil.SMB_HEADER.length);
    
            // Verify SMB header signature
            assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test that the exception has serialVersionUID defined
            String message = "Serialization test";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            // Verify the exception can be created (serialVersionUID is defined in the class)
            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        public void testAllFieldsArePublic() {
            // Get all declared fields
            Field[] fields = ServerData.class.getDeclaredFields();
    
            // Verify we have the expected number of fields
            assertEquals(19, fields.length);
    
            // Verify all fields are public
            for (Field field : fields) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top