From directory-dev-return-1408-apmail-incubator-directory-dev-archive=incubator.apache.org@incubator.apache.org Wed Jun 02 17:40:27 2004
Return-Path:
Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org
Received: (qmail 9252 invoked from network); 2 Jun 2004 17:40:27 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur-2.apache.org with SMTP; 2 Jun 2004 17:40:27 -0000
Received: (qmail 94632 invoked by uid 500); 2 Jun 2004 17:40:35 -0000
Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org
Received: (qmail 94539 invoked by uid 500); 2 Jun 2004 17:40:35 -0000
Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe:
List-Subscribe:
List-Help:
List-Post:
List-Id: "Apache Directory Developers List"
Reply-To: "Apache Directory Developers List"
Delivered-To: mailing list directory-dev@incubator.apache.org
Received: (qmail 94481 invoked by uid 99); 2 Jun 2004 17:40:34 -0000
Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10)
by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 02 Jun 2004 10:40:34 -0700
Received: (qmail 7860 invoked from network); 2 Jun 2004 17:40:53 -0000
Received: from localhost (HELO nagoya) (127.0.0.1)
by nagoya.betaversion.org with SMTP; 2 Jun 2004 17:40:53 -0000
Message-ID: <931884160.1086198053710.JavaMail.apache@nagoya>
Date: Wed, 2 Jun 2004 10:40:53 -0700 (PDT)
From: jira@apache.org
To: directory-dev@incubator.apache.org
Subject: [jira] Commented: (DIRSNICKERS-61) A Snickers Testing Framework
In-Reply-To: <1873681314.1085813520919.JavaMail.apache@nagoya>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N
The following comment has been added to this issue:
Author: Wes McKean
Created: Wed, 2 Jun 2004 10:39 AM
Body:
I have quite a number of serialized PDUs that I created while I was doing some proof of concept stuff for NIO streams. I'll track these down and come up with a testing framework for SNICKERs.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/DIRSNICKERS-61?page=comments#action_35874
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/DIRSNICKERS-61
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DIRSNICKERS-61
Summary: A Snickers Testing Framework
Type: Wish
Status: Open
Priority: Major
Project: Directory Snickers
Components:
General
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Created: Fri, 28 May 2004 11:50 PM
Updated: Wed, 2 Jun 2004 10:39 AM
Due: Sun, 1 Aug 2004 12:00 AM
Description:
At the present moment the only thing really holding us in the incubator is the dependency on SNACC4J. Right now we don't really need to depend on it if we had a testing framework in hand where static serialized PDU's with known values can be tested with Snickers. Even when Snickers is fully functional a testing framework will still be required. We can't keep SNACC4J lying around even if it is just there to test for correct Snickers operation.
To solve this problem we can create a special test case data file. These test cases can contain a serialized copy of the Java object representing the Message and a copy of the encoded PDU. Bi-directional transformations can be performed and verified to test decoders and encoders this way. All that is needed is a utility for generating these test case data files. An extention to JUnit can be written to test correct encoding and decoding to and from the target objects. These tests can also be used test the performance of encoders and decoders.
We could create a simple XML based test case data file that contains base64 encoded raw data elements like so:
12345
[base64encoded]
[base64encoded]
The base64 encoded data can even be split into separate lines to keep the file sort of human readable. We can build a UI to generate these files that uses SNACC4J and the project can reside on SF.net. Once we have the set of test case data files we need snickers never needs to look back at SNACC4J.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira