Skip to content

Commit

Permalink
Injected 3 random numbers (connectionEventsRandomNumberFrom1To10, mes…
Browse files Browse the repository at this point in the history
…sageRandomNumberFrom50To110, messageRandomNumberFrom40To126) through the constructor parameters of class TestingTelemetryClient.
  • Loading branch information
wubin28 committed Apr 19, 2014
1 parent e51c4a6 commit 8510a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -50,6 +50,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="TelemetrySystem.Tests\TestingTelemetryClient.cs" />
<Compile Include="TelemetrySystem\TelemetryClient.cs" />
<Compile Include="TelemetrySystem.Tests\TelemetryDiagnosticControlsTest.cs" />
<Compile Include="TelemetrySystem\TelemetryDiagnosticControls.cs" />
Expand Down
Expand Up @@ -32,7 +32,7 @@ public void GIVEN_on_happy_path_WHEN_check_transmission_THEN_get_characterizatio
{
// Given
TelemetryDiagnosticControls telemetryDiagnosticControls =
new TelemetryDiagnosticControls(new TestingTelemetryClient());
new TelemetryDiagnosticControls(new TestingTelemetryClient(1, 51, 41));

// When
telemetryDiagnosticControls.CheckTransmission();
Expand Down

0 comments on commit 8510a05

Please sign in to comment.