org.apache.tapestry.asset
Class TestUnprotectedAsset

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.asset.TestUnprotectedAsset

public class TestUnprotectedAsset
extends BaseComponentTestCase

Tests for unprotected resource contributions.

Author:
jkuhnert

Constructor Summary
TestUnprotectedAsset()
           
 
Method Summary
protected  org.apache.oro.text.regex.Pattern newPattern(String pattern)
          Creates Pattern objects for regexp matching.
 void test_Configured_Paths()
           
 void test_Path_Comparator()
          Tests new path ordering encoding.
 void test_Protected_Pattern_Match()
          Tests for regexp patterns describing unprotected resources.
 void test_Relative_Paths()
           
 void test_Resource_Link_Paths()
           
 void test_Resource_Matcher()
          Tests the implementation of ResourceMatcher.
 void test_Resource_Performance_Comparison()
          Tests and asserts that it doesn't take ~longer~ to work with undigested resources using patterns than normal digested resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUnprotectedAsset

public TestUnprotectedAsset()
Method Detail

test_Protected_Pattern_Match

public void test_Protected_Pattern_Match()
Tests for regexp patterns describing unprotected resources.


newPattern

protected org.apache.oro.text.regex.Pattern newPattern(String pattern)
Creates Pattern objects for regexp matching.

Parameters:
pattern -

test_Resource_Performance_Comparison

public void test_Resource_Performance_Comparison()
Tests and asserts that it doesn't take ~longer~ to work with undigested resources using patterns than normal digested resources.


test_Path_Comparator

public void test_Path_Comparator()
Tests new path ordering encoding.


test_Resource_Matcher

public void test_Resource_Matcher()
Tests the implementation of ResourceMatcher.


test_Configured_Paths

public void test_Configured_Paths()

test_Relative_Paths

public void test_Relative_Paths()

test_Resource_Link_Paths

public void test_Resource_Link_Paths()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.