we hv a big enviroment networked.
we use squid proxy.
access allowed by src address previously.
we have win2000 network with ads.
my requirement is the proxy should allow domain users only for access.
how can i map my windows userdatabase with squid
is there any thing specific which has 2 b... (1 Reply)
Hi, I'm a newbie.
I need help on my first assignment in UNIX.
1. How do I determine the number of non-empty directories?
I was told to create a variable ARCHIVE, which points to the directory that contains the archive of the messages. But I'm so dumb and I don't even know how to do this.
2. In... (1 Reply)
Hi every one
I have got very very bad Email, My question is:
How can I get all information about that f*** Email, I do mean
IP,reall name, Adress, user name, password etc... I wonder if there is any program or website that I can see that email, help me please
When I used windows Xp(old... (2 Replies)
I have a list of variables: ss1, ss5, ss6, ss8, st2 etc. (these values are not fixed, configurable). Now, I have assigned ss5=”test”. And I want to search in the list for the string “test” to know which variable is having the value “test”. Can u pls tell me how to do this? (10 Replies)
Hi,
I need your help guys. I have two data files, namely 101.amberized.pdb & 101.pdb .
Now I want to replace the whole 3rd column of 101.amberized.pdb with the 3rd column of 101.pdb file. How do I do it in shell?
Thanks in advance
Parimal (11 Replies)
When i run this command, everything is ok. The file can be email and attached but soon after i download the file, the file cant be read. It's seem corrupted. Totally cant be read although i'm using context or wordfile. Original file generated at ek_bkup/alert/tbspace_datafile.log is OK.....
... (7 Replies)
I have this code:
#!/bin/sh
awk 'BEGIN
NR == 2
repl = "PHI"
$4 = repl
print $0 'dryloop.txt
and this code:
#!/bin/sh
sed -e '1s/\|$/\|COMID\|/g' -e 's/^087.*$/&PHI\|g' hl.dsldryloop > textdry.txt
My code won't work. I want to change the COMID of lines starting with 087 .
this is my... (15 Replies)
Greetings,
I hope my post finds you all OK,
I have a Netra240 server in an HLR inside a wireless CDMA Exchange, it works as a Hard Disk Unit (HDU) as shown in Local Management Terminal (LMT) as show in the picture 1 attached.
The power went down because of a power failure in main UPS, when... (2 Replies)
Discussion started by: Sharista
2 Replies
LEARN ABOUT DEBIAN
test::rdf::trine::store
Test::RDF::Trine::Store(3pm) User Contributed Perl Documentation Test::RDF::Trine::Store(3pm)NAME
Test::RDF::Trine::Store - A collection of functions to test RDF::Trine::Stores
VERSION
This document describes RDF::Trine version 1.000
SYNOPSIS
For example, to test a Memory store, do something like:
use Test::RDF::Trine::Store qw(all_store_tests number_of_tests);
use Test::More tests => 1 + Test::RDF::Trine::Store::number_of_tests;
use RDF::Trine qw(iri variable store literal);
use RDF::Trine::Store;
my $data = Test::RDF::Trine::Store::create_data;
my $store = RDF::Trine::Store::Memory->temporary_store();
isa_ok( $store, 'RDF::Trine::Store::Memory' );
Test::RDF::Trine::Store::all_store_tests($store, $data);
DESCRIPTION
This module packages a few functions that you can call to test a RDF::Trine::Store, also if it is outside of the main RDF-Trine
distribution.
There are different functions that will test different parts of the functionality, but you should run them all at some point, thus for the
most part, you would just like to run the "all_store_tests" function for quad stores and "all_triple_store_tests" for triple stores (i.e.
stores that doesn't support named graphs).
All the below functions are exported.
FUNCTIONS
"number_of_tests"
Returns the number of tests run with "all_store_tests".
"number_of_triple_tests"
Returns the number of tests run with "all_triple_store_tests".
"create_data"
Returns a hashref with generated test data nodes to be used by other tests.
"all_store_tests ($store, $data, $todo, $args)"
Will run all available tests for the given store, given the data from "create_data". You may also set a third argument to some true
value to mark all tests as TODO in case the store is in development.
Finally, an $args hashref can be passed. Valid keys are "update_sleep" (see the function with the same name below) and
"suppress_dupe_tests" if the store should skip duplicate detection, "quads_unsupported" if the store is a triple store.
"all_triple_store_tests ($store, $data, $todo, $args)"
Will run tests for the given triple store, i.e. a store that only accepts triples, given the data from "create_data". You may also set
a third argument to some true value to mark all tests as TODO in case the store is in development.
For $args, see above.
"add_quads($store, $args, @quads)"
Helper function to add an array of quads to the given store.
"add_triples($store, $args, @triples)"
Helper function to add an array of triples to the given store.
"contexts_tests( $store, $args )"
Testing contexts (aka. "graphs")
"add_statement_tests_simple( $store, $args, $data->{ex} )"
Tests to check add_statement.
"bulk_add_statement_tests_simple( $store, $args, $data->{ex} )"
Tests to check add_statement.
"literals_tests_simple( $store, $args, $data->{ex})"
Tests to check literals support.
"blank_node_tests_quads( $store, $args, $data->{ex} )"
Tests to check blank node support for quads.
"blank_node_tests_triples( $store, $args, $data->{ex} )"
Tests to check blank node support for triples.
"count_statements_tests_simple( $store, $args, $data->{ex} )"
Tests to check that counts are correct.
"count_statements_tests_quads( $store, $args, $data->{ex} )"
Count statement tests for quads.
"count_statements_tests_triples( $store, $args, $data->{ex}, $data->{nil} )"
More tests for counts, with triples.
"get_statements_tests_triples( $store, $args, $data->{ex} )"
Tests for getting statements using triples.
"get_statements_tests_quads( $store, $args, $data->{ex}, $data->{nil} )"
Tests for getting statements using quads.
"get_pattern_tests( $store, $args, $data->{ex} )"
Tests for getting statements using with get_pattern.
"remove_statement_tests( $store, $args, $data->{ex}, @{$data->{names}} );"
Tests for removing statements.
"update_sleep ( \%args )"
If $args{ update_sleep } is defined, sleeps for that many seconds. This function is called after update operations to aid in testing
stores that perform updates asynchronously.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> and Kjetil Kjernsmo <kjetilk@cpan.org>
perl v5.14.2 2012-06-29 Test::RDF::Trine::Store(3pm)