Skip to content

Commit 7f98d1c

Browse files
committed
naming adjustments
1 parent 9ddac9e commit 7f98d1c

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
- by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
2020
- specified to something like:
2121
```
22-
Configuration._HookWaitAction = (entity_object, describe_computation, wait) => {
23-
Console.WriteLine($"STARTED WAITING FOR: {entity_object}.{describe_computation()}");
22+
Configuration._HookWaitAction = (entityObject, describeComputation, wait) => {
23+
Console.WriteLine($"STARTED WAITING FOR: {entityObject}.{describeComputation()}");
2424
try
2525
{
2626
wait();
27-
Console.WriteLine($"FINISHED WAITING FOR: {entity_object}.{describe_computation()}");
27+
Console.WriteLine($"FINISHED WAITING FOR: {entityObject}.{describeComputation()}");
2828
}
2929
catch (Exception error)
3030
{
31-
Console.WriteLine($"FAILED WAITING FOR: {entity_object}.{describe_computation()}");
31+
Console.WriteLine($"FAILED WAITING FOR: {entityObject}.{describeComputation()}");
3232
throw error;
3333
}
3434
};

NSelene/NSelene.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
- by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
3434
- specified to something like:
3535
```
36-
Configuration._HookWaitAction = (entity_object, describe_computation, wait) => {
37-
Console.WriteLine($"STARTED WAITING FOR: {entity_object}.{describe_computation()}");
36+
Configuration._HookWaitAction = (entityObject, describeComputation, wait) => {
37+
Console.WriteLine($"STARTED WAITING FOR: {entityObject}.{describeComputation()}");
3838
try
3939
{
4040
wait();
41-
Console.WriteLine($"FINISHED WAITING FOR: {entity_object}.{describe_computation()}");
41+
Console.WriteLine($"FINISHED WAITING FOR: {entityObject}.{describeComputation()}");
4242
}
4343
catch (Exception error)
4444
{
45-
Console.WriteLine($"FAILED WAITING FOR: {entity_object}.{describe_computation()}");
45+
Console.WriteLine($"FAILED WAITING FOR: {entityObject}.{describeComputation()}");
4646
throw error;
4747
}
4848
};

NSelene/Wait.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public Wait(
133133
this.timeout = timeout;
134134
this.polling = polling;
135135
this.describeComputation = _describeComputation ?? (name => name);
136-
this._HookAction = _hookAction ?? ((entity_object, describeComputation, wait) => wait());
136+
this._HookAction = _hookAction ?? ((entityObject, describeComputation, wait) => wait());
137137
}
138138

139139
public Wait<T> With(

NSeleneTests/Integration/SharedDriver/Harness/BaseTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ public void initDriver()
3636
Configuration.ClickByJs = false;
3737
Configuration.WaitForNoOverlapFoundByJs = false;
3838

39-
// Configuration._HookWaitAction = (entity_object, describe_computation, wait) =>
39+
// Configuration._HookWaitAction = (entityObject, describeComputation, wait) =>
4040
// {
41-
// TestContext.Progress.WriteLine($"STARTED WAITING FOR: {entity_object}.{describe_computation()}");
41+
// TestContext.Progress.WriteLine($"STARTED WAITING FOR: {entityObject}.{describeComputation()}");
4242
// try
4343
// {
4444
// wait();
45-
// TestContext.Progress.WriteLine($"FINISHED WAITING FOR: {entity_object}.{describe_computation()}");
45+
// TestContext.Progress.WriteLine($"FINISHED WAITING FOR: {entityObject}.{describeComputation()}");
4646
// }
4747
// catch (Exception error)
4848
// {
49-
// TestContext.Progress.WriteLine($"FAILED WAITING FOR: {entity_object}.{describe_computation()}");
49+
// TestContext.Progress.WriteLine($"FAILED WAITING FOR: {entityObject}.{describeComputation()}");
5050
// throw error;
5151
// }
5252
// };

0 commit comments

Comments
 (0)