Java 类org.apache.zookeeper.version.util.VerGen 实例源码

项目:fuck_zookeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:fuck_zookeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:https-github.com-apache-zookeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:https-github.com-apache-zookeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, "1", "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:ZooKeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:ZooKeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, "1", "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:StreamProcessingInfrastructure    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:StreamProcessingInfrastructure    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:bigstreams    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:bigstreams    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:bigstreams    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:bigstreams    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:zookeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:zookeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:SecureKeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:SecureKeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:SecureKeeper    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:SecureKeeper    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:StreamBench    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:StreamBench    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:LoadBalanced_zk    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:LoadBalanced_zk    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:LoadBalanced_zk    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:LoadBalanced_zk    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:zookeeper.dsc    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:zookeeper.dsc    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}
项目:zookeeper-pkg    文件:VerGenTest.java   
@Test
public void testParser() {
    VerGen.Version v = VerGen.parseVersionString(input);
    Assert.assertEquals(expected[0], v.maj);
    Assert.assertEquals(expected[1], v.min);
    Assert.assertEquals(expected[2], v.micro);
    Assert.assertEquals(expected[3], v.qualifier);
}
项目:zookeeper-pkg    文件:VerGenTest.java   
@Test
public void testGenFile() throws Exception {
    VerGen.Version v = VerGen.parseVersionString(input);
    File outputDir = ClientBase.createTmpDir();
    VerGen.generateFile(outputDir, v, 1, "Nov1");
    ClientBase.recursiveDelete(outputDir);
}