- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 515 for rule (0.03 seconds)
-
mockwebserver-junit4/README.md
``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance will be shut down automatically after the test runs. For Kotlin, the `@JvmField` annotation is also necessary: ``` @JvmField @Rule val serverRule = MockWebServerRule()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 706 bytes - Click Count (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
class MockWebServerRuleTest { @Test fun statementStartsAndStops() { val rule = MockWebServerRule() val called = AtomicBoolean() val statement: Statement = rule.apply( object : Statement() { override fun evaluate() { called.set(true) rule.server .url("/") .toUrl() .openConnection()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
docs/bucket/replication/README.md
jects-between-s3-buckets/) can be enabled by passing `existing-objects` as a value to `--replicate` flag while adding or editing a replication rule. Once existing object replication is enabled, all objects or object prefixes that satisfy the replication rules and were created prior to adding replication configuration OR while replication rules were disabled will be synced to the target cluster. Depending on the number of previously existing objects, the existing objects that are now eligible...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.3K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml
<rule-config name='ClassName'> <property name='regex' value='^[A-Z][\$a-zA-Z0-9]*$'/> </rule-config> <rule-config name='FieldName'> <property name='finalRegex' value='^[a-z][a-zA-Z0-9]*$'/> <property name='staticFinalRegex' value='^logger$|^[A-Z][A-Z_0-9]*$|^serialVersionUID$'/> </rule-config> <rule-config name='MethodName'>
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
internal/bucket/lifecycle/rule_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Click Count (0) -
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
import java.io.IOException import mockwebserver3.MockWebServer import org.junit.rules.ExternalResource /** * Runs MockWebServer for the duration of a single test method. * * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with * the `@Rule` annotation: * * ```java * @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); * ``` *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 16 22:36:18 GMT 2025 - 1.4K bytes - Click Count (0) -
cmd/data-scanner_test.go
lcXML := ` <LifecycleConfiguration> <Rule> <ID>max-versions</ID> <Status>Enabled</Status> <NoncurrentVersionExpiration> <NewerNoncurrentVersions>2</NewerNoncurrentVersions> </NoncurrentVersionExpiration> </Rule> <Rule> <ID>delete-all-versions</ID> <Status>Enabled</Status>
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
static class NewBase extends NewSuperInternal {} static class NewSub extends NewBase {} Map classes = [:] def setup() { rule = new MethodsRemovedInInternalSuperClassRule(getInitializationParams()) rule.context = context [OldSuperInternal, NewSuperInternal].each { CtClass c = instanceScopedPool.get(it.name) c.name = replaceAsInternal(c.name)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/bucket/replication/setup_3site_replication.sh
./mc version enable sitec/bucket/ ./mc mb -l sitec/olockbucket echo "adding replication rule for a -> b : ${remote_arn}" sleep 1 ./mc replicate add sitea/bucket/ \ --remote-bucket http://minio:minio123@127.0.0.1:9004/bucket \ --replicate "existing-objects,delete,delete-marker,replica-metadata-sync" sleep 1 echo "adding replication rule for b -> a : ${remote_arn}" ./mc replicate add siteb/bucket/ \Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 10.3K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
shouldPass bool }{ // Test case - 1. // Filter contains more than (Prefix,Tag,And) rule { method: http.MethodPut, bucketName: bucketName, accessKey: creds.AccessKey, secretKey: creds.SecretKey,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0)