You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: job_test.go
    path of file: ./repos/tidb/pkg/statistics/handle/autoanalyze/priorityqueue
    
    the code of the file until where you have to start completion: // Copyright 2024 PingCAP, Inc.
//
// Licensed under th
    
func TestStringer(t *testing.T) {
	tests := []struct {
		name string
		job  priorityqueue.AnalysisJob
		want string
	}{
		{
			name: "analyze non-partitioned table",
			job: &priorityqueue.NonPartitionedTableAnalysisJob{
				TableID:       1,
				TableSchema:   "test_schema",
				TableName:     "test_table",
				TableStatsVer: 1,
				Weight:        1.999999,
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "NonPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeTable\n\tIndexes: \n\tSchema: test_schema\n\tTable: test_table\n\tTableID: 1\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
		{
			name: "analyze non-partitioned table index",
			job: &priorityqueue.NonPartitionedTableAnalysisJob{
				TableID:       2,
				TableSchema:   "test_schema",
				TableName:     "test_table",
				Indexes:       []string{"idx"},
				TableStatsVer: 1,
				Weight:        1.999999,
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "NonPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeIndex\n\tIndexes: idx\n\tSchema: test_schema\n\tTable: test_table\n\tTableID: 2\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
		{
			name: "analyze dynamic partition",
			job: &priorityqueue.DynamicPartitionedTableAnalysisJob{
				GlobalTableID:   3,
				TableSchema:     "test_schema",
				GlobalTableName: "test_table",
				Partitions:      []string{"p0", "p1"},
				TableStatsVer:   1,
				Weight:          1.999999,
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "DynamicPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeDynamicPartition\n\tPartitions: p0, p1\n\tPartitionIndexes: map[]\n\tSchema: test_schema\n\tGlobal Table: test_table\n\tGlobal TableID: 3\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
		{
			name: "analyze dynamic partition's indexes",
			job: &priorityqueue.DynamicPartitionedTableAnalysisJob{
				GlobalTableID:   4,
				TableSchema:     "test_schema",
				GlobalTableName: "test_table",
				PartitionIndexes: map[string][]string{
					"idx": {"p0", "p1"},
				},
				TableStatsVer: 1,
				Weight:        1.999999,
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "DynamicPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeDynamicPartitionIndex\n\tPartitions: \n\tPartitionIndexes: map[idx:[p0 p1]]\n\tSchema: test_schema\n\tGlobal Table: test_table\n\tGlobal TableID: 4\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
		{
			name: "analyze static partition",
			job: &priorityqueue.StaticPartitionedTableAnalysisJob{
				GlobalTableID:       5,
				TableSchema:         "test_schema",
				GlobalTableName:     "test_table",
				StaticPartitionName: "p0",
				StaticPartitionID:   6,
				TableStatsVer:       1,
				Weight:              1.999999,
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "StaticPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeStaticPartition\n\tIndexes: \n\tSchema: test_schema\n\tGlobalTable: test_table\n\tGlobalTableID: 5\n\tStaticPartition: p0\n\tStaticPartitionID: 6\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
		{
			name: "analyze static partition's index",
			job: &priorityqueue.StaticPartitionedTableAnalysisJob{
				GlobalTableID:       7,
				TableSchema:         "test_schema",
				GlobalTableName:     "test_table",
				StaticPartitionName: "p0",
				StaticPartitionID:   8,
				TableStatsVer:       1,
				Weight:              1.999999,
				Indexes:             []string{"idx"},
				Indicators: priorityqueue.Indicators{
					ChangePercentage: 0.5,
				},
			},
			want: "StaticPartitionedTableAnalysisJob:\n\tAnalyzeType: analyzeStaticPartitionIndex\n\tIndexes: idx\n\tSchema: test_schema\n\tGlobalTable: test_table\n\tGlobalTableID: 7\n\tStaticPartition: p0\n\tStaticPartitionID: 8\n\tTableStatsVer: 1\n\tChangePercentage: 0.50\n\tTableSize: 0.00\n\tLastAnalysisDuration: 0s\n\tWeight: 2.0000\n",
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			require.Equal(t, tt.want, tt.job.String())
		})
	}
}