You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicvoidCatAliases(){TestCat(()=>this._client.CatAliases(s =>s.V()), r =>!r.Alias.IsNullOrEmpty());}
45
+
publicvoidCatAliases()
46
+
{
47
+
TestCat(()=>this._client.CatAliases(s =>s.V()), r =>!r.Alias.IsNullOrEmpty());
48
+
}
46
49
47
50
[Test]
48
-
publicasyncvoidCatAliasesAsync(){awaitTestCatAsync(()=>this._client.CatAliasesAsync(), r =>!r.Alias.IsNullOrEmpty());}
51
+
publicasyncvoidCatAliasesAsync()
52
+
{
53
+
awaitTestCatAsync(()=>this._client.CatAliasesAsync(), r =>!r.Alias.IsNullOrEmpty());
54
+
}
49
55
50
56
[Test]
51
-
publicvoidCatAllocation(){TestCat(()=>this._client.CatAllocation(), r =>!r.Ip.IsNullOrEmpty());}
57
+
publicvoidCatAllocation()
58
+
{
59
+
TestCat(()=>this._client.CatAllocation(), r =>!r.Node.IsNullOrEmpty());
60
+
}
52
61
53
62
[Test]
54
-
publicasyncvoidCatAllocationAsync(){awaitTestCatAsync(()=>this._client.CatAllocationAsync(), r =>!r.Ip.IsNullOrEmpty());}
63
+
publicasyncvoidCatAllocationAsync()
64
+
{
65
+
awaitTestCatAsync(()=>this._client.CatAllocationAsync(), r =>!r.Node.IsNullOrEmpty());
66
+
}
67
+
55
68
[Test]
56
-
publicvoidCatCount(){TestCat(()=>this._client.CatCount(), r =>!r.Epoch.IsNullOrEmpty());}
69
+
publicvoidCatCount()
70
+
{
71
+
TestCat(()=>this._client.CatCount(), r =>!r.Epoch.IsNullOrEmpty());
72
+
}
57
73
58
74
[Test]
59
-
publicasyncvoidCatCountAsync(){awaitTestCatAsync(()=>this._client.CatCountAsync(), r =>!r.Timestamp.IsNullOrEmpty());}
75
+
publicasyncvoidCatCountAsync()
76
+
{
77
+
awaitTestCatAsync(()=>this._client.CatCountAsync(), r =>!r.Timestamp.IsNullOrEmpty());
78
+
}
79
+
60
80
[Test]
61
-
publicvoidCatFielddata(){TestCat(()=>this._client.CatFielddata(v =>v.Fields<ElasticsearchProject>(p =>p.Name)), r =>r.FieldSizes.ContainsKey("name"));}
81
+
publicvoidCatFielddata()
82
+
{
83
+
TestCat(()=>this._client.CatFielddata(
84
+
v =>v.Fields<ElasticsearchProject>(p =>p.Name)),
85
+
r =>
86
+
r.FieldSizes.ContainsKey("name"));
87
+
}
62
88
63
89
[Test]
64
-
publicasyncvoidCatFielddataAsync(){awaitTestCatAsync(()=>this._client.CatFielddataAsync(v =>v.Fields<ElasticsearchProject>(p =>p.Name)), r =>r.FieldSizes.ContainsKey("name"));}
90
+
publicasyncvoidCatFielddataAsync()
91
+
{
92
+
awaitTestCatAsync(()=>this._client.CatFielddataAsync(v =>v.Fields<ElasticsearchProject>(p =>p.Name)), r =>r.FieldSizes.ContainsKey("name"));
93
+
}
94
+
65
95
[Test]
66
-
publicvoidCatHealth(){TestCat(()=>this._client.CatHealth(), r =>!r.Cluster.IsNullOrEmpty());}
96
+
publicvoidCatHealth()
97
+
{
98
+
TestCat(()=>this._client.CatHealth(), r =>!r.Cluster.IsNullOrEmpty());
99
+
}
67
100
68
101
[Test]
69
-
publicasyncvoidCatHealthAsync(){awaitTestCatAsync(()=>this._client.CatHealthAsync(), r =>!r.NodeTotal.IsNullOrEmpty());}
102
+
publicasyncvoidCatHealthAsync()
103
+
{
104
+
awaitTestCatAsync(()=>this._client.CatHealthAsync(), r =>!r.NodeTotal.IsNullOrEmpty());
105
+
}
106
+
70
107
[Test]
71
-
publicvoidCatIndices(){TestCat(()=>this._client.CatIndices(), r =>!r.Index.IsNullOrEmpty());}
108
+
publicvoidCatIndices()
109
+
{
110
+
TestCat(()=>this._client.CatIndices(), r =>!r.Index.IsNullOrEmpty());
111
+
}
72
112
73
113
[Test]
74
-
publicasyncvoidCatIndicesAsync(){awaitTestCatAsync(()=>this._client.CatIndicesAsync(), r =>!r.DocsDeleted.IsNullOrEmpty());}
114
+
publicasyncvoidCatIndicesAsync()
115
+
{
116
+
awaitTestCatAsync(()=>this._client.CatIndicesAsync(), r =>!r.DocsDeleted.IsNullOrEmpty());
117
+
}
118
+
75
119
[Test]
76
-
publicvoidCatMaster(){TestCat(()=>this._client.CatMaster(), r =>!r.Ip.IsNullOrEmpty());}
120
+
publicvoidCatMaster()
121
+
{
122
+
TestCat(()=>this._client.CatMaster(), r =>!r.Ip.IsNullOrEmpty());
123
+
}
77
124
78
125
[Test]
79
-
publicasyncvoidCatMasterAsync(){awaitTestCatAsync(()=>this._client.CatMasterAsync(), r =>!r.Node.IsNullOrEmpty());}
126
+
publicasyncvoidCatMasterAsync()
127
+
{
128
+
awaitTestCatAsync(()=>this._client.CatMasterAsync(), r =>!r.Node.IsNullOrEmpty());
129
+
}
80
130
81
131
[Test]
82
-
publicvoidCatNodes(){TestCat(()=>this._client.CatNodes(v =>v.H("b")), r =>!r.Build.IsNullOrEmpty());}
132
+
publicvoidCatNodes()
133
+
{
134
+
TestCat(()=>this._client.CatNodes(v =>v.H("b")), r =>!r.Build.IsNullOrEmpty());
135
+
}
136
+
83
137
[Test]
84
-
publicasyncvoidCatNodesAsync(){awaitTestCatAsync(()=>this._client.CatNodesAsync(v =>v.Help()), r =>!r.Master.IsNullOrEmpty());}
138
+
publicasyncvoidCatNodesAsync()
139
+
{
140
+
awaitTestCatAsync(()=>this._client.CatNodesAsync(), r =>!r.Master.IsNullOrEmpty());
141
+
}
85
142
86
143
[Test]
87
-
publicvoidCatPendingTasks(){TestCat(()=>this._client.CatPendingTasks(), r =>r.InsertOrder.HasValue);}
144
+
publicvoidCatPendingTasks()
145
+
{
146
+
varresponse=this._client.CatPendingTasks();
147
+
response.Should().NotBeNull();
148
+
response.IsValid.Should().BeTrue();
149
+
}
150
+
88
151
[Test]
89
-
publicasyncvoidCatPendingTasksAsync(){awaitTestCatAsync(()=>this._client.CatPendingTasksAsync(), r =>!r.Priority.IsNullOrEmpty());}
publicvoidCatPlugins(){TestCat(()=>this._client.CatPlugins(), r =>!r.Version.IsNullOrEmpty());}
160
+
publicvoidCatPlugins()
161
+
{
162
+
TestCat(()=>this._client.CatPlugins(), r =>!r.Version.IsNullOrEmpty());
163
+
}
164
+
93
165
[Test]
94
-
publicasyncvoidCatPluginsAsync(){awaitTestCatAsync(()=>this._client.CatPluginsAsync(), r =>!r.Type.IsNullOrEmpty());}
166
+
publicasyncvoidCatPluginsAsync()
167
+
{
168
+
awaitTestCatAsync(()=>this._client.CatPluginsAsync(), r =>!r.Type.IsNullOrEmpty());
169
+
}
95
170
96
171
[Test]
97
-
publicvoidCatRecovery(){TestCat(()=>this._client.CatRecovery(), r =>!r.Shard.IsNullOrEmpty());}
172
+
publicvoidCatRecovery()
173
+
{
174
+
TestCat(()=>this._client.CatRecovery(), r =>!r.Shard.IsNullOrEmpty());
175
+
}
176
+
98
177
[Test]
99
-
publicasyncvoidCatRecoveryAsync(){awaitTestCatAsync(()=>this._client.CatRecoveryAsync(), r =>!r.Files.IsNullOrEmpty());}
178
+
publicasyncvoidCatRecoveryAsync()
179
+
{
180
+
awaitTestCatAsync(()=>this._client.CatRecoveryAsync(), r =>!r.Files.IsNullOrEmpty());
181
+
}
100
182
101
183
[Test]
102
-
publicvoidCatThreadPool(){TestCat(()=>this._client.CatThreadPool(), r =>!r.Ip.IsNullOrEmpty());}
184
+
publicvoidCatThreadPool()
185
+
{
186
+
TestCat(()=>this._client.CatThreadPool(), r =>!r.Ip.IsNullOrEmpty());
187
+
}
103
188
[Test]
104
-
publicasyncvoidCatThreadPoolAsync(){awaitTestCatAsync(()=>this._client.CatThreadPoolAsync(v =>v.H("bc")), r =>r.Bulk!=null&&!r.Bulk.Completed.IsNullOrEmpty());}
189
+
publicasyncvoidCatThreadPoolAsync()
190
+
{
191
+
awaitTestCatAsync(()=>this._client.CatThreadPoolAsync(v =>v.H("bc")), r =>r.Bulk!=null&&!r.Bulk.Completed.IsNullOrEmpty());
192
+
}
105
193
106
194
[Test]
107
-
publicvoidCatShards(){TestCat(()=>this._client.CatShards(), r =>!r.Node.IsNullOrEmpty());}
195
+
publicvoidCatShards()
196
+
{
197
+
TestCat(()=>this._client.CatShards(), r =>!r.Node.IsNullOrEmpty());
198
+
}
199
+
108
200
[Test]
109
-
publicasyncvoidCatShardsAsync(){awaitTestCatAsync(()=>this._client.CatShardsAsync(), r =>!r.Docs.IsNullOrEmpty());}
201
+
publicasyncvoidCatShardsAsync()
202
+
{
203
+
awaitTestCatAsync(()=>this._client.CatShardsAsync(), r =>!r.Docs.IsNullOrEmpty());
0 commit comments