Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,899 for test$ (0.11 sec)

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

        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
          Object testInstance = test.getDeclaredConstructor().newInstance();
          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

        NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    
    /**
     * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling,
     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbResource;
    
    /**
     * Tests for {@link DirFileEntryAdapterIterator}.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/BaseContextTest.java

    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.config.BaseConfiguration;
    
    /**
     * Comprehensive test suite for BaseContext class.
     * Tests CIFS context implementation and component integration.
     */
    @DisplayName("BaseContext Tests")
    class BaseContextTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top