VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/nsprpub/pr/tests/README.TXT@ 55761

最後變更 在這個檔案從55761是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 7.8 KB
 
1File: pr/tests/readme
2
3This document describes the test cases in the NSPR directory
4pr/tests.
5
6=====================================================================
7There are some sub-directories here:
8
9dll
10 sources for the .dll(.so) used by test dlltest.c
11
12macbuild
13 MacIntosh project files
14
15server
16 an empty directory. Does anyone remember why?
17
18w16gui
19 Sources for a modified version of the poppad application from
20 Charles Petzold's book "Programming Windows 3.1". These
21 sources were modified to test the library lib/ds/PLEvent.
22 These files are obsolete and will not be maintained.
23
24 This test was superceded by lib/tests/windows/winevent.c and
25 lib/event.c and is now owned by CPD.
26
27=====================================================================
28The individual files are described here.
29
30The script 'runtests.ksh' enumerates and runs test cases that are
31expected to run on all platforms.
32
33
34accept.c
35 Tests PR_Accept() and related socket functions.
36
37acceptread.c
38 Tests PR_AcceptRead()
39
40alarm.c
41 Tests alarm functions declared in obsolete/pralarm.h.
42 The alarm functions are obsolete, so is this test.
43
44atomic.c
45 Tests Atomic operations defined in pratom.h
46
47attach.c
48 Test PR_AttachThread()
49 Note: This is an NSPR private function.
50
51bigfile.c
52 Test 64bit file offset functions declared in prio.h
53
54bug1test.c
55 Demonstrates a bug on NT.
56
57cleanup.c
58 Tests PR_Cleanup() declared in prinit.h
59
60cltsrv.c
61 Tests many socket functions.
62
63concur.c
64 Tests threading functions and concurrent operations.
65
66cvar.c
67 Tests condition variables.
68
69cvar2.c
70 Tests condition variables. A rather abusive test.
71
72dbmalloc.c
73 Obsolete. Originally for testing debug builds of NSPR's malloc.
74
75dbmalloc1.c
76 Obsolete. Originally for testing debug builds of NSPR's malloc.
77
78dceemu.c
79 Tests special functions for DCE emulation.
80
81depend.c
82 Obsoltet. Tests early spec for library dependency.
83
84dlltest.c
85 Tests dynamic library fucntions. Used with dll/my.c
86
87dtoa.c
88 Tests conversions of double to string.
89
90exit.c
91 Tests PR_ProcessExit() declared in prinit.h
92
93fileio.c
94 Tests NSPR semaphores a bit of file i/o and threading
95 functions.
96
97foreign.c
98 Test auto-attach of a thread created by something other than
99 NSPR.
100
101forktest.c
102 Limited use. Tests unix fork() and related functions.
103
104fsync.c
105 Tests use of PR_Sync() declared in prio.h
106
107getproto.c
108 Tests socket functions PR_GetProtoByName(), etc.
109
110i2l.c
111 Tests LongLong functions for converting 32bit integer to 64bit
112 integer.
113
114initclk.c
115 Tests timing on minimal use of condition variable
116
117inrval.c
118 Tests interval timing functions.
119
120instrumt.c
121 Tests instrumentation functions. prcountr.h prtrace.h
122
123intrupt.c
124 Tests PR_Interrupt()
125
126ioconthr.c
127 Tests i/o continuation mechanism in pthreads.
128
129io_timeout.c
130 Test socket i/o timeouts.
131
132io_timeoutk.c
133 Obsolete. Subsumed in io_timeout.c
134
135io_timeoutu.c
136 Obsolete. Subsumed in io_timeout.c
137
138ipv6.c
139 Tests IPv6. IPv6 is not used by NSPR clients.
140
141join.c
142 Tests PR_JoinThread()
143
144joinkk.c
145 Tests PR_JoinThread()
146
147joinku.c
148 Tests PR_JoinThread()
149
150joinuk.c
151 Tests PR_JoinThread()
152
153joinuu.c
154 Tests PR_JoinThread()
155
156layer.c
157 Tests layered I/O.
158
159lazyinit.c
160 Tests implicit initialization.
161
162lltest.c
163 Tests LongLong (64bit integer) arithmentic and conversions.
164
165lock.c
166 Tests PR_Lock() in heavily threaded environment.
167
168lockfile.c
169 Test PR_Lockfile().
170
171logger.c
172 Tests PR_LOG()
173
174makefile
175 The makefile that builds all the tests
176
177many_cv.c
178 Tests aquiring a large number of condition variables.
179
180multiwait.c
181 ???
182
183nbconn.c
184 Test non-blocking connect.
185
186nblayer.c
187 Tests NSPR's layered I/O capability.
188
189nonblock.c
190 Tests operations on non-blocking socket.
191
192op_2long.c
193 Tests PR_Open() where filename is too long.
194
195op_filnf.c
196 Tests PR_Open() where filename is NotFound.
197
198op_filok.c
199 Tests PR_Open() where filename is accessable.
200
201op_noacc.c
202 Tests PR_Open() where file permissions are wrong.
203 Limited use. Windows has no concept of Unix style file permissions.
204
205op_nofil.c
206 Tests PR_Open() where filename does not exist.
207
208parent.c
209 Test parent/child process capability
210
211perf.c
212 Tests and measures context switch times for various thread
213 syncronization functions.
214
215pipeping.c
216 Tests inter-process pipes. Run with pipepong.c
217
218pipepong.c
219 Tests inter-process pipes. Run with pipeping.c
220
221pipeself.c
222 Tests inter-thread pipes.
223
224pollable.c
225 Tests pollable events. prio.h
226
227poll_er.c
228 Tests PR_Poll() where an error is expected.
229
230poll_nm.c
231 Tests PR_Poll() where normal operation is expected.
232
233poll_to.c
234 Tests PR_Poll() where timeout is expected.
235
236prftest.c
237 Tests printf-like formatting.
238
239prftest1.c
240 Obsolete. Subsumed in prftest.c
241
242prftest2.c
243 Obsolete. Subsumed in prftest.c
244
245priotest.c
246 Limited use. Tests NSPR thread dispatching priority.
247
248provider.c
249
250prpoll.c
251 Tests PR_Poll().
252
253prselect.c
254 Obsolete. PR_Select() is obsolete.
255
256prttools.h
257 Unused file.
258
259ranfile.c
260 Tests random file access.
261
262readme
263 This file.
264
265runtests.ksh
266 A korn shell script that runs a set of tests that should run
267 on any of the NSPR supported platforms.
268
269runtests.pl
270 A perl script to run the test cases. This srcipt runs tests
271 common to all platforms and runs tests applicable to specific
272 platforms. Uses file runtests.txt to control execution.
273
274runtests.txt
275 Control file for perl script: runtests.pl
276
277rwlocktest.c
278 Tests Reader/Writer lock
279
280selct_er.c
281 Obsolete. PR_Select() is obsolete.
282
283selct_nm.c
284 Obsolete. PR_Select() is obsolete.
285
286selct_to.c
287 Obsolete. PR_Select() is obsolete.
288
289select2.c
290 Obsolete. PR_Select() is obsolete.
291
292sel_spd.c
293 Obsolete. PR_Select() is obsolete.
294
295sem.c
296 Obsolete. Semaphores are not supported.
297
298server_test.c
299 Tests sockets by simulating a server in loopback mode.
300 Makes its own client threads.
301
302servr_kk.c
303 Tests client/server sockets, threads using system threads.
304
305servr_ku.c
306 Tests client/server sockets, threads using system and user threads.
307
308servr_uk.c
309 Tests client/server sockets, threads using system and user threads.
310
311servr_uu.c
312 Tests client/server sockets, threads user threads.
313
314short_thread.c
315 Tests short-running threads. Useful for testing for race conditions.
316
317sigpipe.c
318 Tests NSPR's SIGPIPE handler. Unix only.
319
320sleep.c
321 Limited use. Tests sleep capability of platform.
322
323socket.c
324 Tests many socket functions.
325
326sockopt.c
327 Tests setting and getting socket options.
328
329sprintf.c
330 Tests sprintf.
331
332sproc_ch.c
333 Obsolete. Tests IRIX sproc-based threads.
334
335sproc_p.c
336 Obsolete. Tests IRIX sproc-based threads.
337
338stack.c
339 Test atomic stack operations.
340
341stat.c
342 Tests performance of getfileinfo() vs. stat()
343
344stdio.c
345 Tests NSPR's handling of stdin, stdout, stderr.
346
347strod.c
348 Tests formatting of double precision floating point.
349
350suspend.c
351 Private interfaces PR_SuspendAll(), PR_ResumeAll(), etc.
352
353switch.c
354 Tests thread switching
355
356system.c
357 Tests PR_GetSystemInfo()
358
359testbit.c
360 Tests bit arrays.
361
362testfile.c
363 Tests many file I/O functions.
364
365threads.c
366 Tests thread caching.
367
368thruput.c
369 Tests socket thruput. Must be run by hand as client/server.
370 Does not self terminate.
371
372time.c
373 Incomplete. Limited use.
374
375timemac.c
376 Test time and date functions. Originally for Mac.
377
378timetest.c
379 Tests time conversion over a wide range of dates.
380
381tmoacc.c
382 Server to tmocon.c and writev.c
383 Do not run it by itself.
384
385tmocon.c
386 Client thread to tmoacc.c
387
388tpd.c
389 Tests thread private data.
390
391udpsrv.c
392 Tests UDP socket functions.
393
394ut_ttools.h
395 unused file.
396
397version.c
398 Extract and print library version data.
399
400vercheck.c
401 Test PR_VersionCheck().
402
403writev.c
404 Tests gather-write on a socket. Requires tmoacc.c
405
406xnotify.c
407 Tests cached monitors.
408
409yield.c
410 Limited use
411
412y2k.c
413 Test to verify NSPR's date functions as Y2K compliant.
414
415dll\Makefile
416 makefile for mygetval.c, mysetval.c
417
418dll\mygetval.c
419 Dynamic library test. See also dlltest.c
420
421dll\mysetval.c
422 Dynamic library test. See also dlltest.c
423
424w16gui\Makefile
425 Obsolete. Tests for lib/ds/PLEvent on Windows 3.1.
426w16gui\popfile.c
427w16gui\popfind.c
428w16gui\popfont.c
429w16gui\poppad.c
430w16gui\poppad.h
431w16gui\poppad.ico
432w16gui\poppad.rc
433w16gui\popprnt0.c
434w16gui\readme.1st
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette