Skip to content

Commit 963eabf

Browse files
author
Friedrich W. H. Kossebau
committed
Move UnitTester code into test dirs, no longer compile into webodf.js
1 parent 6fa1f56 commit 963eabf

6 files changed

Lines changed: 6 additions & 5 deletions

File tree

webodf/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ include(${CMAKE_BINARY_DIR}/jsfileslist.txt)
1313

1414
configure_file(webodfversion.js.in ${CMAKE_CURRENT_BINARY_DIR}/webodfversion.js)
1515

16-
set(TESTJSFILES tests/core/ZipTests.js
16+
set(TESTJSFILES
17+
tests/core/UnitTester.js
18+
tests/core/ZipTests.js
1719
tests/core/Base64Tests.js
1820
tests/core/CursorTests.js
1921
tests/core/DomUtilsTests.js

webodf/lib/manifest.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
"core.Task": [
5353
"core.ScheduledTask"
5454
],
55-
"core.UnitTester": [
56-
],
5755
"core.Utils": [
5856
],
5957
"core.Zip": [

webodf/tests/manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
"core.StepIterator",
3232
"core.UnitTester"
3333
],
34+
"core.UnitTester": [
35+
],
3436
"core.ZipTests": [
3537
"core.UnitTester",
3638
"core.Zip"

webodf/tests/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424

2525
/*global runtime, Runtime, core, gui, xmldom, RuntimeTests, odf, ops, webodf_css: true*/
2626

27+
runtime.loadClass("core.UnitTester");
2728
runtime.loadClass("core.Base64Tests");
2829
runtime.loadClass("core.CursorTests");
2930
runtime.loadClass("core.DomUtilsTests");
3031
runtime.loadClass("core.EventSubscriptionsTests");
3132
runtime.loadClass("core.PositionIteratorTests");
3233
runtime.loadClass("core.RuntimeTests");
3334
runtime.loadClass("core.StepIteratorTests");
34-
runtime.loadClass("core.UnitTester");
3535
runtime.loadClass("core.ZipTests");
3636
runtime.loadClass("gui.DirectFormattingControllerTests");
3737
runtime.loadClass("gui.GuiStepUtilsTests");

webodf/tools/karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ module.exports = function (config) {
4242
'lib/core/RawInflate.js',
4343
'lib/core/enums.js',
4444
'lib/core/StepIterator.js',
45-
'lib/core/UnitTester.js',
4645
'lib/core/Utils.js',
4746
'lib/core/Zip.js',
4847
'lib/core/typedefs.js',

0 commit comments

Comments
 (0)