Skip to content

Commit

Permalink
Use jetbrains/qodana-cdnet:2024.3-eap (#192)
Browse files Browse the repository at this point in the history
* Use jetbrains/qodana-cdnet:2024.3-eap
* Use '0' instead of 'default'
  • Loading branch information
piotrzajac authored Dec 15, 2024
1 parent 7523a90 commit 3216cf0
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void GivenTestMethodHasSomeValueParameters_WhenTestRun_ThenParametersAreG
// Arrange
// Act
// Assert
value.Should().NotBe(default);
value.Should().NotBe(0);
}

[AutoMockData]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void GivenTestMethodHasSomeInlineParameters_WhenTestRun_ThenParametersAre
// Act
// Assert
firstValueInstance.Should().Be(100);
secondValueInstance.Should().NotBe(default);
secondValueInstance.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void GivenTestMethodHasSomeMemberGeneratedParameters_WhenTestRun_ThenPara
first.Should().BeOneOf((int)testData[0][0], (int)testData[1][0], (int)testData[2][0]);
second.Should().BeOneOf((int)testData[0][1], (int)testData[1][1], (int)testData[2][1]);
third.Should().BeOneOf((int)testData[0][2], (int)testData[1][2], (int)testData[2][2]);
fourth.Should().NotBe(default);
fourth.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void GivenTestMethodHasSomeValueParameters_WhenTestRun_ThenParametersAreG
// Arrange
// Act
// Assert
value.Should().NotBe(default);
value.Should().NotBe(0);
}

[AutoMockData]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void GivenTestMethodHasSomeInlineParameters_WhenTestRun_ThenParametersAre
// Act
// Assert
firstValueInstance.Should().Be(100);
secondValueInstance.Should().NotBe(default);
secondValueInstance.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void GivenTestMethodHasSomeMemberGeneratedParameters_WhenTestRun_ThenPara
first.Should().BeOneOf((int)testData[0][0], (int)testData[1][0], (int)testData[2][0]);
second.Should().BeOneOf((int)testData[0][1], (int)testData[1][1], (int)testData[2][1]);
third.Should().BeOneOf((int)testData[0][2], (int)testData[1][2], (int)testData[2][2]);
fourth.Should().NotBe(default);
fourth.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void GivenTestMethodHasSomeValueParameters_WhenTestRun_ThenParametersAreG
// Arrange
// Act
// Assert
value.Should().NotBe(default);
value.Should().NotBe(0);
}

[AutoMockData]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void GivenTestMethodHasSomeInlineParameters_WhenTestRun_ThenParametersAre
// Act
// Assert
firstValueInstance.Should().Be(100);
secondValueInstance.Should().NotBe(default);
secondValueInstance.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public void GivenTestMethodHasSomeMemberGeneratedParameters_WhenTestRun_ThenPara
first.Should().BeOneOf((int)testData[0][0], (int)testData[1][0], (int)testData[2][0]);
second.Should().BeOneOf((int)testData[0][1], (int)testData[1][1], (int)testData[2][1]);
third.Should().BeOneOf((int)testData[0][2], (int)testData[1][2], (int)testData[2][2]);
fourth.Should().NotBe(default);
fourth.Should().NotBe(0);

objectInstance.Should().NotBeNull();
objectInstance.StringProperty.Should().NotBeNullOrEmpty();
Expand Down
2 changes: 1 addition & 1 deletion src/qodana.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "1.0"
profile:
name: qodana.recommended
linter: jetbrains/qodana-cdnet:2024.2-eap
linter: jetbrains/qodana-cdnet:2024.3-eap
dotnet:
solution: Objectivity.AutoFixture.XUnit2.AutoMock.sln
configuration: Release

0 comments on commit 3216cf0

Please sign in to comment.