Skip to content

Commit

Permalink
Introduction of EmptyTestClass attribute (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed May 12, 2023
1 parent 89d3198 commit baace32
Show file tree
Hide file tree
Showing 10 changed files with 1,514 additions and 1,538 deletions.
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

0 comments on commit baace32

Please sign in to comment.