- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 4,785 for new (0.04 sec)
-
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
final SimpleTearDown tearDownOne = new SimpleTearDown(); stack.addTearDown(tearDownOne); final Callback callback = new Callback() { @Override public void run() { assertEquals( "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); } }; final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
final ByteSource source = newByteSource(0, 50); final int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterInputStream(source.openStream()) { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java
public class IngestFactoryTest extends UnitFessTestCase { public void test_add_1() { IngestFactory factory = new IngestFactory(); factory.add(new TestIngester(1)); factory.add(new TestIngester(2)); factory.add(new TestIngester(3)); Ingester[] ingesters = factory.getIngesters(); assertEquals(1, ingesters[0].getPriority());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java
String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}/dir", basedir); assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned); } @Test void testUnalignToBasedirWherePathEqualsBasedir() { File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
*/ class LicenseTest { @Test void testHashCodeNullSafe() { new License().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new License().equals(null)); new License().equals(new License()); } @Test void testEqualsIdentity() { License thing = new License(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); } public void testReadSingleByte() throws IOException { assertEquals(0, counter.getCount()); assertEquals(0, counter.read()); assertEquals(1, counter.getCount()); } public void testReadArray() throws IOException { assertEquals(10, counter.read(new byte[10])); assertEquals(10, counter.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
try (InputStream in = Files.newInputStream(input.toPath())) { InputSource source = new InputSource(input.toString()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new ToolchainsParseException( e.getMessage(), e.getLocation().getLineNumber(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value) then: repository.find('class') == value
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
if isAmount { if num < 0 || num > 7 { return errors.New("index shift amount is out of range") } } if reg <= arm64.REG_R31 && reg >= arm64.REG_R0 { if !isAmount { return errors.New("invalid register extension") } switch ext { case "UXTB": if a.Type == obj.TYPE_MEM { return errors.New("invalid shift for the register offset addressing mode") }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Sep 29 09:04:58 UTC 2022 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java
return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme()); } private AuthScheme getAuthScheme() { final String scheme = getProtocolScheme(); if (Constants.BASIC.equals(scheme)) { return new BasicScheme(); } if (Constants.DIGEST.equals(scheme)) { return new DigestScheme(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 5.8K bytes - Viewed (0)