Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,595 for Tests (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseState Tests")
    class Smb2LeaseStateTest {
    
        @Test
        @DisplayName("Should define correct lease state constants")
        void testLeaseStateConstants() {
            assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Tests for the SmbComCreateDirectory class.
     */
    class SmbComCreateDirectoryTest {
    
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() {
            // Mock the Configuration object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            Arrays.fill(sessionKey, (byte) 0xAA);
    
            preauthIntegrityHash = new byte[64];
            Arrays.fill(preauthIntegrityHash, (byte) 0xBB);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create digest for SMB 2.0.2 with HmacSHA256")
            void testConstructorSmb202() throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

    /**
     * Filter interface for SMB filename filtering.
     * This interface allows selective filtering of filenames
     * when listing directory contents in SMB shares.
     */
    public interface SmbFilenameFilter {
        /**
         * Tests whether the specified filename should be included in a file list.
         *
         * @param dir the directory containing the file
         * @param name the name of the file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(
            CacheLoader.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that {@link AggregateFutureState} uses the expected {@code AtomicHelper} implementation.
     *
     * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 05 15:44:19 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class BiMapClearTester<K, V> extends AbstractBiMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearClearsInverse() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedSetMultimapAsMapTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testAsMapValuesImplementSortedSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top