Code Examples

CODE EXAMPLE 3-1

Simple Test Suite testsuite.jtt File

24

CODE EXAMPLE 3-2

Simple Test Class

26

 

 

 

CODE EXAMPLE 4-1

Required Distributed Test Keyword

44

 

CODE EXAMPLE 4-2

remote Attribute

45

 

 

 

CODE EXAMPLE 4-3

remoteSource Attribute

45

 

 

CODE EXAMPLE 4-4

executeArgs Attribute With Multiple Environment Variables 46

CODE EXAMPLE 4-5

Required Interactive Test Keywords 50

 

CODE EXAMPLE 4-6

Required OTA Test Keyword 54

 

 

CODE EXAMPLE 4-7

executeClass Attribute Entry 54

 

CODE EXAMPLE 4-8

remote Attribute Entry 55

 

 

CODE EXAMPLE 4-9

remote Attribute Entry for Trusted MIDlet

55

CODE EXAMPLE 4-10

OTA Test Description File

55

 

 

CODE EXAMPLE 4-11

Trusted OTA Test Description File

56

 

CODE EXAMPLE 4-12

Server Test Component Example

59

 

CODE EXAMPLE 4-13

untrusted Keyword Entry in the Test Description 61

CODE EXAMPLE 4-14

Test Description for an untrusted Test

62

CODE EXAMPLE 4-15

trusted Keyword Entry

63

 

 

CODE EXAMPLE 4-16

DoubleDutySecurity Attribute

63

 

CODE EXAMPLE 4-17

Test Description for a Double Duty Test

63

CODE EXAMPLE 4-18

grant Attribute Entry and Security Permissions 65

xiii

Page 13
Image 13
Sun Microsystems 1.2 manual Code Examples