Main > Free Download Search >

Free intermediate unit software for linux

intermediate unit

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 527
Test::Unit 0.25

Test::Unit 0.25


Test::Unit is the main PerlUnit testing framework. more>>
Test::Unit is the main PerlUnit testing framework.

SYNOPSIS

This package provides only the project version number, copyright texts, and a framework overview in POD format.

This framework is intended to support unit testing in an object-oriented development paradigm (with support for inheritance of tests etc.) and is derived from the JUnit testing framework for Java by Kent Beck and Erich Gamma. To start learning how to use this framework, see Test::Unit::TestCase and Test::Unit::TestSuite. (There will also eventually be a tutorial in Test::Unit::Tutorial.

However Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that . Test::Unit is intended to provide a simpler interface to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit does not provide much support for an object-oriented approach to unit testing.

<<less
Download (0.31MB)
Added: 2007-05-07 License: Perl Artistic License Price:
900 downloads
Qalculate! Units 0.9.4

Qalculate! Units 0.9.4


Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. Qalculate! project is small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
<<less
Download (0.36MB)
Added: 2006-06-02 License: GPL (GNU General Public License) Price:
1240 downloads
Eunit 1.1

Eunit 1.1


Eunit is an Erlang unit test suite. more>>
Eunit project is an Erlang test suite tool, inspired by agile development ideas.
Usage:
Launch example unit test with:
erl -config sys.config
and then
eunit:run([eunit_examples], {suffix, "_test"}).
Enhancements:
- This release is a complete rewrite.
- Writing unit tests should now be simpler than with the previous version.
- This release can also be used with the Aegis configuration management system for continuous integration.
<<less
Download (0.011MB)
Added: 2005-11-29 License: MPL (Mozilla Public License) Price:
1426 downloads
GCC::TranslationUnit 1.00

GCC::TranslationUnit 1.00


GCC::TranslationUnit is a Perl module that can parse the output of gcc -fdump-translation-unit. more>>
GCC::TranslationUnit is a Perl module that can parse the output of gcc -fdump-translation-unit.

SYNPOSIS

use GCC::TranslationUnit;

# echo #include > stdio.c
# gcc -fdump-translation-unit -c stdio.c
$node = GCC::TranslationUnit::Parser->parsefile(stdio.c.tu)->root;

# list every function/variable name
while($node) {
if($node->isa(GCC::Node::function_decl) or
$node->isa(GCC::Node::var_decl)) {
printf "%s declared in %sn",
$node->name->identifier, $node->source;
}
} continue {
$node = $node->chain;
}

ABSTRACT

Provides a module for reading in the -fdump-translation-unit file from GCC and access methods for the data available from within GCC.

Once you read in the file using the Parser, you can traverse the entire structure of the parse tree using methods defined in the GCC::Node::* modules. Look there for information. Each node is blessed into a GCC::Node::* class with that name.

<<less
Download (0.013MB)
Added: 2007-05-29 License: Perl Artistic License Price:
880 downloads
Designer Framework 1.0

Designer Framework 1.0


Designer Framework provides a highly customizable e-commerce framework. more>>
Designer Framework provides a highly customizable e-commerce framework.

It automatically builds e-commerce interfaces that support a products contraints and properties and can be used to model the product to be sold, automatically and dynamically generating different output formats depending on the generator used.

It includes a Java modelling application, a finite state machine described in XML as intermediate format for the customer interface, and XSLT scripts for transforming the state machine into the final interface.Designer Framework is a highly customizable e-commerce framework.

It automatically builds e-commerce interfaces that support a products contraints and properties and can be used to model the product to be sold, automatically and dynamically generating different output formats depending on the generator used.

It includes a Java modelling application, a finite state machine described in XML as intermediate format for the customer interface, and XSLT scripts for transforming the state machine into the final interface.

<<less
Download (MB)
Added: 2007-02-16 License: GPL (GNU General Public License) Price:
983 downloads
Test::Unit::Tutorial 0.14

Test::Unit::Tutorial 0.14


Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing. more>>
Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing.

SYNOPSIS

perldoc Test::Unit::Tutorial

Here should be extensive documentation on what unit testing is, why it is useful, and how to do it with the Test::Unit collection of modules.

Sorry for not implementing this yet.

Please have a look at the examples in the examples directory and read the README file that came with this distribution.

A short tutorial on how to use the unit testing framework is included in Test::Unit::TestCase.

Further examples can be found by looking at the self test collection, starting in Test::Unit::tests::AllTests.

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Unit::TestCase 0.14

Test::Unit::TestCase 0.14


Test::Unit::TestCase is a unit testing framework base class. more>>
Test::Unit::TestCase is a unit testing framework base class.

SYNOPSIS

package FooBar;
use base qw(Test::Unit::TestCase);

sub new {
my $self = shift()->SUPER::new(@_);
# your state for fixture here
return $self;
}

sub set_up {
# provide fixture
}
sub tear_down {
# clean up after test
}
sub test_foo {
# test the foo feature
}
sub test_bar {
# test the bar feature
}

(Taken from the JUnit TestCase class documentation)

A test case defines the "fixture" (resources need for testing) to run multiple tests. To define a test case:

implement a subclass of TestCase
define instance variables that store the state of the fixture
initialize the fixture state by overriding set_up()
clean-up after a test by overriding tear_down().

Each test runs in its own fixture so there can be no side effects among test runs. Here is an example:

package MathTest;
use base qw(Test::Unit::TestCase);

sub new {
my $self = shift()->SUPER::new(@_);
$self->{value_1} = 0;
$self->{value_2} = 0;
return $self;
}

sub set_up {
my $self = shift;
$self->{value_1} = 2;
$self->{value_2} = 3;
}

For each test implement a method which interacts with the fixture. Verify the expected results with assertions specified by calling $self->assert() with a boolean value.

sub test_add {
my $self = shift;
my $result = $self->{value_1} + $self->{value_2};
$self->assert($result == 5);
}

Once the methods are defined you can run them. The normal way to do this uses reflection to implement run_test. It dynamically finds and invokes a method. For this the name of the test case has to correspond to the test method to be run. The tests to be run can be collected into a TestSuite. The framework provides different test runners, which can run a test suite and collect the results. A test runner either expects a method suite() as the entry point to get a test to run or it will extract the suite automatically.

If you do not like the rather verbose backtrace that appears when a test fails, you can use the quell_backtrace() method. You will get any message provided, but not the backtrace.

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Test::Unit::TestSuite 0.14

Test::Unit::TestSuite 0.14


Test::Unit::TestSuite is a unit testing framework base class. more>>
Test::Unit::TestSuite is a unit testing framework base class.

SYNOPSIS

use Test::Unit::TestSuite;

# more code here ...

sub suite {
my $class = shift;

# create an empty suite
my $suite = Test::Unit::TestSuite->empty_new("A Test Suite");

# get and add an existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::Suite_1"));

# extract suite by way of suite method and add
$suite->add_test(MyModule::Suite_2->suite());

# get and add another existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::TestCase_2"));

# return the suite built
return $suite;
}

This class is normally not used directly, but it can be used for creating your own custom built aggregate suites.

Normally, this class just provides the functionality of auto-building a test suite by extracting methods with a name prefix of test from a given package to the test runners.

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Perl x86 Disassembler 0.16

Perl x86 Disassembler 0.16


Perl x86 Disassembler is an Intel x86 disassembler written in Perl. more>>
The libdisasm library provides basic disassembly of Intel x86 instructions from a binary stream. The intent is to provide an easy to use disassembler which can be called from any application; the disassembly can be produced in AT&T syntax and Intel syntax, as well as in an intermediate format which includes detailed instruction and operand type information.

This disassembler is derived from libi386.so in the bastard project; as such it is x86 specific and will not be expanded to include other CPU architectures. Releases for libdisasm are generated automatically alongside releases of the bastard; it is not a standalone project, though it is a standalone library.

The recent spate of objdump output analyzers has proven that many of the people [not necessarily programmers] interested in writing disassemblers have little knowledge of, or interest in, C programming; as a result, these "disassemblers" have been written in Perl.

Usage

The basic usage of the library is:

1. initialize the library, using disassemble_init()
2. disassemble stuff, using disassemble_address()
3. un-initialize the library, using disassemble_cleanup

These routines have the following prototypes:

int disassemble_init(int options, int format);
int disassemble_cleanup(void);
int disassemble_address(char *buf, int buf_len, struct instr *i);

Instructions are disassembled to an intermediate format:

struct instr {
char mnemonic[16];
char dest[32];
char src[32];
char aux[32];
int mnemType; /* type of instruction */
int destType; /* type of dest operand */
int srcType; /* type of source operand */
int auxType; /* type of 3rd operand */
int size; /* size of insn in bytes */
};

The sprint_address() can be used in place of the disassemble_address() routine in order to generate a string representation instead of an intermediate one:

int sprint_address(char *str, int len, char *buf, int buf_len);

...so that a simple disassembler can be implemented in C with the following code:

#include

char buf[BUF_SIZE]; /* buffer of bytes to disassemble */
char line[LINE_SIZE]; /* buffer of line to print */
int pos = 0; /* current position in buffer */
int size; /* size of instruction */

disassemble_init(0, INTEL_SYNTAX);

while ( pos > BUF_SIZE ) {
/* disassemble address to buffer */
size = sprint_address(buf + pos, BUF_SIZE - pos, line, LINE_SIZE);
if (size) {
/* print instruction */
printf("%08X: %sn", pos, line);
pos += size;
} else {
printf("%08X: Invalid instructionn");
pos++;
}
}

disassemble_cleanup();

Alternatively, one can print the address manually using the intermediate format:

#include

char buf[BUF_SIZE]; /* buffer of bytes to disassemble */
int pos = 0; /* current position in buffer */
int size; /* size of instruction */
struct instr i; /* representation of the code instruction */

disassemble_init(0, INTEL_SYNTAX);

while ( pos > BUF_SIZE ) {
disassemble_address(buf + pos, BUF_SIZE - pos, &i);
if (size) {
/* print address and mnemonic */
printf("%08X: %s", pos, i.mnemonic);
/* print operands */
if ( i.destType ) {
printf("t%s", i.dest);
if ( i.srcType ) {
printf(", %s", i.src);
if ( i.auxType ) {
printf(", %s", i.aux);
}
}
}
printf("n");
pos += size;
} else {
/* invalid/unrecognized instruction */
pos++;
}
}

disassemble_cleanup();

This is the recommended usage of libdisasm: the instruction type and operand type fields allow analyzing of the disassembled instruction, and can provide cues for xref generation, syntax hi-lighting, and control flow tracking.
<<less
Download (0.038MB)
Added: 2005-03-07 License: Artistic License Price:
1701 downloads
Test::Unit::InnerClass 0.14

Test::Unit::InnerClass 0.14


Test::Unit::InnerClass is a unit testing framework helper class. more>>
Test::Unit::InnerClass is a unit testing framework helper class.

SYNOPSIS

This class is not intended to be used directly

This class is used by the framework to emulate the anonymous inner classes feature of Java. It is much easier to port Java to Perl using this class.

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
IControl 0.1.0

IControl 0.1.0


Control is a remote control daemon for Creatives RM-900 remote and Live!Drive Receiver. more>>
IControl is a software program meant to interpret signals from Creatives RM-900 remote control and accompanying IR LiveDrive! receiver unit.

IControl is currently capable of sending input to various programs (including XMMS, Xine, XawTV, XScreensaver, et al), as well as circulating window stacking order (sending windows to the background) and changing input focus. Furthermore, IControl will soon support other remote controls beyond the RM-900 which are all interpretable by the LiveDrive! unit.

IControl is completely configurable through its .conf files, allowing the user to map any key to any action the rcontrol daemon supports. And development is in the works to allow IControl to start programs, interface with devices, or even shut the computer down.

<<less
Download (0.026MB)
Added: 2005-04-20 License: GPL (GNU General Public License) Price:
1648 downloads
Test::Unit::TestRunner 0.14

Test::Unit::TestRunner 0.14


Test::Unit::TestRunner is a unit testing framework helper class. more>>
Test::Unit::TestRunner is a unit testing framework helper class.

SYNOPSIS

use Test::Unit::TestRunner;

my $testrunner = Test::Unit::TestRunner->new();
$testrunner->start($my_testcase_class);

This class is the test runner for the command line style use of the testing framework.

It is used by simple command line tools like the TestRunner.pl script provided.
The class needs one argument, which is the name of the class encapsulating the tests to be run.

OPTIONS

-wait
wait for user confirmation between tests

-v
version info

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Test::Unit::Runner::XML 0.1

Test::Unit::Runner::XML 0.1


Test::Unit::Runner::XML is a Perl module that can generate XML reports from unit test results. more>>
Test::Unit::Runner::XML is a Perl module that can generate XML reports from unit test results.

SYNOPSIS

use Test::Unit::Runner::XML;

mkdir("test_reports");
my $runner = Test::Unit::Runner::XML->new("test-reports");
$runner->start($test);
exit(!$runner->all_tests_passed());

Test::Unit::Runner::XML generates XML reports from unit test results. The reports are in the same format as those produced by Ants JUnit task, allowing them to be used with Java continuous integration and reporting tools.

CONSTRUCTOR

Test::Unit::Runner::XML->new($directory)
Construct a new runner that will write XML reports into $directory

METHODS

start

$runner->start($test);

Run the Test::Unit::Test $test and generate XML reports from the results.

all_tests_passed

exit(!$runner->all_tests_passed());

Return true if all tests executed by $runner since it was constructed passed.

<<less
Download (0.003MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Unit::Procedural 0.24

Test::Unit::Procedural 0.24


Test::Unit::Procedural Perl module contains a procedural style unit testing interface. more>>
Test::Unit::Procedural Perl module contains a procedural style unit testing interface.

SYNOPSIS

use Test::Unit::Procedural;

# your code to be tested goes here

sub foo { return 23 };
sub bar { return 42 };

# define tests

sub test_foo { assert(foo() == 23, "Your message here"); }
sub test_bar { assert(bar() == 42, "I will be printed if this fails"); }

# set_up and tear_down are used to
# prepare and release resources need for testing

sub set_up { print "hello worldn"; }
sub tear_down { print "leaving world againn"; }

# run your test

create_suite();
run_suite();

Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that is derived from the JUnit testing framework for Java by Kent Beck and Erich Gamma. While this framework is originally intended to support unit testing in an object-oriented development paradigm (with support for inheritance of tests etc.), Test::Unit::Procedural is intended to provide a simpler interface to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit::Procedural does not provide much support for an object-oriented approach to unit testing - if you want that, please have a look at Test::Unit::TestCase.

You test a given unit (a script, a module, whatever) by using Test::Unit::Procedural, which exports the following routines into your namespace:

assert()

used to assert that a boolean condition is true

create_suite()

used to create a test suite consisting of all methods with a name prefix of test

run_suite()

runs the test suite (text output)

add_suite()

used to add test suites to each other

For convenience, create_suite() will automatically build a test suite for a given package. This will build a test case for each subroutine in the package given that has a name starting with test and pack them all together into one TestSuite object for easy testing. If you dont give a package name to create_suite(), the current package is taken as default.

Test output is one status line (a "." for every successful test run, or an "F" for any failed test run, to indicate progress), one result line ("OK" or "!!!FAILURES!!!"), and possibly many lines reporting detailed error messages for any failed tests.
Please remember, Test::Unit::Procedural is intended to be a simple and convenient interface. If you need more functionality, take the object-oriented approach outlined in Test::Unit::TestCase.

<<less
Download (0.074MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Unit::GTestRunner 0.04

Test::Unit::GTestRunner 0.04


Test::Unit::GTestRunner is a Unit testing framework helper class more>>
Test::Unit::GTestRunner is a Unit testing framework helper class

SYNOPSIS

use Test::Unit::GTestRunner;

Test::Unit::GTestRunner->new->start ($my_testcase_class);

Test::Unit::GTestRunner::main ($my_testcase_class);

If you just want to run a unit test (suite), try it like this:

gtestrunner "MyTestSuite.pm"

Try "perldoc gtestrunner" or "man gtestrunner" for more information.

This class is a GUI test runner using the Gimp Toolkit Gtk+ (which is called Gtk2 in Perl). You can use it if you want to integrate the testing framework into your own application.

For a description of the graphical user interface, please see gtestrunner(1).

<<less
Download (0.062MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1194 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5