Skip to content

Commit 7b5ef05

Browse files
author
Hristo Hristov
authored
Tests moved into separate folders (NativeScript#3794)
Fix android crash on application exit
1 parent 58ab018 commit 7b5ef05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+260
-122
lines changed
10.7 KB
Loading

tests/app/application-settings-tests.ts renamed to tests/app/application-settings/application-settings-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
var appSettings = require("application-settings");
33
// << application-settings-require
44

5-
import * as TKUnit from "./TKUnit";
5+
import * as TKUnit from "../TKUnit";
66

77
var stringKey:string = "stringKey";
88
var boolKey: string = "boolKey";

tests/app/application-settings.md renamed to tests/app/application-settings/application-settings.md

File renamed without changes.

tests/app/application-tests-common.ts renamed to tests/app/application/application-tests-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (app.android) {
1111
}
1212
// << application-app-check
1313

14-
import * as TKUnit from "./TKUnit";
14+
import * as TKUnit from "../TKUnit";
1515

1616
export var testInitialized = function () {
1717
if (platform.device.os === platform.platformNames.android) {

tests/app/application-tests.android.ts renamed to tests/app/application/application-tests.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* tslint:disable:no-unused-variable */
22
import * as app from "tns-core-modules/application";
3-
import * as TKUnit from "./TKUnit";
3+
import * as TKUnit from "../TKUnit";
44
import * as commonTests from "./application-tests-common";
55

66
global.moduleMerge(commonTests, exports);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* tslint:disable */
2+
import * as android from "./application-tests.android";
3+
import * as iOS from "./application-tests.ios";

tests/app/application-tests.ios.ts renamed to tests/app/application/application-tests.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* tslint:disable:no-unused-variable */
22
import * as app from "tns-core-modules/application";
3-
import * as TKUnit from "./TKUnit";
3+
import * as TKUnit from "../TKUnit";
44
import * as commonTests from "./application-tests-common";
55

66
import * as utils from "tns-core-modules/utils/utils";
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import * as colorModule from "tns-core-modules/color";
33
var Color = colorModule.Color;
44
// << color-require
5-
import * as TKUnit from "./TKUnit";
5+
import * as TKUnit from "../TKUnit";
66

77
export var test_Hex_Color = function () {
88
// >> color-hex
File renamed without changes.

0 commit comments

Comments
 (0)