Home | History | Annotate | Download | only in scf_value_get_boolean
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 # 
     23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)ASSERTIONS	1.2	08/05/22 SMI"
     27 #
     28 
     29 
     30 ASSERTION: scf_value_get_boolean_001
     31 
     32 DESCRIPTION:
     33 	scf_value_get_boolean() returns -1 and sets the error code to
     34 	SCF_ERROR_NOT_SET if the value is currently not set.
     35 
     36 STATUS: COMPLETED (2003-11-20)
     37 
     38 COMMENTS:
     39 --------------------------------------------------------------------------------
     40 
     41 ASSERTION: scf_value_get_boolean_002
     42 
     43 DESCRIPTION:
     44 	scf_value_get_boolean() returns -1 and sets the error code to
     45 	SCF_ERROR_TYPE_MISMATCH if the value is not of type bool.
     46 
     47 STATUS: COMPLETED (2003-11-20)
     48 
     49 COMMENTS:
     50 --------------------------------------------------------------------------------
     51 
     52 ASSERTION: scf_value_get_boolean_003
     53 
     54 DESCRIPTION:
     55 	scf_value_get_boolean() returns 0 and reads the value into
     56 	the target boolean variable.
     57 
     58 STATUS: COMPLETED (2003-11-20)
     59 
     60 COMMENTS:
     61 --------------------------------------------------------------------------------
     62 
     63 ASSERTION: scf_value_get_boolean_004
     64 
     65 DESCRIPTION:
     66 	scf_value_get_boolean() returns -1 and sets the error code to
     67 	SCF_ERROR_TYPE_MISMATCH if the value is not of the 'boolean' type
     68 
     69 STATUS: COMPLETED (2003-05-22)
     70 
     71 COMMENTS:
     72 	This assertion is partly verified by the test for
     73 	scf_value_get_boolean_002 and partly by the test for
     74 	scf_value_get_astring_004
     75 --
     76 ================================================================================
     77