Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,151 for Unit (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

    import com.google.common.base.Function;
    import java.lang.reflect.UndeclaredThrowableException;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          checkCurrentState(RUNNING);
        } finally {
          monitor.leave();
        }
      }
    
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
        if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) {
          try {
            checkCurrentState(RUNNING);
          } finally {
            monitor.leave();
          }
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.PatternSyntaxException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link PatternFilenameFilter}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class PatternFilenameFilterTest extends TestCase {
    
      public void testSyntaxException() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. .github/pull_request_template.md

    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
      This may not always be possible but is a best-practice.
    - [ ] Run `mvn verify` to make sure basic checks pass.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.apache.lucene.queryparser.classic.ParseException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryParseExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with ParseException cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

     */
    package org.codelibs.fess.tomcat.webresources;
    
    import org.apache.catalina.Context;
    import org.apache.catalina.WebResourceRoot;
    import org.apache.catalina.webresources.StandardRoot;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessWebResourceRootTest extends UnitFessTestCase {
    
        public void test_classExists() {
            // Basic test to verify the class exists and has the correct structure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.client;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlerEngineClientTest extends UnitFessTestCase {
    
        private CrawlerEngineClient crawlerEngineClient;
    
        @Override
        public void setUp() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

      override fun isShutdown(): Boolean = shutdown
    
      override fun isTerminated(): Boolean = throw UnsupportedOperationException()
    
      override fun awaitTermination(
        timeout: Long,
        unit: TimeUnit,
      ): Boolean = throw UnsupportedOperationException()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/app/pager/BoostDocPagerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.pager;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BoostDocPagerTest extends UnitFessTestCase {
    
        public void test_BoostDocPage() {
            BoostDocPager boostdocpager = new BoostDocPager();
    
            boostdocpager.clear();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top