Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2431 - 2440 of 2,652 for throw (0.08 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

    public class AccessTokenHelperTest extends UnitFessTestCase {
    
        protected static final int NUM = 20;
    
        private AccessTokenHelper accessTokenHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            accessTokenHelper = new AccessTokenHelper();
        }
    
        public void test_generateAccessToken() {
            List<String> tokens = new ArrayList<String>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for the {@link HtmlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class HtmlEscapersTest extends TestCase {
    
      public void testHtmlEscaper() throws Exception {
        assertEquals("xxx", htmlEscaper().escape("xxx"));
        assertEquals("&quot;test&quot;", htmlEscaper().escape("\"test\""));
        assertEquals("&#39;test&#39;", htmlEscaper().escape("\'test'"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

    /**
     * @author shinsuke
     *
     */
    public class DataServiceImplTest extends PlainTestCase {
        public DataService dataService;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
                    .singleton("dataService", DataServiceImpl.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * スレッドに割り込みを行い、終了するまで待機します。
         *
         * @param timeoutMillis
         *            待機する時間(ミリ秒単位)
         * @return スレッドが終了した場合は<code>true</code>
         * @throws InterruptedException
         *             待機中に割り込まれた場合
         */
        public boolean stop(final long timeoutMillis) throws InterruptedException {
            final Thread t = this.thread;
            synchronized (this) {
                if (t == null) {
                    return true;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            return artifact.isOptional();
        }
    
        /** {@inheritDoc} */
        public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException {
            return artifact.getSelectedVersion();
        }
    
        /** {@inheritDoc} */
        public boolean isSelectedVersionKnown() throws OverConstrainedVersionException {
            return artifact.isSelectedVersionKnown();
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("deprecation") // tests of a deprecated method
    public class FilesCreateTempDirTest extends TestCase {
      public void testCreateTempDir() throws IOException {
        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

     * under the License.
     */
    package org.apache.maven.building;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     *
     */
    class DefaultProblem implements Problem {
    
        private final String source;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/InternersTest.java

        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class LdapManagerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        @SuppressWarnings("serial")
        public void test_getSearchRoleName() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top