[jsinterp] Fixing test skip messages
This commit is contained in:
parent
db0dc7b4ea
commit
d977e93070
@ -4,8 +4,8 @@ from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Debugger statement is not supported',
|
||||
'interpret': 'Interpreting debugger statement not yet implemented',
|
||||
'parse': 'Test not yet implemented: missing code and ast'
|
||||
'interpret': 'Interpreting debugger statement is not yet implemented',
|
||||
'parse': 'Test is not yet implemented: missing code and ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _UNARY_OPERATORS, _R
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Do loop is not supported',
|
||||
'interpret': 'Interpreting do loop not yet implemented'
|
||||
'interpret': 'Interpreting do loop is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _UNARY_OPERATORS, _R
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'For loop is not supported',
|
||||
'interpret': 'Interpreting for empty loop not yet implemented'
|
||||
'interpret': 'Interpreting for empty loop is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'For in loop is not supported',
|
||||
'interpret': 'Interpreting for in loop not yet implemented'
|
||||
'interpret': 'Interpreting for in loop is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _UNARY_OPERATORS, _R
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'For loop is not supported',
|
||||
'interpret': 'Interpreting for loop not yet implemented'
|
||||
'interpret': 'Interpreting for loop is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'not supported',
|
||||
'interpret': 'Interpreting function expression not yet implemented'
|
||||
'interpret': 'Interpreting function expression is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -4,8 +4,8 @@ from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Label statement is not supported',
|
||||
'interpret': 'Interpreting label not yet implemented',
|
||||
'parse': 'Test not yet implemented: missing code and ast'
|
||||
'interpret': 'Interpreting label is not yet implemented',
|
||||
'parse': 'Test is not yet implemented: missing code and ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -3,7 +3,7 @@ from __future__ import unicode_literals
|
||||
from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _OPERATORS
|
||||
|
||||
skip = {'interpret': 'Interpreting object literals not yet implemented'}
|
||||
skip = {'interpret': 'Interpreting object literals is not yet implemented'}
|
||||
|
||||
tests = [
|
||||
{
|
||||
|
@ -3,7 +3,7 @@ from __future__ import unicode_literals
|
||||
from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _OPERATORS
|
||||
|
||||
skip = {'interpret': 'Interpreting built-in fields not yet implemented'}
|
||||
skip = {'interpret': 'Interpreting built-in fields are not yet implemented'}
|
||||
|
||||
tests = [
|
||||
{
|
||||
|
@ -2,12 +2,12 @@ from __future__ import unicode_literals
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'String literals are not supported',
|
||||
'parse': 'Ast not yet implemented'
|
||||
'interpret': 'Builtins are not yet implemented',
|
||||
'parse': 'Test is not yet implemented: missing ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
{
|
||||
'exclude': ('jsinterp2',),
|
||||
'code': 'function f() {return "hello".split(""); }',
|
||||
'globals': {},
|
||||
'asserts': [{'value': ['h', 'e', 'l', 'l', 'o'], 'call': ('f',)}],
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _UNARY_OPERATORS
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Switch statement is not supported',
|
||||
'interpret': 'Interpreting switch statement not yet implemented'
|
||||
'interpret': 'Interpreting switch statement is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -4,8 +4,8 @@ from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Try statement is not supported',
|
||||
'interpret': 'Interpreting try statement not yet implemented',
|
||||
'parse': 'Test not yet implemented: missing code and ast'
|
||||
'interpret': 'Interpreting try statement is not yet implemented',
|
||||
'parse': 'Test is not yet implemented: missing code and ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Unary operations are not supported',
|
||||
'parse': True
|
||||
'parse': 'Test is not yet implemented: missing ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -1,9 +1,9 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'Test not implemented',
|
||||
'parse': 'Test not implemented',
|
||||
'interpert': 'Test not implemented'
|
||||
'jsinterp': 'Test is not implemented',
|
||||
'interpert': 'Test is not implemented',
|
||||
'parse': 'Test is not implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -5,7 +5,7 @@ from youtube_dl.jsinterp2.tstream import _ASSIGN_OPERATORS, _UNARY_OPERATORS, _R
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'While loop is not supported',
|
||||
'interpret': 'Interpreting while loop not yet implemented'
|
||||
'interpret': 'Interpreting while loop is not yet implemented'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
@ -4,8 +4,8 @@ from youtube_dl.jsinterp2.jsgrammar import Token
|
||||
|
||||
skip = {
|
||||
'jsinterp': 'With statement is not supported',
|
||||
'interpret': 'Interpreting with statement not yet implemented',
|
||||
'parse': 'Test not yet implemented: missing code and ast'
|
||||
'interpret': 'Interpreting with statement is not yet implemented',
|
||||
'parse': 'Test is not yet implemented: missing code and ast'
|
||||
}
|
||||
|
||||
tests = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user