Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 554 for test_ws (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests {@link SequentialExecutor}.
     *
     * @author JJ Furman
     */
    @NullUnmarked
    public class SequentialExecutorTest extends TestCase {
    
      private static class FakeExecutor implements Executor {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. tests/helper_test.go

    package tests_test
    
    import (
    	"os"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Config struct {
    	Account   bool
    	Pets      int
    	Toys      int
    	Company   bool
    	Manager   bool
    	Team      int
    	Languages int
    	Friends   int
    	NamedPet  bool
    	Tools     int
    }
    
    func GetUser(name string, config Config) *User {
    	var (
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    	obj2 := ObjectOpts{
    		Name: "obj2",
    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    			transRuleID: 2,
    		},
    	}
    	for i, tc := range tests {
    		w := httptest.NewRecorder()
    		lc.SetPredictionHeaders(w, tc.obj)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            assertEquals(
                    "custom-output", customResource.getTargetPath(), "targetPath should be preserved in ConnectedResource");
    
            // Test that includes modification preserves targetPath (tests ConnectedResource functionality)
            customResource.addInclude("*.properties");
            assertEquals(
                    "custom-output", customResource.getTargetPath(), "targetPath should survive includes modification");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. CHANGELOG.md

    This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.
    
     *  New: `TrailersSource`, a public API for HTTP trailers. Production callers shouldn't need this
        as the API to read response trailers is unchanged. Testers may use this new stable API to
        supply trailers for a `Response`.
    
     *  New: `Path.asRequestBody()` is now a non-experimental API.
    
     *  New: `FileDescriptor.toRequestBody()` is now a non-experimental API.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import static com.google.common.collect.testing.features.CollectionFeature.NON_STANDARD_TOSTRING;
    import static com.google.common.collect.testing.features.CollectionFeature.RESTRICTS_ELEMENTS;
    import static com.google.common.collect.testing.testers.NavigableSetNavigationTester.getHoleMethods;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

        @Mock
        private Smb2WriteResponse mockWriteResponse;
    
        private SmbFileOutputStream outputStream;
    
        @BeforeEach
        void setUp() {
            // Common setup for most tests
            lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle);
            lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Closer.java

      private @Nullable Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. docs/smb3-features/06-witness-protocol-design.md

    }
    
    public boolean isWitnessServiceDiscovery() {
        return getBooleanProperty(WITNESS_SERVICE_DISCOVERY, true);
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testWitnessRegistration() {
        WitnessRegistration registration = new WitnessRegistration(
            "\\\\server\\share", 
            InetAddress.getByName("192.168.1.100"),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
Back to Top