Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,907 for _shouldn (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
         * - Compilation outputs
         * - Downloaded artifacts
         */
        PERSISTENT,
    
        /**
         * Data should be retained for the duration of the current Maven session.
         * Suitable for:
         * - Build-wide configuration
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res.getClasspath(), "null classpath after runtime transform");
            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
            assertFalse(asciiCfg.isUseUnicode(), "Unicode should be disabled in ASCII config");
        }
    
        @Test
        public void testUnicodeEncoding() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
            NdrLong ndrLongNegative = new NdrLong(negativeValue);
            assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value.");
    
            // Test case 3: Zero value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

        class InterfaceImplementationTests {
    
            @Test
            @DisplayName("Should implement AllocInfo interface")
            void shouldImplementAllocInfo() {
                assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            }
            return QueryBuilders.boolQuery()//
                    .should(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))//
                    .should(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))//
                    .should(QueryBuilders.fuzzyQuery("title", query).boost(0.01f).maxExpansions(10))//
                    .should(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))//
            ;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top