@@ -317,26 +317,26 @@ func TestJuiceFSEngine_genDataUrl_PVC(t *testing.T) {
317317 }
318318}
319319
320- //TestJuiceFSEngine_genDataUrl Test JuiceFSEngine's genDataUrl function
321- //This function is used to generate URLs for data migration and supports the following two data sources:
320+ // TestJuiceFSEngine_genDataUrl Test JuiceFSEngine's genDataUrl function
321+ // This function is used to generate URLs for data migration and supports the following two data sources:
322322// 1. ExternalStorage: Generate URLs with authentication information via URIs and encryption options.
323323// 2. DataSet: Generate a URL in JuiceFS format from the dataset information and mount points.
324324//
325- //Parameter:
325+ // Parameter:
326326// - t *testing. T: The context object of the test framework to report test results and errors.
327327//
328- //Test Cases:
329- //- test-external: Tests externally stored URL generation to verify that the encryption option is correctly replaced.
330- //- test-external-subpath: Tests the URL generation of the external storage subpath.
331- //- test-external-subpath-file: tests the URL generation of the external storage subpath file.
332- //- test-dataset: Test the URL generation of the dataset store to verify that the subpath is handled correctly.
333- //- test-dataset-no-path: The URL generated by the test dataset store (no subpath).
334- //- test-dataset-subpath-file: The URL of the test dataset storage subpath file is generated.
335- //- test-dataset-subpath-file2: The URL of the test dataset storage subpath file (with mount point) is generated.
336- //- test-dataset-subpath-file3: The URL of the test dataset storage subpath file (with mount points, no subpaths).
328+ // Test Cases:
329+ // - test-external: Tests externally stored URL generation to verify that the encryption option is correctly replaced.
330+ // - test-external-subpath: Tests the URL generation of the external storage subpath.
331+ // - test-external-subpath-file: tests the URL generation of the external storage subpath file.
332+ // - test-dataset: Test the URL generation of the dataset store to verify that the subpath is handled correctly.
333+ // - test-dataset-no-path: The URL generated by the test dataset store (no subpath).
334+ // - test-dataset-subpath-file: The URL of the test dataset storage subpath file is generated.
335+ // - test-dataset-subpath-file2: The URL of the test dataset storage subpath file (with mount point) is generated.
336+ // - test-dataset-subpath-file3: The URL of the test dataset storage subpath file (with mount points, no subpaths).
337337//
338- //Return value:
339- //- No return value, test failure is reported via t.Errorf.
338+ // Return value:
339+ // - No return value, test failure is reported via t.Errorf.
340340func TestJuiceFSEngine_genDataUrl (t * testing.T ) {
341341 juicefsSecret := & corev1.Secret {
342342 ObjectMeta : metav1.ObjectMeta {
0 commit comments