Skip to content

Commit 6b80304

Browse files
Merge pull request #449 from TNG/remove-redundant-object-syntax-elements-tests
Remove redundant "Predicates as conditions" test sections
2 parents 632605c + 81fa071 commit 6b80304

21 files changed

+0
-3874
lines changed

ArchUnitNETTests/Fluent/Syntax/Elements/ObjectSyntaxElementsTests.cs

Lines changed: 0 additions & 625 deletions
Large diffs are not rendered by default.

ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.AreTest.verified.txt

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,3 @@ Message:
77

88

99

10-
Query: Types that are "TypeDependencyNamespace.ChildClass" should be types that are "TypeDependencyNamespace.ChildClass"
11-
Result: True
12-
Description: TypeDependencyNamespace.ChildClass passed
13-
Message:
14-
All Evaluations passed
15-
16-
Query: Types that are "TypeDependencyNamespace.ChildClass" should be types that are "TypeDependencyNamespace.ChildClass"
17-
Result: True
18-
Description: TypeDependencyNamespace.ChildClass passed
19-
Message:
20-
All Evaluations passed
21-
22-
Query: Types that are "TypeDependencyNamespace.ChildClass" should be types that are Classes that are "TypeDependencyNamespace.ChildClass"
23-
Result: True
24-
Description: TypeDependencyNamespace.ChildClass passed
25-
Message:
26-
All Evaluations passed
27-
28-
Query: Types that are "TypeDependencyNamespace.ChildClass" should be types that are "TypeDependencyNamespace.ChildClass"
29-
Result: True
30-
Description: TypeDependencyNamespace.ChildClass passed
31-
Message:
32-
All Evaluations passed
33-
34-
Query: Types that are "TypeDependencyNamespace.ChildClass" should be types that are "TypeDependencyNamespace.ChildClass"
35-
Result: True
36-
Description: TypeDependencyNamespace.ChildClass passed
37-
Message:
38-
All Evaluations passed
39-

ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.CallAnyTest.verified.txt

Lines changed: 0 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,6 @@ Description: System.Void MethodDependencyNamespace.MethodDependencyClass::Method
4040
Message:
4141
All Evaluations passed
4242

43-
----- Predicates as conditions -----
44-
45-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
46-
Result: True
47-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() passed
48-
Message:
49-
All Evaluations passed
50-
51-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
52-
Result: True
53-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() passed
54-
Message:
55-
All Evaluations passed
56-
57-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that call any Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
58-
Result: True
59-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() passed
60-
Message:
61-
All Evaluations passed
62-
6343
===== Violations =====
6444

6545
----- Conditions -----
@@ -120,35 +100,6 @@ Message:
120100

121101

122102

123-
----- Predicates as conditions -----
124-
125-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
126-
Result: False
127-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
128-
Message:
129-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"" failed:
130-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
131-
132-
133-
134-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
135-
Result: False
136-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
137-
Message:
138-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"" failed:
139-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
140-
141-
142-
143-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call any Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"
144-
Result: False
145-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
146-
Message:
147-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" should be method members that call any Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod()"" failed:
148-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies() is not "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()"
149-
150-
151-
152103
===== Empty arguments =====
153104

154105
----- Conditions -----
@@ -209,35 +160,6 @@ Message:
209160

210161

211162

212-
----- Predicates as conditions -----
213-
214-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that do not call any method
215-
Result: False
216-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
217-
Message:
218-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that do not call any method" failed:
219-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
220-
221-
222-
223-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that do not call any method
224-
Result: False
225-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
226-
Message:
227-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that do not call any method" failed:
228-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
229-
230-
231-
232-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that call any Method members that have full name "NotTheNameOfAnyObject"
233-
Result: False
234-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
235-
Message:
236-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency()" should be method members that call any Method members that have full name "NotTheNameOfAnyObject"" failed:
237-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithSingleDependency() does exist
238-
239-
240-
241163
===== Multiple arguments =====
242164

243165
----- Conditions -----
@@ -298,35 +220,6 @@ Message:
298220

299221

300222

301-
----- Predicates as conditions -----
302-
303-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" or "System.Void MethodDe...
304-
Result: False
305-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
306-
Message:
307-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" or "System.Void MethodDe..." failed:
308-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
309-
310-
311-
312-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" or "System.Void MethodDe...
313-
Result: False
314-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
315-
Message:
316-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" or "System.Void MethodDe..." failed:
317-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
318-
319-
320-
321-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" ...
322-
Result: False
323-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
324-
Message:
325-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()" ..." failed:
326-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
327-
328-
329-
330223
===== Input with multiple dependencies =====
331224

332225
----- Conditions -----
@@ -363,20 +256,3 @@ Message:
363256

364257

365258

366-
----- Predicates as conditions -----
367-
368-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call any "System.Void MethodDependencyNamespace.MethodDependencyClass::CalledMethod1()" or "System.Void MethodDependencyName...
369-
Result: True
370-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() passed
371-
Message:
372-
All Evaluations passed
373-
374-
Query: Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()"
375-
Result: False
376-
Description: System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
377-
Message:
378-
"Method members that are "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies()" should be method members that call "System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithoutDependencies()"" failed:
379-
System.Void MethodDependencyNamespace.MethodDependencyClass::MethodWithMultipleDependencies() does exist
380-
381-
382-

0 commit comments

Comments
 (0)