- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,187 for Different (0.18 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Unit tests for the {@link ConsoleIcon} enum. * Tests icon rendering with different terminal charsets and fallback behavior. */ @DisplayName("ConsoleIcon") class ConsoleIconTest { @Test @DisplayName("should return Unicode icons when terminal supports UTF-8")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/package-info.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 04 14:17:18 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode()); assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode()); // Different enum constants should have different hash codes (usually) assertNotSame(metadataHashCode, logoutHashCode); } @Test public void test_compareTo() { // Test compareTo method for enum constants
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
docs/en/docs/advanced/async-tests.md
/// tip If you encounter a `RuntimeError: Task attached to a different loop` when integrating asynchronous function calls in your tests (e.g. when using [MongoDB's MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)), remember to instantiate objects that need an event loop only within async functions, e.g. an `@app.on_event("startup")` callback.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/en/docs/how-to/index.md
# How To - Recipes { #how-to-recipes } Here you will see different recipes or "how to" guides for **several topics**. Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**. If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them. /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 582 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertTrue(toStringResult.contains(message)); } @Test public void test_multipleInstances() { // Test creating multiple instances with different messages LdapConfigurationException exception1 = new LdapConfigurationException("Error 1"); LdapConfigurationException exception2 = new LdapConfigurationException("Error 2");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
由於測試函式現在是非同步的,你也可以在測試中呼叫(並 `await`)其他 `async` 函式,和在程式碼其他地方一樣。 /// tip 如果在將非同步呼叫整合進測試時遇到 `RuntimeError: Task attached to a different loop`(例如使用 [MongoDB 的 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 時),請記得:需要事件迴圈的物件只應在非同步函式內實例化,例如在 `@app.on_event("startup")` 回呼中。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
internal/mcontext/ctxt.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package mcontext // Share a common context information between different // packages in github.com/minio/minio import ( xhttp "github.com/minio/minio/internal/http" ) // ContextTraceType represents the type of golang Context key type ContextTraceType string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 06 17:27:26 GMT 2022 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
@Override public CredentialsInternal renew() { // Returns null to represent an implementation that could not renew return null; } } // Provide different implementation behaviors to a parameterized test static Stream<Arguments> implementations() { return Stream.of(Arguments.of("returns self", (Supplier<SmbRenewableCredentials>) SelfRenewingCreds::new, true, false),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} assertTrue(latch.await(5, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Verify each result has a unique signature (different input = different signature) for (int i = 0; i < threadCount; i++) { byte[] sig1 = Arrays.copyOfRange(results[i], SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0)