release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since 69c27e6 was
776c4bb,
checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
|
Mock enough of perlglue.xs for tests to 'use BarnOwl'.
|
-
Property mode set to
100644
|
File size:
504 bytes
|
Rev | Line | |
---|
[776c4bb] | 1 | use File::Basename; |
---|
| 2 | use lib (dirname($0) . '/../perl/lib'); |
---|
| 3 | |
---|
| 4 | package BarnOwl; |
---|
| 5 | use strict; |
---|
| 6 | use warnings; |
---|
| 7 | use Carp; |
---|
| 8 | |
---|
| 9 | sub bootstrap {} |
---|
| 10 | sub get_data_dir {"."} |
---|
| 11 | sub get_config_dir {"."} |
---|
| 12 | sub create_style {} |
---|
| 13 | |
---|
| 14 | sub debug { |
---|
| 15 | warn "[DEBUG] ", shift, "\n" if $ENV{TEST_VERBOSE}; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | sub BarnOwl::Internal::new_command {} |
---|
| 19 | sub BarnOwl::Internal::new_variable_bool {} |
---|
| 20 | sub BarnOwl::Internal::new_variable_int {} |
---|
| 21 | sub BarnOwl::Internal::new_variable_string {} |
---|
| 22 | sub BarnOwl::Editwin::save_excursion(&) {} |
---|
| 23 | |
---|
| 24 | use BarnOwl; |
---|
| 25 | |
---|
| 26 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.