- Sort Score
- Result 10 results
- Languages All
Results 2341 - 2350 of 2,652 for throw (0.02 sec)
-
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; public class SuggestRequestTest { @Test public void test_isHiraganaQuery() throws Exception { SuggestRequest request = new SuggestRequest(); assertTrue(request.isHiraganaQuery("あ")); assertTrue(request.isHiraganaQuery("あおぞら")); assertTrue(request.isHiraganaQuery("けんさく"));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke * */ public class FtpAuthenticationTest extends PlainTestCase { public void test_matches() throws Exception { FtpAuthentication auth = new FtpAuthentication(); auth.setServer("hostname"); auth.setPort(21); auth.setUsername("testuser"); auth.setPassword("testpass");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
return EnumMultiset.create(elements); } } @J2ktIncompatible @GwtIncompatible // reflection public void testEquals() throws Exception { new ClassSanityTester() .setDistinctValues(Class.class, Color.class, Gender.class) .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) { * return notSubtype(intList); * } * } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * } * }</pre> * * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need * to be made. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertBitEquals(x, at.get()); prev = x; } } /** compareAndSet in one thread enables another waiting for value to succeed */ public void testCompareAndSetInMultipleThreads() throws Exception { final AtomicDouble at = new AtomicDouble(1.0); Thread t = newStartedThread( new CheckedRunnable() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAdder.java
@Override public double doubleValue() { return (double) sum(); } private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeLong(sum()); } private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); busy = 0; cells = null; base = s.readLong(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
this.mechanismListMIC = mechanismListMIC; } public abstract byte[] toByteArray (); protected abstract void parse ( byte[] token ) throws IOException;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
assertTrue(content.length() > 0); }, e -> { logger.log(Level.SEVERE, "error", e); fail(); }); } /* @Test public void test_Get_ssl() throws Exception { final String filename = "config/certs/http_ca.crt"; try (InputStream in = new FileInputStream(filename)) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
String queueType; @Param boolean useMonitor; private BlockingQueue<String> queue; private String[] strings; @BeforeExperiment @SuppressWarnings("unchecked") void setUp() throws Exception { String prefix = (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."); String className = prefix + queueType + "BlockingQueue";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
public class HtmlExtractorTest extends PlainTestCase { private static final Logger logger = LoggerFactory.getLogger(HtmlExtractorTest.class); public HtmlExtractor htmlExtractor; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class); htmlExtractor = container.getComponent("htmlExtractor");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0)