Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for Verify (0.18 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

                // TODO: SMB2 - do we need to check the MIDs?
                // We only read what we were waiting for, so first guess would be no.
                boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
                return !verify;
            }
            return true;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

        }
    
        @Override
        public Set<K> keySet() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Set is also synchronized? */
          return super.keySet();
        }
    
        @Override
        public Multiset<K> keys() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Set is also synchronized? */
          return super.keys();
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Verify.verify;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.immediateFailedFuture;
    import static com.google.common.util.concurrent.Futures.immediateFuture;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
        forward.invalidateAll();
        verify(mock).invalidateAll();
      }
    
      public void testSize() {
        when(mock.size()).thenReturn(0L);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FlushablesTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import java.io.Flushable;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Flushables}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Verify.verify;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.immediateFailedFuture;
    import static com.google.common.util.concurrent.Futures.immediateFuture;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CloseablesTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import java.io.ByteArrayInputStream;
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import junit.framework.TestCase;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

       * involving any parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalStateException if {@code expression} is false
       * @see Verify#verify Verify.verify()
       */
      public static void checkState(boolean expression) {
        if (!expression) {
          throw new IllegalStateException();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top