Skip to content
Snippets Groups Projects
Commit f6bbb534 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

[GR-3088] Revert tests4 after [GR-3100].

parents 197f31d3 b056e1d3
Branches
No related tags found
No related merge requests found
......@@ -21,6 +21,5 @@ setMethod("sides", signature("Square"), function(object) 4)
# setMethod("sides", signature("Circle"), function(object) Inf)
res<-print(showMethods("sides"))
# BUG ALERT:In FastR without the "print" the result from removeGeneric (TRUE) is not printed.
print(removeGeneric("sides"))
removeGeneric("sides")
print(res)
......@@ -21,6 +21,5 @@ setMethod("sides", signature("Square"), function(object) 4)
setMethod("sides", signature("Circle"), function(object) Inf)
res<-print(showMethods(class = "Polygon"))
# BUG print should not be necessary
print(removeGeneric("sides"))
removeGeneric("sides")
print(res)
......@@ -12,6 +12,5 @@ setMethod("foo", signature("A1", "A2"), function(a, b) "1-2")
setMethod("foo", signature("A2", "A1"), function(a, b) "2-1")
res<-print(foo(new("A2"), new("A2")))
# BUG print shoukld not be necessary
print(removeGeneric("foo"))
removeGeneric("foo")
print(res)
......@@ -28,5 +28,4 @@ setMethod("inspect.vehicle",
})
inspect.vehicle(new("Car"), new("Inspector"))
# BUG print should not be necessary
print(removeGeneric("inspect.vehicle"))
removeGeneric("inspect.vehicle")
......@@ -404,7 +404,7 @@ def _test_subpackage(name):
return '.'.join((_test_package(), name))
def _simple_generated_unit_tests():
return ','.join(map(_test_subpackage, ['engine.shell', 'library.base', 'library.grid', 'library.methods', 'library.stats', 'library.utils', 'library.fastr', 'builtins', 'functions', 'parser', 'S4', 'rng', 'runtime.data']))
return ','.join(map(_test_subpackage, ['engine.shell', 'library.base', 'library.grid', 'library.methods', 'library.stats', 'library.utils', 'library.fastr', 'builtins', 'functions', 'parser', 'rng', 'runtime.data']))
def _simple_unit_tests():
return ','.join([_simple_generated_unit_tests(), _test_subpackage('tck')])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment