File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 4
4
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
5
5
- PACKAGE_NAME=tns-core-modules
6
6
- NODE_VERSION=5.10.1
7
- - EMULATOR_API_VER=21
7
+ - EMULATOR_API_VER=22
8
8
- RUNTIMEVERSION=next
9
9
- AVD_NAME=Arm$EMULATOR_API_VER
10
10
addons :
@@ -34,7 +34,7 @@ before_script:
34
34
- npm install
35
35
- (cd build/platform-declarations && npm install)
36
36
- echo no | android create avd --force -n $AVD_NAME -t android-$EMULATOR_API_VER -b armeabi-v7a -c 12M
37
- - emulator -avd $AVD_NAME -no- skin -no-audio -no-window &
37
+ - emulator -avd $AVD_NAME -skin WXGA720 -no-audio -no-window &
38
38
- android-wait-for-emulator
39
39
script :
40
40
- jdk_switcher use oraclejdk8
Original file line number Diff line number Diff line change @@ -106,8 +106,10 @@ var testsWithLongDelay = {
106
106
testLocationOnce : 10000 ,
107
107
testLocationOnceMaximumAge : 10000 ,
108
108
//web-view-tests
109
- testLoadExistingUrl : 10000 ,
110
- testLoadInvalidUrl : 10000
109
+ testLoadExistingUrl : 10000 * 5 ,
110
+ testLoadLocalFile : 10000 * 5 ,
111
+ testLoadInvalidUrl : 10000 ,
112
+ testLoadUpperCaseSrc : 10000 * 5
111
113
}
112
114
113
115
var startTime ;
@@ -150,7 +152,10 @@ function printRunTestStats() {
150
152
151
153
testFileContent = testFileContent . concat ( testCases ) ;
152
154
153
- let finalMessage = `=== ALL TESTS COMPLETE for ${ totalTime } ms === \n${ ( allTests . length - failedTestCount ) } OK, ${ failedTestCount } failed\n` ;
155
+ // DO NOT CHANGE THE FIRST ROW! Used as an indicator for test run pass detection.
156
+ let finalMessage = `=== ALL TESTS COMPLETE ===\n` +
157
+ `${ ( allTests . length - failedTestCount ) } OK, ${ failedTestCount } failed\n` +
158
+ `DURATION: ${ totalTime } ms` ;
154
159
TKUnit . write ( finalMessage , messageType . info ) ;
155
160
for ( j = 0 ; j < failedTestInfo . length ; j ++ ) {
156
161
let failureMessage = failedTestInfo [ j ] ;
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
var fsModule = require ( 'fs' ) ;
3
3
var resultsFile = 'TestRunResult.txt' ;
4
- var successMarker = / = = = A L L T E S T S C O M P L E T E f o r \d + m s = = = / ;
5
- var passMarker = / = = = A L L T E S T S C O M P L E T E f o r \d + m s = = = \s + [ ^ \n ] * O K , \s + 0 \s + f a i l e d / mg;
4
+ var successMarker = / = = = A L L T E S T S C O M P L E T E = = = / ;
5
+ var passMarker = / = = = A L L T E S T S C O M P L E T E = = = \s + [ ^ \n ] * O K , \s + 0 \s + f a i l e d / mg;
6
6
7
7
var messages = {
8
8
crash : 'TEST RUN CRASHED!' ,
You can’t perform that action at this time.
0 commit comments