Sun Microsystems 1.2 - Manual

Sun Microsystems 1.2

Sun Microsystems 1.2 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
Page: / 130

Table of Contents:

  • Page 2 – Test suite developer’s guide for the Java ME TCK Framework.
  • Page 3 – Contents; Preface
  • Page 4 – Test Suite Construction; lib; Writing Tests
  • Page 5 – remote
  • Page 6 – Test API
  • Page 7 – src; Test Description Fields and Keywords
  • Page 9 – Figures
  • Page 11 – Tables
  • Page 13 – Code Examples
  • Page 15 – Before You Read This Book
  • Page 16 – Intended Audience
  • Page 17 – Platform Commands; Examples
  • Page 18 – Typographic Conventions; Related Documentation
  • Page 19 – Accessing Sun Documentation Online
  • Page 21 – Introduction; Getting Started
  • Page 22 – Note –
  • Page 23 – Development Environment; Use of the Framework; Target Environment
  • Page 24 – Profile; Connectivity Requirements; MIDP
  • Page 25 – Resource Limitations; CLDC Target Device
  • Page 26 – Framework Bundle; Framework Components
  • Page 27 – Framework Components on the Harness Side; OTA provisioning server -; Framework Components on the Device Side; AMS
  • Page 28 – Tests; Test Types
  • Page 29 – Automated Tests
  • Page 30 – Distributed Tests; getNextApp
  • Page 32 – Interactive Tests
  • Page 33 – OTA Tests
  • Page 35 – Writing a Simple Automated Test; Writing an Automated Test
  • Page 36 – To Create a Simple Automated Test
  • Page 37 – Save this file in the Simple Test Suite source as
  • Page 38 – Save this file in the Simple Test Suite source as; ) by adding the following line that
  • Page 39 – Building an Updated Simple Test Suite; To Build an Updated Test Suite; Uncomment and modify the four required properties in; Use a terminal window or console to make the; directory your current
  • Page 40 – command to invoke the ant build script.; Testing an Updated Simple Test Suite; To Test an Updated Test Suite; Start the JavaTest harness by using the following command.
  • Page 41 – run the updated test suite.
  • Page 43 – Test Suite Structure
  • Page 44 – File
  • Page 46 – Test Class; Test Case
  • Page 47 – Test Description file; classes
  • Page 50 – Define the environment variable required by the test.
  • Page 51 – ) that is a subtype of the
  • Page 52 – method in the constructor to specify the first
  • Page 53 – g. Implement error checking for the question answer.
  • Page 54 – method to determine the next question in the sub-; through; until all configuration questions are added to
  • Page 56 – Update the interview
  • Page 57 – directory under the directory where the interview classes are; directory under the
  • Page 59 – Create a JAR file containing the configuration interview.; Add the JAR file to the classpath entry of the
  • Page 60 – Building a Test Suite
  • Page 61 – Testing Devices With Automated Tests
  • Page 62 – Application Bundle; Test Name
  • Page 63 – Client Test Component
  • Page 64 – Remote Test Component
  • Page 65 – remoteSource
  • Page 66 – Distributed Test Execution
  • Page 68 – Check or Send Message; Done
  • Page 70 – Interactive Test Execution
  • Page 72 – Example of an Interactive Test
  • Page 73 – Server Component of an OTA Test; Client Test Component of an OTA Test
  • Page 74 – Test Description for OTA Tests
  • Page 75 – OTA Test Description Examples
  • Page 77 – OTA Test Execution
  • Page 78 – Request an Action
  • Page 79 – Example of OTA Test
  • Page 80 – Types of Security Tests; Untrusted Tests
  • Page 81 – Trusted Tests; Using Keywords to Mark Security Tests; Marking Untrusted Tests
  • Page 82 – Marking Trusted Tests
  • Page 83 – Using an Attribute to Mark Double-Duty Tests
  • Page 84 – Granting or Denying Security Permissions; Granting Security Permissions
  • Page 86 – Denying Security Permissions
  • Page 87 – Adding Resource Files in Tests
  • Page 90 – Enabling Test Selection; Factors and Mechanisms for Test Selection; Keywords
  • Page 91 – expression in test description; Grant or deny mechanism; Custom test suite-specific filters; selectIf; To Enable Test Selection with the
  • Page 92 – entry to the test description file for a test class that users
  • Page 95 – Add interview question
  • Page 96 – Create a More Info topic file for the question.
  • Page 97 – Test
  • Page 98 – MultiTest
  • Page 99 – J2SEDistributedTest; DistribInteractiveTest
  • Page 100 – OTATest
  • Page 103 – Core; CLDC and MIDP Execution; CLDC and MIDP Agents and Clients
  • Page 104 – DTF; CommService; CommClients
  • Page 105 – CommServers; Messaging; Test Export Support Libraries; CDC Agents
  • Page 106 – Framework Server Classes and Interfaces
  • Page 107 – Agent Classes; Digital Signer; Preverification Script; Java ME Technology Version of Harness Classes
  • Page 108 – Communication Channel
  • Page 111 – Test Description Fields
  • Page 117 – Glossary
  • Page 127 – Index; Symbols
Loading the manual

Java

ME TCK Framework

Developers Guide

Version 1.2

July 2007

Sun Microsystems, Inc.
www.sun.com

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 2 - Test suite developer’s guide for the Java ME TCK Framework.

Please Recycle Copyright 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Test suite developer’s guide for the Java ME TCK Framework. THIS PRODUCT CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF SUN MICROSYSTEMS, INC. USE, DISCLOSURE...

Page 3 - Contents; Preface

iii Contents Preface xv 1. Introduction 1 Getting Started 1 Development Environment 3 Use of the Framework 3 Target Environment 3 Connectivity Requirements 4 Resource Limitations 5 Framework Bundle 6 Framework Components 6 Framework Components on the Harness Side 7 Framework Components on the Device...

Page 4 - Test Suite Construction; lib; Writing Tests

iv Java ME TCK Framework Developer’s Guide • July 2007 Writing an Automated Test 15 ▼ To Create a Simple Automated Test 16 Building an Updated Simple Test Suite 19 ▼ To Build an Updated Test Suite 19 Testing an Updated Simple Test Suite 20 ▼ To Test an Updated Test Suite 20 3. Test Suite Constructio...

Other Sun Microsystems Models

All Sun Microsystems Other