Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Enumerations | Functions
opt_lines.cpp File Reference
#include "opt_lines.h"
#include <rw_cmdopt.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for opt_lines.cpp:

Go to the source code of this file.

Data Structures

struct  linerange_t
 

Macros

#define _RWSTD_TEST_SRC
 

Enumerations

enum  { l_enabled = 1 , l_disabled = 2 , l_expected = 4 }
 

Functions

int _rw_setopts_lines ()
 
int _rw_expected (int line)
 
_TEST_EXPORT int rw_enabled (int line)
 

Macro Definition Documentation

◆ _RWSTD_TEST_SRC

#define _RWSTD_TEST_SRC

opt_lines.cpp - definitions of line option handlers

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1994-2006 Rogue Wave Software.

Definition at line 30 of file opt_lines.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
l_enabled 
l_disabled 
l_expected 

Definition at line 42 of file opt_lines.cpp.

Function Documentation

◆ _rw_expected()

int _rw_expected ( int  line)

Definition at line 284 of file opt_lines.cpp.

◆ _rw_setopts_lines()

int _rw_setopts_lines ( )

opt_lines.h - declarations of line option handlers

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1994-2006 Rogue Wave Software.

Definition at line 268 of file opt_lines.cpp.

◆ rw_enabled()

_TEST_EXPORT int rw_enabled ( int  line)

Determines whether a case (or line) is enabled.

Parameters
nameThe case (or line) number
Returns
Returns a non-zero value if the case (line) is enabled, otherwise 0.

Definition at line 307 of file opt_lines.cpp.