- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGetSource (0.14 seconds)
-
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) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (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" };
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0)