Ignore:
Timestamp:
Feb 9, 2016, 9:51:13 PM (9 years ago)
Author:
dkearney
Message:

updating error messages for failing viewpoint tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/geomap/gui/test/geomapviewpoint.test

    r5979 r5992  
    102102    set err [catch {$v1 configure -x "foo"} msg]
    103103    list $err $msg
    104 } {1 {bad value "foo": should be a double}}
     104} {1 {bad value "foo": x should be a double}}
    105105
    106106test geomapviewpoint-2.4 {-x exponents} {
     
    130130    set err [catch {$v1 configure -y "foo"} msg]
    131131    list $err $msg
    132 } {1 {bad value "foo": should be a double}}
     132} {1 {bad value "foo": y should be a double}}
    133133
    134134test geomapviewpoint-3.3 {-y exponents} {
     
    157157    set err [catch {$v1 configure -z "foo"} msg]
    158158    list $err $msg
    159 } {1 {bad value "foo": should be a double}}
     159} {1 {bad value "foo": z should be a double}}
    160160
    161161test geomapviewpoint-4.3 {-z exponents} {
     
    184184    set err [catch {$v1 configure -heading "foo"} msg]
    185185    list $err $msg
    186 } {1 {bad value "foo": should be a double}}
     186} {1 {bad value "foo": heading should be a double}}
    187187
    188188test geomapviewpoint-5.3 {-heading exponents} {
     
    211211    set err [catch {$v1 configure -pitch "foo"} msg]
    212212    list $err $msg
    213 } {1 {bad value "foo": should be a double}}
     213} {1 {bad value "foo": pitch should be a double}}
    214214
    215215test geomapviewpoint-6.3 {-pitch exponents} {
     
    238238    set err [catch {$v1 configure -distance "foo"} msg]
    239239    list $err $msg
    240 } {1 {bad value "foo": should be a double}}
     240} {1 {bad value "foo": distance should be a double}}
    241241
    242242test geomapviewpoint-7.3 {-distance exponents} {
     
    259259    set err [catch {$v1 configure -vertDatum ""} msg]
    260260    list $err $msg
    261 } {1 {bad value "": should be a non-empty string}}
     261} {1 {bad value "": vertDatum should be a non-empty string}}
    262262
    263263#----------------------------------------------------------
     
    274274    set err [catch {$v1 configure -label ""} msg]
    275275    list $err $msg
    276 } {1 {bad value "": should be a non-empty string}}
     276} {1 {bad value "": label should be a non-empty string}}
    277277
    278278#----------------------------------------------------------
     
    289289    set err [catch {$v1 configure -description ""} msg]
    290290    list $err $msg
    291 } {1 {bad value "": should be a non-empty string}}
     291} {1 {bad value "": description should be a non-empty string}}
    292292
    293293#----------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.