File: test.js

package info (click to toggle)
webkit2gtk 2.51.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 457,708 kB
  • sloc: cpp: 3,884,629; javascript: 198,661; ansic: 165,298; python: 49,171; asm: 21,849; ruby: 18,095; perl: 16,914; xml: 4,623; sh: 2,397; yacc: 2,356; java: 2,019; lex: 1,330; pascal: 372; makefile: 197
file content (19 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (51)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
myInterface.logMessage ("Starting test");

myInterface.logMessage ("Testing properties:");
myInterface.logMessage ("myInterface.doubleValue = " + myInterface.doubleValue);
myInterface.logMessage ("myInterface.intValue = " + myInterface.intValue);
myInterface.logMessage ("myInterface.stringValue = " + myInterface.stringValue);
myInterface.logMessage ("myInterface.booleanValue = " + myInterface.booleanValue);
myInterface.logMessage ("myInterface.nullValue = " + myInterface.nullValue);
myInterface.logMessage ("myInterface.undefinedValue = " + myInterface.undefinedValue);

myInterface.logMessage ("myInterface.setInt_(666) = " + myInterface.setInt_(666));
myInterface.logMessage ("myInterface.getInt() = " + myInterface.getInt());
myInterface.logMessage ("myInterface.getString() = " + myInterface.getString());
myInterface.logMessage ("myInterface.myInt = " + myInterface.myInt);
myInterface.logMessage ("setting myInterface.myInt = 777");
myInterface.myInt = 777;
myInterface.logMessage ("myInterface.myInt = " + myInterface.myInt);
myInterface.logMessage ("myInterface.getMySecondInterface().doubleValue = " + myInterface.getMySecondInterface().doubleValue);
myInterface.logMessage ("myInterface.getMySecondInterface() = " + myInterface.getMySecondInterface());