Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,151 for testUsing (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.Executors.defaultThreadFactory;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.NullPointerTester;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

     * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
     * License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.util.concurrent.testing;
    
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.ClassSanityTester;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertTrue;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.internal.platform.Platform.Companion.get
    import okhttp3.internal.proxy.NullProxySelector
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertNotSame
    import org.junit.jupiter.api.Assertions.assertSame
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

        return getIntProperty(RDMA_CREDITS, 255);
    }
    
    private boolean isRdmaAvailable() {
        return new DisniRdmaProvider().isAvailable() || 
               new JxioRdmaProvider().isAvailable();
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testRdmaProviderSelection() {
        RdmaProvider provider = RdmaProviderFactory.createProvider("auto");
        assertNotNull(provider);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

    import okhttp3.WebSocketListener
    import okhttp3.internal.UnreadableResponseBody
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.ws.WebSocketProtocol.acceptHeader
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.AfterEach
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.testing
    
    import android.os.Build
    import com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider
    import com.amazon.corretto.crypto.provider.SelfTestStatus
    import java.lang.reflect.Method
    import java.security.Security
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb1/smb1/BufferCache.java

                    (queueSize.get() * 100.0 / MAX_BUFFERS));
        }
    
        /**
         * Clear all cached buffers (for testing or cleanup)
         */
        public static void clearCache() {
            bufferQueue.clear();
            queueSize.set(0);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top