LogicalTests.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Xunit;
  2. namespace Jint.Tests.Test262.Language.Expressions
  3. {
  4. public class LogicalTests : Test262Test
  5. {
  6. [Theory(DisplayName = "language\\expressions\\logical-and")]
  7. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-and", false)]
  8. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-and", true, Skip = "Skipped")]
  9. protected void LogicalAnd(SourceFile sourceFile)
  10. {
  11. RunTestInternal(sourceFile);
  12. }
  13. [Theory(DisplayName = "language\\expressions\\logical-assignment")]
  14. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-assignment", false)]
  15. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-assignment", true, Skip = "Skipped")]
  16. protected void LogicalAssignment(SourceFile sourceFile)
  17. {
  18. RunTestInternal(sourceFile);
  19. }
  20. [Theory(DisplayName = "language\\expressions\\logical-not")]
  21. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-not", false)]
  22. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-not", true, Skip = "Skipped")]
  23. protected void LogicalNot(SourceFile sourceFile)
  24. {
  25. RunTestInternal(sourceFile);
  26. }
  27. [Theory(DisplayName = "language\\expressions\\logical-or")]
  28. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-or", false)]
  29. [MemberData(nameof(SourceFiles), "language\\expressions\\logical-or", true, Skip = "Skipped")]
  30. protected void LogicalOr(SourceFile sourceFile)
  31. {
  32. RunTestInternal(sourceFile);
  33. }
  34. }
  35. }