Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 4,122 for _shouldn (0.06 seconds)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

                verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class));
            }
        }
    
        @Test
        void testConstructor_NullServer() throws IOException {
            // Test case: Constructor with null server, should default to "\\\\"
            String server = null;
            int access = 123;
    
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

        void testAs_Object_Failure() {
            // Test failed casting
            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    
        @Test
        void testAs_Enumeration_Success() throws PACDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            String value1 = fessConfig.get(testKey);
            String value2 = fessConfig.get(testKey);
    
            // Values should be the same
            assertEquals("Test Fess", value1);
            assertEquals(value1, value2);
        }
    
        // Test property that should be consistent
        @Test
        public void test_get_propertyFilter() {
            // Test a regular property that passes through
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        /**
         * Determines whether a stub model should be allowed when the POM is missing or unreadable.
         * A stub model contains only minimal information derived from the project's coordinates.
         *
         * @return true if a stub model should be allowed, false otherwise
         */
        boolean isAllowStubModel();
    
        /**
         * Determines whether the project builder should recursively build parent/child projects.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      public void testContainsAll_empty() {
        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_subset() {
        assertTrue(
            "containsAll(subset) should return true",
            collection.containsAll(MinimalCollection.of(e0())));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act + Assert
            assertTrue(it.hasNext());
            assertEquals("a", it.next().getName(), "First element should be initial from open()");
            assertTrue(it.hasNext());
            assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'");
            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. tests/associations_many2many_test.go

    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    		t.Fatalf("no error should happen when create user when languages exists, but got %v", err)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

        private static final String SHA_EXTENSION = ".sha1";
    
        // TODO: we should be able to default this to eg compile deps, but we need to move the licenses
        // check from distribution to core (ie this should only be run on java projects)
        /**
         * A collection of jar files that should be checked.
         */
        private FileCollection dependencies;
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Check if fields were added (they should be added by the store method)
            assertNotNull(dataMap.get("id"), "ID should be set");
            assertNotNull(dataMap.get("doc_id"), "Doc ID should be set");
            assertNotNull(dataMap.get("click_count"), "Click count should be set");
            assertNotNull(dataMap.get("favorite_count"), "Favorite count should be set");
            assertEquals(1, indexUpdateCallback.docList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
Back to Top