Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for spy (0.02 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
         * @param event The event, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        SpyAppendable spy = new SpyAppendable();
        Writer writer = new AppendableWriter(spy);
    
        writer.write("Hello");
        assertFalse(spy.flushed);
        assertFalse(spy.closed);
    
        writer.flush();
        assertTrue(spy.flushed);
        assertFalse(spy.closed);
    
        writer.close();
        assertTrue(spy.flushed);
        assertTrue(spy.closed);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                    logError("close", e, eventSpy);
                }
            }
        }
    
        private void logError(String action, Throwable e, EventSpy spy) {
            String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage();
    
            if (logger.isDebugEnabled()) {
                logger.warn(msg, e);
            } else {
                logger.warn(msg);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top