bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [GSoC PATCH 00/11] Refactor Test Suite


From: Zihang Chen
Subject: [Bug-wget] [GSoC PATCH 00/11] Refactor Test Suite
Date: Fri, 14 Mar 2014 21:18:16 +0800

This patch set is for test suite refactoring. For detail,
see commit log and ChangeLog.

Zihang Chen (11):
  create package misc, move ColourTerm.py to misc
  from WgetTest.py move WgetFile to misc
  fix a typo in Test-Proto.py
  create package exc and move TestFailed to exc
  create package conf where rules and hooks are put
  move server classes to package server.protocol
  create package test for test case classes
  refactor a lot, see ChangeLog for detail
  update README
  ensure line feed at EOF and one blank line between methods
  in conf, rename register to rule and hook

 testenv/ChangeLog                             | 158 +++++++++
 testenv/ColourTerm.py                         |  23 --
 testenv/FTPServer.py                          | 162 ---------
 testenv/HTTPServer.py                         | 467 --------------------------
 testenv/README                                |  81 +++--
 testenv/Test--https.py                        |   6 +-
 testenv/Test--spider-r.py                     |   3 +-
 testenv/Test-Content-disposition-2.py         |   3 +-
 testenv/Test-Content-disposition.py           |   3 +-
 testenv/Test-Head.py                          |   3 +-
 testenv/Test-O.py                             |   3 +-
 testenv/Test-Parallel-Proto.py                |   6 +-
 testenv/Test-Post.py                          |   3 +-
 testenv/Test-Proto.py                         |   6 +-
 testenv/Test-auth-basic-fail.py               |   3 +-
 testenv/Test-auth-basic.py                    |   3 +-
 testenv/Test-auth-both.py                     |   3 +-
 testenv/Test-auth-digest.py                   |   3 +-
 testenv/Test-auth-no-challenge-url.py         |   3 +-
 testenv/Test-auth-no-challenge.py             |   3 +-
 testenv/Test-auth-retcode.py                  |   3 +-
 testenv/Test-auth-with-content-disposition.py |   3 +-
 testenv/Test-c-full.py                        |   3 +-
 testenv/Test-cookie-401.py                    |   3 +-
 testenv/Test-cookie-domain-mismatch.py        |   3 +-
 testenv/Test-cookie-expires.py                |   3 +-
 testenv/Test-cookie.py                        |   3 +-
 testenv/WgetTest.py                           | 337 -------------------
 testenv/conf/__init__.py                      |  49 +++
 testenv/conf/authentication.py                |   9 +
 testenv/conf/expect_header.py                 |   7 +
 testenv/conf/expected_files.py                |  42 +++
 testenv/conf/expected_ret_code.py             |  16 +
 testenv/conf/files_crawled.py                 |  18 +
 testenv/conf/hook_sample.py                   |  15 +
 testenv/conf/local_files.py                   |  12 +
 testenv/conf/reject_header.py                 |   7 +
 testenv/conf/response.py                      |   7 +
 testenv/conf/rule_sample.py                   |  10 +
 testenv/conf/send_header.py                   |   7 +
 testenv/conf/server_conf.py                   |  11 +
 testenv/conf/server_files.py                  |  15 +
 testenv/conf/urls.py                          |  10 +
 testenv/conf/wget_commands.py                 |  10 +
 testenv/exc/__init__.py                       |   0
 testenv/exc/test_failed.py                    |   7 +
 testenv/misc/__init__.py                      |   0
 testenv/misc/colour_terminal.py               |  29 ++
 testenv/misc/constants.py                     |   3 +
 testenv/misc/wget_file.py                     |  16 +
 testenv/server/__init__.py                    |   0
 testenv/server/ftp/__init__.py                |   0
 testenv/server/ftp/ftp_server.py              | 162 +++++++++
 testenv/server/http/__init__.py               |   0
 testenv/server/http/http_server.py            | 467 ++++++++++++++++++++++++++
 testenv/test/__init__.py                      |   0
 testenv/test/base_test.py                     | 223 ++++++++++++
 testenv/test/http_test.py                     |  45 +++
 58 files changed, 1465 insertions(+), 1035 deletions(-)
 delete mode 100644 testenv/ColourTerm.py
 delete mode 100644 testenv/FTPServer.py
 delete mode 100644 testenv/HTTPServer.py
 delete mode 100644 testenv/WgetTest.py
 create mode 100644 testenv/conf/__init__.py
 create mode 100644 testenv/conf/authentication.py
 create mode 100644 testenv/conf/expect_header.py
 create mode 100644 testenv/conf/expected_files.py
 create mode 100644 testenv/conf/expected_ret_code.py
 create mode 100644 testenv/conf/files_crawled.py
 create mode 100644 testenv/conf/hook_sample.py
 create mode 100644 testenv/conf/local_files.py
 create mode 100644 testenv/conf/reject_header.py
 create mode 100644 testenv/conf/response.py
 create mode 100644 testenv/conf/rule_sample.py
 create mode 100644 testenv/conf/send_header.py
 create mode 100644 testenv/conf/server_conf.py
 create mode 100644 testenv/conf/server_files.py
 create mode 100644 testenv/conf/urls.py
 create mode 100644 testenv/conf/wget_commands.py
 create mode 100644 testenv/exc/__init__.py
 create mode 100644 testenv/exc/test_failed.py
 create mode 100644 testenv/misc/__init__.py
 create mode 100644 testenv/misc/colour_terminal.py
 create mode 100644 testenv/misc/constants.py
 create mode 100644 testenv/misc/wget_file.py
 create mode 100644 testenv/server/__init__.py
 create mode 100644 testenv/server/ftp/__init__.py
 create mode 100644 testenv/server/ftp/ftp_server.py
 create mode 100644 testenv/server/http/__init__.py
 create mode 100644 testenv/server/http/http_server.py
 create mode 100644 testenv/test/__init__.py
 create mode 100644 testenv/test/base_test.py
 create mode 100644 testenv/test/http_test.py

-- 
1.8.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]