Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for testFork (0.18 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy

            compileOptions.bootstrapClasspath == null
            compileOptions.extensionDirs == null
    
            compileOptions.forkOptions != null
            compileOptions.debugOptions != null
        }
    
        def testFork() {
            compileOptions.fork = false
            assertNull(compileOptions.forkOptions.memoryMaximumSize)
    
            expect:
            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy

            assertNull(compileOptions.configurationScript)
            assertFalse(compileOptions.javaAnnotationProcessing)
            assertFalse(compileOptions.parameters)
        }
    
        @Test
        void testFork() {
            compileOptions.fork = false
            assertNull(compileOptions.forkOptions.memoryMaximumSize)
    
            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy

                    .run()
            }
        }
    
        def prepareTaskTypeUsingWorker() {
            def gradle3Submit = 'workerExecutor.submit(TestWork) { c -> c.displayName = "org.gradle.test.TestWork" }'
            def submit = 'workerExecutor.noIsolation().submit(TestWork) { }'
            buildFile << """
                import javax.inject.Inject
                import org.gradle.workers.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/cmp/cmp_test.go

    		case uintptr:
    			c = cmp.Compare(test.x.(uintptr), test.y.(uintptr))
    		}
    		if c != test.compare {
    			t.Errorf("Compare(%v, %v) == %d, want %d", test.x, test.y, c, test.compare)
    		}
    	}
    }
    
    func TestSort(t *testing.T) {
    	// Test that our comparison function is consistent with
    	// sort.Float64s.
    	input := []float64{1.0, 0.0, negzero, math.Inf(1), math.Inf(-1), math.NaN()}
    	sort.Float64s(input)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    				case '?':
    					test |= TEST_VERIFY;
    					test &= ~(TEST_AND|TEST_OR);
    					state.verify = state.passed;
    					continue;
    				case '&':
    					test |= TEST_VERIFY|TEST_AND;
    					test &= ~TEST_OR;
    					continue;
    				case '|':
    					test |= TEST_VERIFY|TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    				case ';':
    					test |= TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    
    				case '{':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/carchive_test.go

    var cc []string
    
    // ".exe" on Windows.
    var exeSuffix string
    
    var GOOS, GOARCH, GOPATH string
    var libgodir string
    
    var testWork bool // If true, preserve temporary directories.
    
    func TestMain(m *testing.M) {
    	flag.BoolVar(&testWork, "testwork", false, "if true, log and preserve the test's temporary working directory")
    	flag.Parse()
    
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new int[] {}, new int[] {});
        testSort(new int[] {2}, new int[] {2});
        testSort(new int[] {2, 1, 0}, new int[] {0, 1, 2});
        testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          }
        }
      }
    
      public void testSort() {
        testSort(new byte[] {}, new byte[] {});
        testSort(new byte[] {2}, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top