Package org.apache.kato.tck.results.reporter

Examples of org.apache.kato.tck.results.reporter.VersionOSSortedProvider


public class TestVersionOSkeyProvider extends TestCase{
 
  public void testTwoLevelProvider1() {
   
    
    TCKResultMatrix matrix=new TCKResultMatrix(new VersionOSSortedProvider());
    SortKeyProvider provider=matrix.getKeyProvider();
    assertEquals(2,provider.keyDepth());
   
 
  }
View Full Code Here


 
  }
  public void testTwoLevelProvider2() {
   
    
    SortKeyProvider provider=new VersionOSSortedProvider();
    TestExecutionConfig config=new TestExecutionConfig();
    config.version="<unknown>";
    config.os="<unknown>";
   
    assertEquals(2,provider.keyDepth());
    assertEquals("<unknown>/<unknown>",provider.getkey(config));
   
 
  }
View Full Code Here

 
  }
  public void testTwoLevelProvider3() {
   
    
    SortKeyProvider provider=new VersionOSSortedProvider();
    TestExecutionConfig config=new TestExecutionConfig();
    config.os="Linux";
    config.version="1.5.0";
   
    assertEquals(2,provider.keyDepth());
    assertEquals("1.5.0/Linux",provider.getkey(config));
   
 
  }
View Full Code Here

TOP

Related Classes of org.apache.kato.tck.results.reporter.VersionOSSortedProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.