Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 2,277 for Tests (0.02 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComQueryInformation}.  The class is very small and
     * mainly focuses on serialising a command header that contains a file name.
     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapReplaceTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

            val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else ""
            id(buildTypeId(model) + suffix)
            name = "Smoke Ide Tests$suffix"
            description = "Tests against IDE sync process"
    
            applyTestDefaults(
                model = model,
                buildType = this,
                gradleTasks = ":smoke-ide-test:smokeIdeTest",
                extraParameters =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> {
      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    import java.util.Arrays;
    import java.util.Optional;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for {@link DosError}.  Since {@link DosError} only contains
     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2CloseResponse functionality
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2CloseResponse Tests")
    class Smb2CloseResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2CloseResponse response;
        private byte[] testFileId;
        private String testFileName;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/FileNotifyInformationTest.java

        @Mock
        private FileNotifyInformation mockFileNotifyInfo;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Nested
        @DisplayName("Filter Flags Constants Tests")
        class FilterFlagsTests {
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value")
            void testFileNotifyChangeFileName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("UUID Tests")
    class UUIDTest {
    
        // Test data for a valid UUID string
        private static final String VALID_UUID_STRING = "00112233-4455-6677-8899-AABBCCDDEEFF";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                assertEquals("An error occurred during the deferred computation.", e.getMessage());
            }
        }
    
        // ============================================================
        // Edge case tests for timeout handling
        // ============================================================
    
        @Test
        public void test_getResponseTimeout() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
Back to Top