- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 1,004 for Helpers (0.05 seconds)
-
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} }); } // We call the method only after checking that it's present. @IgnoreJRERequirement @SuppressWarnings({ "Java8ApiChecker", // This method is a helper, which we call from a `finally` block, as recommended. "ReachabilityFenceUsage", }) static void reachabilityFence(@Nullable Object o) { if (IS_REACHABILITY_FENCE_METHOD_USABLE) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk { t.Fatalf("Test %d: expected %v but got %v", i+1, tc.ondisk, actual) } } } // TestIsRestoredObjectOnDisk tests isRestoredObjectOnDisk helper function func TestIsRestoredObjectOnDisk(t *testing.T) { testCases := []struct { meta map[string]string ondisk bool }{ { // restore in progress meta: map[string]string{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.helper.PluginHelper; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.ResourceUtil; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
verifyPathPattern("AdminWebconfig", "/admin/webconfig/"); } private void verifyPathPattern(String prefix, String basePath) throws Exception { // Helper method to verify common pattern String baseFieldName = "path_" + prefix + "_" + prefix + "Jsp"; String detailsFieldName = "path_" + prefix + "_" + prefix + "DetailsJsp";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
if (throwExceptionOnReadData) { throw new SMBProtocolDecodingException("Test exception in readDataWireFormat"); } return dataWireFormatReturn; } // Helper methods for testing void setSetupWireFormatReturn(int value) { this.setupWireFormatReturn = value; } void setParametersWireFormatReturn(int value) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
*/ package org.codelibs.fess.ldap; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalEntity;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentSkipListMap; import org.jspecify.annotations.NullUnmarked; /** * Helper classes for various benchmarks. * * @author Christopher Swenson */ @NullUnmarked final class BenchmarkHelpers { /** So far, this is the best way to test various implementations of {@link Set} subclasses. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
import java.util.concurrent.TimeoutException; import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that objectCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
} } @Nested @DisplayName("Mockito interactions") class MockitoInteractions { @Mock SSPContext mockCtx; // Helper exercising all SSPContext methods to verify call interactions. private void useContext(SSPContext ctx) throws Exception { ctx.getSigningKey(); ctx.isEstablished();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class SmbTreeConnectionTraceTest { // Helper to build a minimal smb URL private static URL smbUrl(String spec) { try { return new URL(null, spec, new Handler()); } catch (MalformedURLException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0)