- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 3,237 for New (0.06 seconds)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy
def notDeprecated = new ClassMetaData("SomeClass") def deprecated = new ClassMetaData("SomeClass") deprecated.addAnnotationTypeName(Deprecated.class.name) expect: !notDeprecated.deprecated deprecated.deprecated } def "is incubating when @Incubating annotation is attached to class"() { def notIncubating = new ClassMetaData("SomeClass")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
assertSuppressed( new Suppression(c2, tryException, c2Exception), new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
new File(rDeps.get(0).getSystemPath()).getAbsolutePath()); } @Test public void testRecursiveExpressionCycleNPE() throws Exception { Map<String, String> props = new HashMap<>(); props.put("aa", "${bb}"); props.put("bb", "${aa}"); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); Model model = new Model(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } } // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look // larger than they are.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else { throw new ResourceDoesNotExistException("No content provided for " + resource.getName()); } } @Override public void fillOutputData(OutputData outputData) throws TransferFailedException { outputData.setOutputStream(new ByteArrayOutputStream()); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@Override public void setUp() { fakePool = new FakeExecutor(); e = new SequentialExecutor(fakePool); } public void testConstructingWithNullExecutor_fails() { assertThrows(NullPointerException.class, () -> new SequentialExecutor(null)); } public void testBasics() { AtomicInteger totalCalls = new AtomicInteger(); Runnable intCounter = new Runnable() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
private static final SecretKey MD5_KEY = new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5"); private static final SecretKey SHA1_KEY = new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1"); private static final SecretKey SHA256_KEY = new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA256"); private static final SecretKey SHA512_KEY = new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA512");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
### Properties in entirely new classes When developing an entirely new class (task, extension, domain object, etc), the API should consist of managed lazy properties. Preferably, these new classes should be 100% managed and have their implementation generated by Gradle at runtime.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0)