~ubuntu-branches/ubuntu/oneiric/libcommons-validator-java/oneiric

« back to all changes in this revision

Viewing changes to src/test/org/apache/commons/validator/TestPair.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 13:35:53 UTC
  • Revision ID: james.westby@ubuntu.com-20041119133553-qtl7whjkjv9q1rbd
Tags: upstream-1.3
ImportĀ upstreamĀ versionĀ 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Header: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/TestPair.java,v 1.2 2004/02/21 17:10:30 rleland Exp $
 
3
 * $Revision: 1.2 $
 
4
 * $Date: 2004/02/21 17:10:30 $
 
5
 *
 
6
 * ====================================================================
 
7
 * Copyright 2001-2004 The Apache Software Foundation
 
8
 *
 
9
 * Licensed under the Apache License, Version 2.0 (the "License");
 
10
 * you may not use this file except in compliance with the License.
 
11
 * You may obtain a copy of the License at
 
12
 *
 
13
 *     http://www.apache.org/licenses/LICENSE-2.0
 
14
 *
 
15
 * Unless required by applicable law or agreed to in writing, software
 
16
 * distributed under the License is distributed on an "AS IS" BASIS,
 
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
18
 * See the License for the specific language governing permissions and
 
19
 * limitations under the License.
 
20
 */
 
21
 /**
 
22
  * Groups tests and expected results.
 
23
  */
 
24
 package org.apache.commons.validator;
 
25
 class TestPair {
 
26
      public String item;
 
27
      public boolean valid;
 
28
 
 
29
      public TestPair(String item, boolean valid) {
 
30
         this.item = item;
 
31
         this.valid = valid;  //Weather the individual part of url is valid.
 
32
      }
 
33
   }