Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 160 for tearDown (0.21 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    # or whatever path is set as $TF_WHEEL.
    
    setup_file() {
        cd /tf/pkg
        if [[ -z "$TF_WHEEL" ]]; then
            export TF_WHEEL=$(find /tf/pkg -iname "*.whl")
        fi
    }
    
    teardown_file() {
        rm -rf /tf/venv
    }
    
    @test "Wheel is manylinux2014 (manylinux_2_17) compliant" {
        python3 -m auditwheel show "$TF_WHEEL" > audit.txt
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    		if expected[i] != got[i] {
    			return false
    		}
    	}
    
    	// expected and got have same entries.
    	return true
    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    	return &adminErasureTestBed{
    		erasureDirs: erasureDirs,
    		objLayer:    objLayer,
    		router:      adminRouter,
    		done:        cancel,
    	}, nil
    }
    
    // TearDown - method that resets the test bed for subsequent unit
    // tests to start afresh.
    func (atb *adminErasureTestBed) TearDown() {
    	atb.done()
    	removeRoots(atb.erasureDirs)
    	resetTestGlobals()
    }
    
    // initTestObjLayer - Helper function to initialize an Erasure-based object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

      private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor();
      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
      protected void tearDown() throws Exception {
        super.tearDown();
        assertWithMessage("finishToValueAndCloserExecutor was shut down")
            .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS))
            .isTrue();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            ComponentUtil.register(queryParser, "queryParser");
    
            queryCommand = new TermQueryCommand();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_convertTermQuery() throws Exception {
            assertQueryBuilder(BoolQueryBuilder.class,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
      protected void tearDown() throws Exception {
        subscriber = null;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     */
    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
        val request = HttpGet("https://google.com/robots.txt")
    
        httpClient.execute(request).use { response ->
          assertEquals(200, response.code)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
      protected void tearDown() throws Exception {
        subscriber = null;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top