Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 968 for set_op (0.24 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneRestTestPlugin.java

            project.getPluginManager().apply(RestTestBasePlugin.class);
    
            project.getTasks().register("buildResources", ExportElasticsearchBuildResourcesTask.class);
    
            // only setup tests to build
            SourceSetContainer sourceSets = project.getExtensions().getByType(SourceSetContainer.class);
            final SourceSet testSourceSet = sourceSets.create("test");
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 05 08:34:36 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

                    } else {
                        testTask.getClusters().forEach(c -> c.plugin(bundle.flatMap(AbstractArchiveTask::getArchiveFile)));
                    }
                });
            });
        }
    
        /**
         * Setup the dependencies needed for the REST tests.
         */
        public static void setupTestDependenciesDefaults(Project project, SourceSet sourceSet) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. android-test/build.gradle.kts

      }
    
      testOptions {
        targetSdk = 34
        unitTests.isIncludeAndroidResources = true
      }
    
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES",
        "META-INF/LICENSE.md",
        "META-INF/LICENSE-notice.md",
        "README.txt",
        "org/bouncycastle/LICENSE",
        "META-INF/versions/9/OSGI-INF/MANIFEST.MF"
      )
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
  4. guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final double[] doubles = new double[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positiveDoubles[i] = randomPositiveDouble();
          doubles[i] = randomDouble(Long.SIZE);
          factorials[i] = RANDOM_SOURCE.nextInt(100);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NdrLongTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

    import jcifs.smb1.util.Hexdump;
    
    public class SmbComDeleteTest {
    
        private static final String TEST_FILE_NAME = "testFile.txt";
        private SmbComDelete smbComDelete;
    
        @BeforeEach
        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java

    public class ThirdPartyAuditTaskIT extends GradleIntegrationTestCase {
    
        @Override
        public String projectName() {
            return "thirdPartyAudit";
        }
    
        @Before
        public void setUp() throws Exception {
            // Build the sample jars
            getGradleRunner().withArguments(":sample_jars:build", "-s").build();
            // propagate jdkjarhell jar
        }
    
        public void testElasticsearchIgnored() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    
    /**
     * A transformation to to remove any warnings that match exactly.
     * If this removes all of the warnings, this will not remove the feature from the setup and/or teardown and will leave behind an empty array
     * While it would be more technically correct to do so, the effort/complexity does not warrant it, since for the expected usage it makes
     * no difference.
     */
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class WebFsIndexHelperTest extends UnitFessTestCase {
    
        private WebFsIndexHelper webFsIndexHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            webFsIndexHelper = new WebFsIndexHelper();
        }
    
        @Test
        public void test_crawl_withNullParameters() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

    public class AdminDesignActionTest extends UnitFessTestCase {
    
        private AdminDesignAction action;
        private Path tempDir;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            action = new AdminDesignAction();
            tempDir = Files.createTempDirectory("fess_test");
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top