Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 722 for Fail (0.01 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        public void test_install_blankUrl() {
            PluginHelper testHelper = new PluginHelper();
            Artifact artifact = new Artifact("test", "1.0.0", "");
    
            try {
                testHelper.install(artifact);
                fail("Expected PluginException");
            } catch (PluginException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. integration-tests/gradle/gradlew.bat

    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 21 19:14:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        try {
          future.get();
          fail();
        } catch (Exception e) {
          assertThat(e).isInstanceOf(IllegalStateException.class);
          assertThat(e).hasMessageThat().isEqualTo("Cannot get() on a pending future.");
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          future.get(0, SECONDS);
          fail();
        } catch (Exception e) {
    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. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |-----END PRIVATE KEY-----
          |
          """.trimMargin()
        try {
          decode(certificatePem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string does not include a private key")
        }
        try {
          decode(pkcs8Pem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.HttpURLConnection;
    import java.net.Proxy;
    import java.util.concurrent.ForkJoinPool;
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            try {
                preauthService.validatePreauthIntegrity(sessionId, incorrectHash);
                fail("Expected CIFSException");
            } catch (CIFSException e) {
                // Expected
            }
    
            assertFalse(context.isValid());
    
            // Further operations on invalid context should fail
            assertThrows(CIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            // Execute and expect IOException
            try {
                webApiFilter.doFilter(request, response, chain);
                fail("Expected IOException");
            } catch (IOException e) {
                assertEquals("Test IOException", e.getMessage());
            } catch (ServletException e) {
                fail("Unexpected ServletException: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/PathValidatorTest.java

            try {
                validator.validatePath("\\share\\con");
                fail("Should block lowercase reserved name");
            } catch (SmbException e) {
                // Expected
            }
    
            try {
                validator.validatePath("\\share\\Con");
                fail("Should block mixed case reserved name");
            } catch (SmbException e) {
                // Expected
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.CardView;
    import org.dbflute.mail.send.supplement.SMailPostingDiscloser;
    import org.lastaflute.core.mail.Postbox;
    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    
    public class CrawlerTest extends UnitFessTestCase {
    
        private Crawler crawler;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top