- Sort Score
- Result 10 results
- Languages All
Results 1611 - 1620 of 2,976 for throwIt (0.14 sec)
- 
				
				android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.javathrow new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "B", "c"); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContains() { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0)
- 
				
				guava-testlib/test/com/google/common/collect/testing/HelpersTest.javathrow new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "B", "c"); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContains() { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.javaprivate Artifact projectArtifact; @BeforeEach @Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected String component() { return "resolver"; } @Test void testMNG4738() throws Exception { Artifact g = createLocalArtifact("g", "1.0");Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 3.1K bytes - Viewed (0)
- 
				
				samples/guide/src/main/java/okhttp3/guide/GetExample.javafinal OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } public static void main(String[] args) throws IOException { GetExample example = new GetExample(); Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SessionSetupHandlerTest.java@DisplayName("Invalid: resolving class by null name throws NPE") void testClassForNameWithNull() { // Intent: demonstrate defensive behavior with null when resolving this type by name assertThrows(NullPointerException.class, () -> Class.forName(null)); } @Test @DisplayName("Happy path: class is loadable via fully qualified name") void testClassForName() throws Exception { // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.javasuggester = Suggester.builder().build(runner.client(), "SuggesterTest"); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Test public void test_normalize() throws Exception { Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 2.4K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create echo request with correct command") void testConstructor() throws Exception { Smb2EchoRequest request = new Smb2EchoRequest(mockConfig); assertNotNull(request); // Verify command is set to SMB2_ECHO (0x000D)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/fscc/FileInformationTest.java} /** * Test FileInformation as Decodable */ @Test @DisplayName("Test FileInformation decode method") void testFileInformationDecode() throws SMBProtocolDecodingException { // Create mock FileInformation mockFileInfo = mock(FileInformation.class); byte[] buffer = new byte[100]; // Define behaviorRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java@Mock private ToolchainFactory toolchainFactoryBasicType; @Mock private ToolchainFactory toolchainFactoryRareType; @Mock private Lookup lookup; @BeforeEach void onSetup() throws Exception { MockitoAnnotations.initMocks(this); Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/script/ScriptEngineFactory.javapublic ScriptEngine getScriptEngine(final String name) { if (name == null) { throw new ScriptEngineException("script name is null."); } final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT)); if (scriptEngine != null) { return scriptEngine; } throw new ScriptEngineException(name + " is not found."); } Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0)