@@ -500,55 +500,6 @@ module Make<InlineExpectationsTestSig Impl> {
500
500
}
501
501
}
502
502
503
- deprecated private module LegacyImpl implements TestSig {
504
- string getARelevantTag ( ) { result = any ( InlineExpectationsTest t ) .getARelevantTag ( ) }
505
-
506
- predicate hasActualResult ( Impl:: Location location , string element , string tag , string value ) {
507
- any ( InlineExpectationsTest t ) .hasActualResult ( location , element , tag , value )
508
- }
509
-
510
- predicate hasOptionalResult ( Impl:: Location location , string element , string tag , string value ) {
511
- any ( InlineExpectationsTest t ) .hasOptionalResult ( location , element , tag , value )
512
- }
513
- }
514
-
515
- /**
516
- * DEPRECATED: Use the InlineExpectationsTest module.
517
- *
518
- * The base class for tests with inline expectations. The test extends this class to provide the actual
519
- * results of the query, which are then compared with the expected results in comments to produce a
520
- * list of failure messages that point out where the actual results differ from the expected
521
- * results.
522
- */
523
- abstract deprecated class InlineExpectationsTest extends string {
524
- bindingset [ this ]
525
- InlineExpectationsTest ( ) { any ( ) }
526
-
527
- abstract string getARelevantTag ( ) ;
528
-
529
- abstract predicate hasActualResult (
530
- Impl:: Location location , string element , string tag , string value
531
- ) ;
532
-
533
- predicate hasOptionalResult ( Impl:: Location location , string element , string tag , string value ) {
534
- none ( )
535
- }
536
- }
537
-
538
- deprecated import MakeTest< LegacyImpl > as LegacyTest
539
-
540
- deprecated query predicate failures = LegacyTest:: testFailures / 2 ;
541
-
542
- deprecated class ActualResult = LegacyTest:: ActualTestResult ;
543
-
544
- deprecated class GoodExpectation = LegacyTest:: GoodTestExpectation ;
545
-
546
- deprecated class FalsePositiveExpectation = LegacyTest:: FalsePositiveTestExpectation ;
547
-
548
- deprecated class FalseNegativeExpectation = LegacyTest:: FalseNegativeTestExpectation ;
549
-
550
- deprecated class InvalidExpectation = LegacyTest:: InvalidTestExpectation ;
551
-
552
503
/**
553
504
* Holds if the expectation `tag=value` is found in one or more expectation comments.
554
505
*
0 commit comments