- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for testResource (0.06 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test force cleanup") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
@BeforeEach void setUp() { notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); } @Test void testNotificationCreation() { assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName()); assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
guava-gwt/pom.xml
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource"); // Register a witness first String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1); // Send notification affecting the registration mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); // Clean up mockService.unregisterWitness(regId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
android/pom.xml
</includes> <targetPath>META-INF</targetPath> </resource> </resources> <testResources> <testResource> <directory>test</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </testResource> </testResources> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 24.3K bytes - Viewed (0) -
pom.xml
</includes> <targetPath>META-INF</targetPath> </resource> </resources> <testResources> <testResource> <directory>test</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </testResource> </testResources> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 23.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
WitnessNotification notification = new WitnessNotification( WitnessEventType.CLIENT_MOVE, "TestResource"); notification.addNewIPAddress(InetAddress.getByName("192.168.1.101")); assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName()); assertEquals(1, notification.getNewIPAddresses().size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
val fileSystem: FileSystem = FileSystem.SYSTEM, val client: OkHttpClient = OkHttpClient(), ) { private val testResources = projectRoot / "okhttp/src/jvmTest/resources" private val publicSuffixListDotDat = testResources / "okhttp3/internal/publicsuffix/public_suffix_list.dat" private val outputFile = testResources / PUBLIC_SUFFIX_RESOURCE val request = Request("https://publicsuffix.org/list/public_suffix_list.dat".toHttpUrl())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
assertEquals("", p2.getMessage()); assertEquals(42, p2.getLineNumber()); assertEquals(127, p2.getColumnNumber()); assertEquals(e2, p2.getException()); } @Test void testSetSource() { DefaultProblemCollector collector = new DefaultProblemCollector(null); collector.add(null, "PROBLEM1", -1, -1, null); collector.setSource("SOURCE_PROBLEM2");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/namespace-lock_test.go
// position will cause the line number to change and the test to FAIL // Tests getSource(). func TestGetSource(t *testing.T) { currentSource := func() string { return getSource(2) } gotSource := currentSource() // Hard coded line number, 34, in the "expectedSource" value expectedSource := "[namespace-lock_test.go:34:TestGetSource()]" if gotSource != expectedSource { t.Errorf("expected : %s, got : %s", expectedSource, gotSource) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0)