Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testRule1 (0.15 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    								  <Rule>
    								  <ID>testRule1</ID>
    		                          <Filter>
    		                             <Prefix>prefix</Prefix>
    		                          </Filter>
    		                          <Status>Enabled</Status>
    		                          <Expiration><Days>3</Days></Expiration>
    		                          </Rule>
    		                              <Rule>
    								  <ID>testRule2</ID>
    		                          <Filter>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

        }
    
      @Test fun uncaughtException() {
        val testRule = OkHttpClientTestRule()
        testRule.beforeEach(extensionContext)
    
        val thread =
          object : Thread() {
            override fun run() {
              throw RuntimeException("boom!")
            }
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/TestLogHandler.kt

    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.rules.TestRule
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    /**
     * A log handler that records which log messages were published so that a calling test can make
     * assertions about them.
     */
    class TestLogHandler(
      private val logger: Logger,
    ) : TestRule, BeforeEachCallback, AfterEachCallback {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    Stopwatch$Clock { void Stopwatch$Clock(); public long nanoTime(); } org/junit/rules/DisableOnDebug.class package org.junit.rules; public synchronized class DisableOnDebug implements TestRule { private final TestRule rule; private final boolean debugging; public void DisableOnDebug(TestRule); void DisableOnDebug(TestRule, java.util.List); public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement, org.junit.runner.Description); private static boolean isDebugging(java.util.List);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
Back to top