Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 850 for setUp (0.06 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenModelVersionTest {
    
        private static Model model;
    
        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        random.nextBytes(testBytes);
      }
    
      @Benchmark
      int hasher(int reps) {
        HashFunction hashFunction = hashFunctionEnum.getHashFunction();
        int result = 37;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      @Param({"2", "3", "4", "5", "10"})
      int lockNestingDepth;
    
      CycleDetectingLockFactory factory;
      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSinkTest.java

     *
     * @author Colin Decker
     */
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

                cb.query().setReplacement_Wildcard(wrapQuery(pathMappingPager.replacement));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

    import org.opensearch.core.common.Strings;
    
    import junit.framework.TestCase;
    
    public class SuggesterBuilderTest extends TestCase {
        OpenSearchRunner runner;
    
        @Override
        public void setUp() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    
    ```
    $ cat local.properties
    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. docs/contribute/contributing.md

    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    
    ```
    $ cat local.properties
    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top