- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 2,094 for test1 (0.08 sec)
-
internal/crypto/key_test.go
func TestSealUnsealKey(t *testing.T) { for i, test := range sealUnsealKeyTests { key := GenerateKey(test.SealExtKey[:], rand.Reader) sealedKey := key.Seal(test.SealExtKey[:], test.SealIV, test.SealDomain, test.SealBucket, test.SealObject) if err := key.Unseal(test.UnsealExtKey[:], sealedKey, test.UnsealDomain, test.UnsealBucket, test.UnsealObject); err == nil && !test.ShouldPass { t.Errorf("Test %d should fail but passed successfully", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import kotlin.test.assertFailsWith import okhttp3.internal.applyConnectionSpec import okhttp3.internal.platform.Platform.Companion.isAndroid import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion.majorVersion import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class ConnectionSpecTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
} @Test void testGetVersionReturnsResolvedVersionOnSnapshot() { assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion()); // this is FOUL! // snapshotArtifact.isSnapshot(); assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion()); } @Test void testGetDependencyConflictId() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test the default artifact collector. * */ @PlexusTest @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
*/ @Test public void testEmptyIterator() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator, is(notNullValue())); } /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()} * . */ @Test public void testRemove() { exception.expect(ClUnsupportedOperationException.class);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
assertTrue(source.get("field1").toString().startsWith("test")); valueSet.add(source.get("field1").toString()); count++; } assertEquals(num, count); assertEquals(num, valueSet.size()); } @Test public void test_ReadWithLimit() throws Exception { String indexName = "test-index"; Client client = runner.client();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); char[][] arrays = new char[arraysDim1][]; // it's shared to avoid using too much memory in tests char[] sharedArray = new char[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Chars.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
public void testAssertArgument() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。.")); assertArgument("hoge", false, "hogeだからです。"); } /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} . */ @Test public void testAssertState() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-scope.xml
</dependency> <dependency> <groupId>test</groupId> <artifactId>d</artifactId> <version>0.2</version> <scope>test</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>e</artifactId> <version>0.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>f</artifactId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
import java.util.Random import kotlin.test.assertFailsWith import okhttp3.internal.format import okio.Buffer import okio.ByteString import okio.ByteString.Companion.EMPTY import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class WebSocketReaderTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.4K bytes - Viewed (0)