Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Test: Common Classes

This project cluster has 21 classes.

ECF: test.ecf

Project List

Eiffel coding experiments and classes containing test data that are used in the following projects:

benchmark/benchmark.ecf
test/test.ecf
test/eiffel2java/eiffel2java.ecf
tool/toolkit/toolkit.ecf
tool/eiffel/eiffel.ecf

Directory: test/source/common

. /ftp

. /reflective

. /string

. /string/i-ching

. /support

. /test-set

ftp

FAUX_FTP_PROTOCOL

Faux FTP protocol for testing

TEST_FILE_SYNC_MEDIUM

Test file sync medium

reflective

CAMEL_CASE_COUNTRY

COUNTRY that can be initialized with external CamelCase names

COMPACTABLE_DATE

Compactable date

COUNTRY

Test for reflective classes EL_REFLECTIVELY_SETTABLE and EL_SETTABLE_FROM_ZSTRING

COUNTRY_TEST_DATA

Test data for COUNTRY

JOB

Advertised job details

MICROSOFT_COMPILER_OPTIONS

Microsoft compiler options

Further Information

Click on class link to see notes.

MY_DRY_CLASS

Example of a class that exemplifies the DRY principle using class reflection. Contrast 25 lines with MY_WET_CLASS.

PROVINCE

Test for reflective classes EL_REFLECTIVELY_SETTABLE and EL_SETTABLE_FROM_ZSTRING

RANGE_COMPACTABLE_DATE

Compactable date using field ranges to define compaction

RANGE_FIREWALL_STATUS

Status of IP address blocked by UFW firewall on a port at a date

string

HEXAGRAM_STRINGS

I Ching hexagram names and titles in Chinese and English that can be used for testing string processing classes.

The English titles are read from the text file:

$EIFFEL_LOOP/test/data/txt/hexagrams.txt

L1_UC_STRING

An experimental string for testing class SUBSTRING_32_ARRAY and SUBSTRING_32_LIST

SHARED_HEXAGRAM_STRINGS

Shared instance of HEXAGRAM_STRINGS

SUBSTRING_32_ARRAY

Array of unicode substrings in order of occurence in source string.

Further Information

Click on class link to see notes.

SUBSTRING_32_LIST

A descendant of SUBSTRING_32_ARRAY that can be extended as a list

string/i-ching

HEXAGRAM_NAMES

Chinese names for I Ching hexagrams

support

MY_WET_CLASS

Example of a class that does not exemplify the DRY principle. Contrast 87 lines with MY_DRY_CLASS.

test-set

COPIED_SVG_DIRECTORY_DATA_TEST_SET

Test set using SVG button image found in directory: test/data/svg

Further Information

Click on class link to see notes.

THUNDERBIRD_EQA_TEST_SET

Test classes conforming to TB_ACCOUNT_READER