Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 998 for Unit (0.68 sec)

  1. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link PeekingIterator}.
     *
     * @author Mick Killianey
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class PeekingIteratorTest extends TestCase {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types.go

    // column information guiding user to fix syntax errors
    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    // Intended to be used in unit tests.
    func (b BatchJobYamlErr) message() string {
    	return b.msg
    }
    
    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       things for people integrating them in TCK test suites.
     *   <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit
     *       tests.
     * </ul>
     */
    @SuppressWarnings({
      // We call threadUnexpectedException, which does the right thing for errors.
      "AssertionFailureIgnored",
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests for CLI parsing of plugin upgrade options.
     * These tests verify that the --plugins option is properly parsed and handled.
     */
    class PluginUpgradeCliTest {
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. README.md

    ### Code Standards
    - Follow the project's Eclipse formatter configuration
    - Add Apache License 2.0 headers to new files: `mvn license:format`
    - Maintain comprehensive JavaDoc documentation
    - Write thorough unit tests with good coverage
    - Follow existing naming conventions and patterns
    
    ## 📄 License
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for NtTransQuerySecurityDescResponse class
     */
    class NtTransQuerySecurityDescResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransQuerySecurityDescResponse response;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(524288L); // Caller available allocation units (512K)
                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    import jcifs.internal.fscc.FileStandardInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    
    /**
     * Unit tests for Trans2QueryPathInformationResponse class
     */
    class Trans2QueryPathInformationResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Trans2QueryPathInformationResponse response;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/InputValidatorTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Unit tests for InputValidator
     */
    public class InputValidatorTest {
    
        @Test
        @DisplayName("Test valid buffer size validation")
        void testValidBufferSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionBean.java

    import org.dbflute.jdbc.StatementConfig;
    import org.dbflute.system.DBFluteSystem;
    import org.dbflute.twowaysql.style.BoundDateDisplayStyle;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public abstract class EsAbstractConditionBean implements ConditionBean {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top