- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestGetSource (0.05 sec)
-
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) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertNotNull(map.get(FieldNames.LANGUAGES)); assertNotNull(map.get(FieldNames.KINDS)); assertNotNull(map.get(FieldNames.TIMESTAMP)); } @Test public void testGetSource() { // Test getSource method String[] text = { "source", "test" }; String[][] readings = { { "source" }, { "test" } }; String[] fields = { "field1" };
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0)