Sponsored Content
Full Discussion: testing
Top Forums UNIX for Advanced & Expert Users testing Post 302083135 by thestevew on Friday 4th of August 2006 08:04:15 AM
Old 08-04-2006
Quote:
Originally Posted by areef4u
what is the difference between white box and black box testing?
A few seconds with a search engine would have answered this for you! However (on the understanding that this isn't homework),
White box: testing when you know how the code is supposed to work. Tests are designed to prove that all of the code works and should make sure that every line of code is executed (eg programmer testing)
Black box: testing where you only know the required inputs and outputs and design tests to prove that the outputs are correct for, in theory, all possible inputs without any knowledge of how the code does it (eg user testing)
 

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

testing

what does one mean in the context of testing... UNIT TESTING & INITIAL LEVEL OF MENU TESTING (2 Replies)
Discussion started by: areef4u
2 Replies

2. UNIX for Dummies Questions & Answers

testing

first time use (0 Replies)
Discussion started by: lcharles
0 Replies

3. Shell Programming and Scripting

Ip up/down testing

#!/bin/bash ip=$1 if ; then echo "U must enter ip as argument: $0 " exit 1 fi testip=`echo $ip |grep -E "^((||1{2}|2|25)){3}(||1{2}|2|25)$"` if ; then echo "Wrong ip adress" exit 2 fi ping -c 2 $ip 2>&1 >/dev/null if ; then echo "$ip is UP" else echo "$ip is... (2 Replies)
Discussion started by: aco4u
2 Replies
glutButtonBoxFunc(3GLUT)					       GLUT						  glutButtonBoxFunc(3GLUT)

NAME
glutButtonBoxFunc - sets the dial & button box button callback for the current window. SYNTAX
void glutButtonBoxFunc(void (*func)(int button, int state)); ARGUMENTS
func The new button box callback function. DESCRIPTION
glutButtonBoxFunc sets the dial & button box button callback for the current window. The dial & button box button callback for a window is called when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button box button presses. The button parameter will be the button number (starting at one). The number of available dial & button box buttons can be determined with glutDeviceGet(GLUT_NUM_BUTTON_BOX_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press respectively. Registering a dial & button box button callback when a dial & button box device is not available is ineffectual and not an error. In this case, no dial & button box button callbacks will be generated. Passing NULL to glutButtonBoxFunc disables the generation of dial & button box button callbacks. When a new window is created, no dial & button box button callback is initially registered. SEE ALSO
glutDialsFunc, glutDeviceGet, glutSpaceballButtonFunc, glutTabletButtonFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutButtonBoxFunc(3GLUT)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy