- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TestLocking (0.06 seconds)
-
src/main/java/jcifs/smb1/smb1/TestLocking.java
* This class is used to test concurrent file access and locking behavior. */ public class TestLocking implements Runnable { private static final Logger logger = LoggerFactory.getLogger(TestLocking.class); /** * Default constructor for TestLocking */ public TestLocking() { // Default constructor } int numThreads = 1; int numIter = 1; long delay = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} @Test @DisplayName("TestLocking implements Runnable") void testImplementsRunnable() { TestLocking t = new TestLocking(); assertTrue(t instanceof Runnable, "TestLocking should implement Runnable"); } @Test @DisplayName("run method handles null URL gracefully") void testRunWithNullUrl() { TestLocking t = new TestLocking(); t.url = null; // Null URLCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
clause/locking_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestLocking(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}}, "SELECT * FROM `users` FOR UPDATE", nil, }, {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 15 08:32:56 GMT 2023 - 1.2K bytes - Click Count (0)