- Sort Score
- Num 10 results
- Language All
Results 1131 - 1140 of 2,353 for testFind (0.29 seconds)
-
guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat())); assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble())); } @SuppressWarnings("deprecation") // testing a deprecated method public void testWriteBytes() throws IOException { /* Write out various test values in LITTLE ENDIAN FORMAT */ out.writeBytes("r\u00C9sum\u00C9"); byte[] data = baos.toByteArray();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
@Mock private SmbNegotiationRequest negotiationRequest; private SmbNegotiationRequest customImplementation; @BeforeEach void setUp() { // Create a custom implementation for additional testing customImplementation = new TestSmbNegotiationRequest(false); } @Test @DisplayName("Test isSigningEnforced returns true when signing is enforced") void testIsSigningEnforcedReturnsTrue() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
cmd/update-notifier_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "strings" "testing" "time" "github.com/minio/minio/internal/color" ) // Tests update notifier string builder. func TestPrepareUpdateMessage(t *testing.T) { testCases := []struct { older time.Duration dlURL string expectedSubStr string }{ // Testcase index 0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.testing.PlexusTest; import org.junit.jupiter.api.BeforeEach; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; /** * Provides a basis for testing conflict resolvers. * */ @PlexusTest @Deprecated public abstract class AbstractConflictResolverTest {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TablesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.Table.Cell; import com.google.common.testing.EqualsTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Tables}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.testing.Helpers.copyToSet; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Inherited; import java.lang.annotation.Retention;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
internal/http/server_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "crypto/tls" "fmt" "net/http" "reflect" "testing" "github.com/minio/pkg/v3/certs" ) func TestNewServer(t *testing.T) { nonLoopBackIP := getNonLoopBackIP(t) handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, world") })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 19 18:42:47 GMT 2024 - 2.5K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn_test.go
package deadlineconn import ( "bufio" "fmt" "io" "net" "sync" "testing" "time" ) // Test deadlineconn handles read timeout properly by reading two messages beyond deadline. func TestBuffConnReadTimeout(t *testing.T) { l, err := net.Listen("tcp", "localhost:0") if err != nil { t.Fatalf("unable to create listener. %v", err) } defer l.Close()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 17:15:17 GMT 2024 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
import static org.junit.Assert.assertThrows; import com.google.common.collect.Lists; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.NullPointerTester.Visibility; import com.google.common.testing.SerializableTester; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.GenericArrayType;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
import com.google.common.base.Predicate; import com.google.common.collect.testing.CollectionTestSuiteBuilder; import com.google.common.collect.testing.TestStringCollectionGenerator; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.NullPointerTester; import java.util.ArrayList; import java.util.Collection;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0)