Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of EmptyTestClass attribute #311

Merged
merged 2 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions specs/Qowaiv.Specs/Extensions/Type_specs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void Supports_generic_arguments()
public void With_namespaces_if_specified(Type type, string csharpString)
=> type.ToCSharpString(withNamespace: true).Should().Be(csharpString);

[EmptyTestClass]
internal class NestedType { }

internal static class GenericOf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ internal class SimpleClass
private string DebuggerDisplay => $"{GetType().Name} display";
}

[EmptyTestClass]
internal sealed class ChildClass : SimpleClass { }
5 changes: 5 additions & 0 deletions specs/Qowaiv.Specs/TestTools/Svo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ public override bool TryParse(string str, out object id)
private static bool IsValid(long number) => (number & 1) == 1;
}

[EmptyTestClass]
public class ForString : StringIdBehavior { }

[EmptyTestClass]
public class ForGuid : GuidBehavior { }

[EmptyTestClass]
public class ForUuid : UuidBehavior { }
Loading
Loading